
Description
context7-mcp is an agent skill from Upstash's Context7 project that makes an assistant fetch current documentation for libraries, frameworks and APIs instead of relying on what it learned in training. It activates when a user asks a setup or configuration question, requests code that uses a library, asks for an API reference, or mentions a framework such as React, Vue, Svelte, Express or Tailwind. The fetching works in steps. The first step resolves the library ID, calling resolve-library-id with the library name pulled from the question and a query describing what to look up, since the query improves the ranking of results. The skill then fetches the documentation for that library. It is aimed at developers who ask an assistant about a fast-changing library, where an out-of-date answer can cost time. Because the documentation comes from a service, the assistant should still check the code it writes against the library's own documentation for anything critical. The skill passes Gen Agent Trust Hub, Socket and Snyk on skills.sh, and it has about 5,700 installs. Install it with npx skills add https://github.com/upstash/context7 --skill context7-mcp.…
Highlights
- Fetches current library documentation instead of training memory
- Activates for setup questions, library code and API references
- Resolves the library ID first, using the query to rank results
- Covers React, Vue, Svelte, Express, Tailwind and similar frameworks
Ratings & Reviews
No ratings yet
Be the first to rate context7-mcp.
People also visit

code-documentation
The user requests to generate, create, or improve documentation for code, APIs

context7-cli
Use the ctx7 CLI to fetch library documentation and configure Context7 MCP

documentation-lookup
About libraries, frameworks, API references, or needs code examples

understand-onboard
Generate an onboarding guide for new team members joining a project
context7-mcp FAQ
When does it activate?
When you ask about libraries or frameworks, need code that uses them, ask for an API reference, or ask a setup question.
How does it find the documentation?
It first resolves the library ID with resolve-library-id, passing the library name and a query for the lookup.
Is the documentation always right?
Check critical code against the library's own docs, since the answer comes from a documentation service.
How do I install it?
Run npx skills add https://github.com/upstash/context7 --skill context7-mcp.
Which security audits does it have?
On skills.sh, Gen Agent Trust Hub, Socket and Snyk all pass.
What are the best context7-mcp alternatives?
Popular alternatives to context7-mcp include code-documentation, context7-cli and documentation-lookup. See all context7-mcp alternatives








