Context7 logo

Context7 MCP Server

Context7 by Upstash pulls version-specific, up-to-date library documentation and code examples straight into the prompt so the AI writes code against the real API. It is an official, vendor-maintained server. Works in Claude, Cursor, VS Code and Claude Code.

Visit Context7
Server URLhttps://mcp.context7.com/mcp
Context7

What Context7 can do

Context7 by Upstash pulls version-specific, up-to-date library documentation, code examples straight into the prompt so the AI writes code against the real API

Tools Context7 exposes

2 tools · from docs

The exact tools this MCP server gives your AI.

resolve-library-idFind a library's Context7 IDread
get-library-docsFetch up-to-date docs for a libraryread

Try asking Claude

Example prompts once Context7 is connected.

Get current docs for a library version while coding.
Avoid outdated API suggestions.

Set up Context7

Pick your client. Every snippet is copy-ready.

Settings → Connectors → Add custom connector, paste https://mcp.context7.com/mcp, authenticate with API Key.

Permissions & safety

Read-onlyAuth: API Key

Runs remotely, so requests and returned data pass through context7.com.

This server is read-only, so it cannot change your data.

Troubleshooting

Authentication fails or the connector shows disconnected
Re-run the connect flow. Check your API key is valid and has the right scopes.
401 / 403 errors on a tool call
The account lacks the scope that tool needs. Reconnect and grant the missing permission.
A tool returns nothing for your Context7 data
Confirm the account you authorised actually contains that data, and that your plan includes it.

FAQ

Open Claude, go to Settings, Connectors, Add custom connector, and paste https://mcp.context7.com/mcp. Authenticate with API Key and it is ready in any chat.

More Documentation & Context MCP servers

Context7 compared

A
Written by Ari · Founder

Running a digital business since 2019 and a local SEO agency, Ari built and shipped GBPAudit.AI as a Claude connector. Every server here is connected and its tools read before it's listed.

Something wrong with this listing? Report it.