Context7 MCP
MCP Verified ActiveContext7 monorepo - Documentation tools and SDKs
To equip AI coding assistants with current and accurate documentation, code examples, and API references, thereby improving code generation accuracy and reducing reliance on outdated training data.
Features
- Fetches up-to-date, version-specific library documentation
- Provides context-aware code examples
- Supports both CLI and MCP server modes
- Integrates with AI coding assistants via MCP protocol
- Resolves general library names to specific IDs
Use Cases
- Getting current API references for a library
- Generating code snippets based on recent library versions
- Resolving a library's canonical ID for precise documentation lookup
- Enriching AI agent context with accurate technical documentation
Non-Goals
- Providing documentation for non-code related topics
- Replacing the need for developers to read official library changelogs for breaking changes
- Executing code or performing actions beyond documentation retrieval
Workflow
- Agent identifies need for library documentation
- Agent invokes MCP tool 'resolve-library-id' or 'query-docs'
- MCP server fetches relevant, up-to-date documentation
- Server returns documentation to the agent
- Agent uses documentation for code generation or explanation
Practices
- Documentation access
- Code generation assistance
Prerequisites
- API key recommended for higher rate limits
- MCP client configured with server URL and API key
Installation
claude mcp add context7-mcp -- npx -y @upstash/context7-mcpQuality Score
VerifiedSimilar Extensions
Js Reverse Mcp
100JS reverse engineering MCP server with agent-first tool design and built-in anti-detection. 为 AI Agent 设计的 JS 逆向 MCP Server,内置反检测。
Spec Workflow MCP
100MCP server for spec-driven development workflow with real-time web dashboard
Serena MCP
100A powerful MCP toolkit for coding, providing semantic retrieval and editing capabilities - the IDE for your agent
Neon MCP Server
100MCP server for interacting with Neon Management API and databases
Mongodb Mcp Server
100MongoDB Model Context Protocol Server
@web3auth/mcp Server
99MCP server for MetaMask Embedded Wallets (Web3Auth) - helps AI coding agents integrate Web3Auth SDKs