Skip to main content
MCP server CX Codex

Context7 · geobio — Claude Code MCP server: what it does, how to install

Context7 puts version-aware library documentation and code examples into an agent’s context. Use it when API details need a current reference.

no license 1,447 installs updated 2025-05-30

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http context7 https://context7--geobio.run.tools
Open on GitHub

What Context7 does

Context7 connects to an MCP client through two tools. resolve-library-id matches a package or product name with a Context7 library ID, while get-library-docs retrieves documentation for that library. This gives the coding agent concrete API material to use in its answer.

The lookup step comes first unless the prompt already contains an ID such as /org/project or /org/project/version. The remote server is https://context7--geobio.run.tools. A valid library ID is required before get-library-docs can fetch the requested documentation.

What it helps with

  • look up the Context7 ID for a package
  • fetch documentation for a specific library version
  • give an agent current API examples
  • check code against a library’s documented methods

Example prompts for the agent

  • Use Context7 to check the current API for react before changing this component.
  • Resolve the library ID for postgres, then show the documented way to run this query.
  • Review these calls against /org/project/version documentation and fix the API usage.

How to install Context7

Platform CLI: remote server

claude mcp add --transport http context7 https://context7--geobio.run.tools

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

How do I install Context7 in Claude Code?

Run claude mcp add --transport http context7 https://context7--geobio.run.tools. Claude Code will add the server as context7.

What does Context7 do?

It resolves a package or product to a library ID and fetches its documentation for the agent. The returned context can include version-specific API details and examples.

Does resolve-library-id have to run first?

Yes, unless the prompt already supplies an ID in the form /org/project or /org/project/version. Call it before get-library-docs.

Similar MCP servers

All MCP servers for Writing and docs →

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 docker Context7 injects targeted framework documentation and working code snippets directly into your LLM prompt. CX Codex +1 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-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 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

More in the catalog

Project sponsors

Companies that keep this analytics open