Up-to-date docs for AI agents
open coreMITfreeMCP
Context7, from Upstash, gives coding agents current, version-specific documentation and code examples for libraries, pulled from the source, so they stop using outdated APIs from training data. Agents reach it through a remote MCP server (mcp.context7.com/mcp) or a CLI plus skills; you add 'use context7' to a prompt or let the agent call it. A free API key raises rate limits; paid plans add private repositories.
Problems it solves
- Claude keeps suggesting a Next.js API that was removed two versions ago
- my coding agent hallucinates functions that don't exist in the library
- feed the agent the docs for the exact version of the package I'm using
- code examples from the AI are based on year-old training data
- give Cursor access to up-to-date library documentation
- the agent doesn't know about a library released after its cutoff
- let the agent look up docs for our private repos
- one tool that works for docs of most popular frameworks
Features
- version-specific library docs and code examples
- remote MCP server
- CLI + skills mode
- setup command for Cursor, Claude Code, OpenCode
- private repos on paid plans
Capabilities
| Agents can report problems | plan not known |
|---|---|
| Has an API | plan not known |
| Has a command line tool | plan not known |
| Has an MCP server | plan not known |
Alternatives
The same job
These do what Context7 does.
- GitMCP Put an end to code hallucinations! GitMCP is a free, open-source, remote MCP server for any GitHub project
- DeepWiki AI-generated documentation and Q&A for public GitHub repositories, with a free MCP server
- llms.txt The /llms.txt file, helping language models use your website
- Repomix Pack a whole repository into one AI-friendly file
