Upstash

Context7

Current, version-specific library documentation in every prompt.

Context7 is designed for coding questions where model training data may be stale. It resolves a library to the correct documentation source and returns relevant, version-aware examples that an agent can use while implementing or debugging code.

Activestdio / Streamable HTTPAuth: Optional2 tools

Step-by-step walkthrough: Install Context7 MCP for up-to-date library docs.

Tools

Selected capabilities exposed to a connected AI client.

2 tools
resolve-library-id

Resolve an input to the correct canonical resource identifier.

query-docs

Search or retrieve current product documentation.

Setup and access

Check the connection method, access level, and compatible clients before enabling the server.

npx -y @upstash/context7-mcp
Transport
stdio / Streamable HTTP
Authentication
Optional
Registry status
Active
Last updated
Jul 1, 2026

Connects to versioned documentation for popular software libraries. Use the least-privileged credentials and access scope that support your workflow.

Good for

  • Look up current APIs while generating code
  • Retrieve examples for a specific library version
  • Reduce outdated package recommendations and signatures

FAQ

What does Context7 MCP do?
Context7 is designed for coding questions where model training data may be stale. It resolves a library to the correct documentation source and returns relevant, version-aware examples that an agent can use while implementing or debugging code.
How do I connect Context7 MCP?
Add it to your MCP client over stdio / Streamable HTTP using: npx -y @upstash/context7-mcp
Does Context7 MCP require authentication?
Often optional for basic use; hosted or higher-limit modes may still ask for an account or API key.
Who maintains Context7 MCP?
Upstash publishes this implementation. Check the source repo for maintainers and releases.
Where is the Context7 source?
Tools highlighted here include resolve-library-id, query-docs. Source and updates: https://github.com/upstash/context7