AgentIndex icon
AgentIndex
ToolsCategoriesTrendingNewCompare
Submit Tool
Home/
Code Assistant/
Context7
Context7 logo

Context7

Active·★ 56.4k·MIT·Updated 2026-05-26
★ Most Popular★ Trending★ Essential

MCP Server that provides up-to-date code documentation for LLMs and AI code editors.

Context7 is an MCP server that injects up-to-date, version-specific library documentation directly into LLM prompts. Add "use context7" to any coding prompt and it fetches current docs for the library you're working with, eliminating hallucinated APIs and outdated code examples. Works with Claude Desktop, Cursor, Windsurf, and any MCP-compatible editor.

#LLM#Code Generation#API Documentation#Developer Tools#Model Context Protocol#Coding
$ Install
$ npx -y @upstash/context7-mcp
↗ Visit site★ GitHub
01

Features

01Fetches current, version-specific library documentation on demand
02Add "use context7" to any prompt — zero additional configuration
03Covers thousands of popular libraries with up-to-date docs
04Works as a hosted MCP server (no local install required)
05Integrates with Claude Desktop, Cursor, Windsurf, and VS Code
02

Compatibility

Claude Desktop
Native
Verified via docs
Cursor
Native
Verified via docs
Windsurf
Supported
Verified via docs
VS Code
Supported
Verified via docs
03

Quick start

1
$ npx -y @upstash/context7-mcp
04

Use cases

↳Preventing LLMs from hallucinating deprecated or non-existent API methods
↳Getting accurate code examples for the exact library version in use
↳Keeping AI coding assistants up-to-date across fast-moving frameworks
05

Alternatives

awesome-cursorrules logo
awesome-cursorrules★ 39.8k
📄 Configuration files that enhance Cursor AI editor experience with custom rules and behaviors
vs →
learn-claude-code logo
learn-claude-code★ 63.6k
Bash is all You need - Write a nano Claude Code 0 - 1
vs →
ragflow logo
ragflow★ 81.5k
RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs
vs →
GitHub MCP Server logo
GitHub MCP Server★ 30.3k
GitHub's official MCP Server. Allows AI agents to interact directly with your GitHub repositories (read files, search code, issues).
vs →
n8n logo
n8n★ 190.2k
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
vs →
Brave Search MCP logo
Brave Search MCP★ 86.5k
Allow your AI Agent to search the real-time internet using Brave Search API. Essential for getting up-to-date information.
vs →
Microsoft AutoGen logo
Microsoft AutoGen★ 58.5k
A framework that enables the development of LLM applications using multiple agents that can converse with each other to solve tasks.
vs →
CrewAI logo
CrewAI★ 52.4k
Framework for orchestrating role-playing, autonomous AI agents. By working together, your Crew can tackle complex tasks.
vs →
See all alternatives →

Related searches

Context7 AlternativesBest Code Assistant Tools 2026Open Source Code AssistantContext7 TutorialContext7 Vs CompetitorsLLMCode GenerationAPI Documentation

Comments

Log in to leave a comment
  • J
    Jesse HarrisMay 15, 2026

    The date integration saves writing a lot of boilerplate. Good documentation, reduces onboarding time.

  • E
    Ellis LeeMay 13, 2026

    Setup was straightforward, robust config and running in minutes. The robust performance is impressive for an open-source tool.

  • R
    Riley NguyenMay 7, 2026

    Wrote about Context7 in my developer tools newsletter — it's the MCP server I recommend first to anyone doing LLM-assisted coding.

  • C
    Casey ClarkMay 6, 2026

    for keeping LLMs grounded in current API docs this is the most practical MCP server i've added to my setup

  • R
    Riley ZhangMay 5, 2026

    Was tired of AI giving me outdated code examples. This fixes that.

  • Riley Chen
    Riley ChenApr 23, 2026

    The editors coverage is surprisingly complete. The production-grade performance is impressive for an open-source tool.

  • P
    Parker PatelApr 2, 2026

    Used this for reliable automation — reliable under load. Works reliably in production environments.

  • P
    Phoenix NguyenMar 13, 2026

    Setup was straightforward, solid config and running in minutes. Integrates well with existing editors setups.

  • Avery Chen
    Avery ChenFeb 22, 2026

    works well alongside other MCP servers. no conflicts, clean separation of concerns

  • S
    Shawn ChenJan 28, 2026

    Context7 solved a real problem — LLMs hallucinating API methods that were deprecated 2 versions ago. Current docs in context, current answers.

  • J
    Justice MartinezJan 8, 2026

    Integrates cleanly with Claude Desktop and other MCP-compatible editors. The latency on doc retrieval is low enough that it doesn't interrupt flow.

  • C
    Casey ChenDec 29, 2025

    Cut our LLM-assisted coding error rate noticeably after adding Context7 to our Claude setup. The up-to-date documentation retrieval is the key.

  • R
    Robin BrownDec 24, 2025

    just add 'use context7' to any coding prompt and it pulls the right docs. zero configuration for common libraries

  • S
    Sage ZhangDec 4, 2025

    The library coverage is broad and keeps expanding. Found support for most of the packages in our stack.

On this page
01Features02Compatibility03Quick start04Use cases05Alternatives
Stats
GitHub Stars★ 56.4k
Last commit4d ago
StatusActive
LicenseMIT
CategoryCode Assistant
Trend (30d)
+2.2k↑ 4.9%
Links
Documentation↗Discussion↗Issues↗Releases↗

Deploy on DigitalOcean — Get $200 Free Credit

Ad
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
QYSGitHubBuy me a coffee ☕

Browse by Category

Code AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.