MCP·3EC80D official server
U

context7

By upstash·Visit Source
MCP for fetching up-to-date docs into LLM prompts
April 25, 2025
Today
5 Clicks
About context7

MCP for fetching up-to-date docs into LLM prompts. context7 is a Model Context Protocol (MCP) server maintained by upstash. It connects to MCP-compatible clients such as Claude Desktop, Cursor, Cline, and other agents that speak the protocol. It exposes 2 tools, including resolve-library-id and get-library-docs, that an agent can call directly. It is categorized under AI/Assistant, Tool/Documentation and Development/IDE. context7 is an official MCP server.

What is this MCP

Context7 MCP is a Model Context Protocol that fetches up-to-date, version-specific documentation and code examples directly into your LLM's context window to prevent outdated or hallucinated information.

How to use this MCP

Simply add use context7 to your prompt in supported clients like Cursor, VS Code, or Claude Desktop. The MCP automatically retrieves relevant documentation and injects it into the LLM's context.

What this MCP can be used for

Context7 is ideal for developers using AI assistants to generate code, as it ensures the LLM has access to current documentation for libraries, frameworks, and APIs, reducing errors from outdated training data.

Repository Info
Stars:
59201
Forks:
2801
Watchers:
59201
Last Updated: Today

AIMCP authority

DR and traffic signal for the AIMCP public domain.

FAQ

Frequently asked questions

What is the context7 MCP server?

context7 is a Model Context Protocol server from upstash. It lets MCP-compatible AI clients call its tools over a standard interface, so agents like Claude, Cursor, and Cline can use it without custom integration.

How do I connect context7 to my AI client?

Add context7 to your client's MCP configuration using the stdio or SSE connection shown in the usage examples on this page, then restart the client to load the server.

What tools does context7 provide?

context7 provides 2 tools: resolve-library-id and get-library-docs.

Is context7 free to use?

context7 is listed on AIMCP for free. Any API keys or accounts required by the underlying service are set by its provider.

Sponsored

Vernclaw Plugins for OpenClaw

Ready-to-use connectors for SEO data, social reading & content generation. Pay-as-you-go credits with audit logs.