Context7 · docker — Claude Code MCP server: what it does
Context7 injects targeted framework documentation and working code snippets directly into your LLM prompt.
no license updated 2026-10-29
Open on GitHubWhat Context7 does
Context7 by docker supplies version-specific documentation and functional snippets for frameworks directly into model prompts. This prevents the assistant from hallucinating non-existent methods or referencing deprecated calls.
The tool fetches practical implementation examples alongside technical specifications for the selected stack. It integrates across MCP environments, including Claude Code, Cursor, Codex, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, and Gemini CLI.
Relying on exact library releases prevents runtime breakages when packages introduce breaking changes between versions.
What it helps with
- fetch version-targeted framework documentation into context
- provide accurate code samples for specific library releases
- prevent outdated API calls in model responses
Example prompts for the agent
- Fetch Next.js 14 routing documentation with code examples
- Show current Supabase authentication methods for Node.js
How to install Context7
Install
The MCP registry has no launch command for it: see the repository README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Context7
What does the Context7 MCP server do?
Context7 brings targeted library specifications and practical code snippets straight into model prompts.
Which platforms support Context7?
Context7 supports Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, and Gemini CLI.
Why use Context7 during development?
It feeds targeted API references and examples into the context window, preventing bugs caused by outdated training data.
Similar MCP servers
All MCP servers for Agent setup: memory, context, orchestration →Context7 by other authors comes first.