Context7 Platform -- Up-to-date docs for AI agents
About Context7
Context7 is an MCP server from Upstash that gives AI coding tools current documentation and code examples for the libraries a developer is using. Language models are trained on data that stops at a cutoff date, so they often suggest APIs that have changed or no longer exist. Context7 fetches the right version of the docs at the moment you ask, and puts it into the prompt.
It works through two tools: one converts a library name into an identifier, and the other retrieves and searches the documentation for that library. Developers add it to editors and agents such as Claude Code with a single command, run it with Node.js, or connect to a hosted endpoint, and an optional API key raises limits.
The project is open source under the MIT licence and is one of the most widely used MCP servers. It is most useful for fast-moving frameworks where the training data of a model is likely to be out of date.
Key features
- Fetches current, version-specific library documentation
- Reduces made-up or outdated API suggestions
- Resolve-library and query-docs tools
- Works with MCP clients such as Claude Code and other editors
- Runs locally with Node.js or through a hosted endpoint
- Optional API key
- MIT licence
Links
All content and agents from Context7
Frequently asked questions about Context7
- What is Context7?
- Context7 Platform -- Up-to-date docs for AI agents. It is listed on botshub under other agents.
- Is Context7 free or open source?
- Context7 is tagged as open source on botshub. Check the official site for current terms.
- What can Context7 do?
- Key features include fetches current, version-specific library documentation, reduces made-up or outdated API suggestions, resolve-library and query-docs tools, works with MCP clients such as Claude Code and other editors and runs locally with Node.js or through a hosted endpoint.
- What are alternatives to Context7?
- Other other agents on botshub include Zep, Agent4Rec, Busabase and ChemCrow. See all alternatives to Context7.
