MCP·136865
U

context7-mcp

By upstash·Visit Source
Fetch up-to-date docs for LLM prompts
April 17, 2025
1 month ago
4 Clicks
About context7-mcp

Fetch up-to-date docs for LLM prompts. context7-mcp 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/LLM and Tool/Documentation.

What is this MCP

Context7 MCP is a Model Context Protocol that fetches current documentation and code examples for libraries directly into LLM prompts, ensuring up-to-date and accurate responses.

How to use this MCP

Add use context7 to your questions in supported clients like Cursor, Windsurf or VSCode. The MCP will automatically fetch relevant documentation for the libraries mentioned in your query.

What this MCP can be used for

Eliminating outdated information and hallucinations in LLM responses by providing version-specific documentation and working code examples for libraries like Next.js, React Query, and NextAuth.

Repository Info
Stars:
57009
Forks:
2694
Watchers:
57009
Last Updated: 1 month ago

AIMCP authority

DR and traffic signal for the AIMCP public domain.

FAQ

Frequently asked questions

What is the context7-mcp MCP server?

context7-mcp 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-mcp to my AI client?

Add context7-mcp 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-mcp provide?

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

Is context7-mcp free to use?

context7-mcp 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.