MCP·136865
U

context7-mcp

By upstash·Visit Source
获取LLM提示的最新文档
2025年4月17日
1 month ago
5 Clicks
About context7-mcp

获取LLM提示的最新文档. 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.

什么是Context7 MCP

Context7 MCP(模型上下文协议)是一种直接将最新库文档和代码示例获取到LLM提示中的协议,确保响应内容既最新又准确。

如何使用Context7 MCP

在支持的客户端(如Cursor、Windsurf或VSCode)中向问题添加use context7。该协议会自动获取查询中提到的库的相关文档。

Context7 MCP的用途

通过提供特定版本的文档和可运行的代码示例(如Next.js、React Query和NextAuth等库),消除LLM响应中的过时信息和幻觉。

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.