Context7
Provides coding agents with current library documentation and version-aware code examples.
Project overview
Provides coding agents with current library documentation and version-aware code examples. Its core areas include Library documentation, Versioned examples, Coding context. Start with the repository documentation and the smallest practical scope before adopting it broadly.
Core capabilities
Library documentation
Exposes Library documentation to compatible clients through MCP tools.
Versioned examples
Exposes Versioned examples to compatible clients through MCP tools.
Coding context
Exposes Coding context to compatible clients through MCP tools.
Setup and connection
This usage path is based on the current public documentation for Context7. Complete the steps in order before using it from your agent.
Let an AI Agent install it
Send this prompt to Codex, Claude Code, or another AI agent that can work with your local environment.
Help me install this MCP: Context7
Project URL: https://github.com/upstash/context7
Read the README and installation files first, confirm the current environment and target directory, then follow the project's documented installation method. Run a minimal verification task afterward and report the install location, steps, and result. Ask before requesting credentials, additional permissions, overwriting files, or performing risky actions.- Prepare a compatible agent or runtime
- Confirm access to the local files or services required by the project
Project URL: https://github.com/upstash/context7/tree/master/packages/mcp
Copy the URL and follow the steps below to complete setup.- 1Apply the configuration
Use the command or configuration above to add the resource to the current agent environment.
- 2Complete required setup
Complete path, permission, or connection settings for the current runtime.
- 3Run a minimal task
Run a minimal task in the agent. If the resource is recognized and returns the documented type of result, the setup is active.
Run a minimal task in the agent. If the resource is recognized and returns the documented type of result, the setup is active.
Use cases
You need to connect an AI agent to tools, browsers, code, or data through MCP
Your current task needs Library documentation or Versioned examples
Assessment
Why it may be useful
- You need to connect an AI agent to tools, browsers, code, or data through MCP
- Your current task needs Library documentation or Versioned examples
What to know first
- Your agent does not support MCP or you cannot provide the required environment
- You want to use it in production without reading the repository documentation or reviewing permissions
README
Context7
Overview
Provides coding agents with current library documentation and version-aware code examples. Up-to-date code documentation for LLMs and AI code editors.
Getting started
- This usage path is based on the current public documentation for Context7. Complete the steps in order before using it from your agent.
- Project focus: Provides coding agents with current library documentation and version-aware code examples.
- Published characteristics: Remote and local, MCP, Documentation retrieval.
- Run a minimal task in the agent. If the resource is recognized and returns the documented type of result, the setup is active.
Configuration
Project URL: https://github.com/upstash/context7/tree/master/packages/mcp
Copy the URL and follow the steps below to complete setup.Read the complete README on GitHub →