Skip to main content
MCP server CX Codex

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 GitHub

What 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.

Context7 upstash Context7 brings current, version-aware library docs and code examples into an AI coding agent. Use it when generated answers rely on stale or invented APIs. CX Codex +1 5,563installs Context7 geobio Context7 puts version-aware library documentation and code examples into an agent’s context. Use it when API details need a current reference. CX Codex +1 1,447installs context7-cli upstash The context7-cli skill teaches your agent to pull current library documentation through the ctx7 CLI and wire up Context7 MCP for the editor. CX Codex +1 8,900installs context7-mcp upstash context7-mcp is a Claude Code skill that retrieves current library and framework docs. It activates for setup questions, API lookups, and requests for code examples. CX Codex +1 7,200installs setup-context7-mcp NeoLabHQ The setup-context7-mcp skill walks the agent through setting up the Context7 MCP server and writes the library IDs into CLAUDE.md so code follows current docs. CX Codex +1 1,200installs context7-auto-research davila7 The context7-auto-research skill retrieves current library and framework references through the Context7 API. Use it when a Claude Code answer needs documentation for React, Next.js, Prisma, or another library. CX Codex +1 709installs context7-docs rohitg00 context7-docs pulls up-to-date library documentation through Context7 into a Claude Code session. Handy when the model starts inventing APIs or sticks to outdated signatures. ★ 2,858repo stars Context7-Expert official github The Context7-Expert subagent checks library documentation through Context7 and uses current syntax in its answers. Use it for framework and package questions. CX Codex +1 ★ 41,430repo stars

More in the catalog

Project sponsors

Companies that keep this analytics open