Context7 Clone
@Suprjack
关于 Context7 Clone
An MCP server for providing up-to-date documentation for LLMs and AI code editors
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Context7 Clone?
Context7 Clone is an MCP (Model Context Protocol) server that provides up-to-date documentation for popular libraries and frameworks to LLMs and AI code editors. It is inspired by Context7 and integrates with AI coding assistants via the Model Context Protocol.
How to use Context7 Clone?
Install Node.js >=14.0.0, clone the repository, run npm install, npm build, then npm start. The web interface is available at http://localhost:3000. For integration with AI assistants like Cursor or Claude Desktop, add the server configuration to their MCP JSON config files. Use the provided MCP tools (resolve-library-id, get-library-docs) to resolve library names and fetch documentation.
Key features of Context7 Clone
- Provides up-to-date documentation for popular libraries and frameworks
- Integrates with AI coding assistants via the Model Context Protocol
- Supports topic-specific documentation retrieval
- Allows token limiting to fit within context windows
- Includes a simple web interface for testing
Use cases of Context7 Clone
- Get focused documentation for a library topic (e.g., "routing", "hooks")
- Integrate real-time API docs into Cursor or Claude Desktop
- Resolve a general library name into a Context7-compatible library ID
- Fetch docs with a controlled token budget for LLM context windows
FAQ from Context7 Clone
What are the runtime requirements?
Node.js version 14.0.0 or higher is required.
How do I start the server after installation?
Run npm start after building the project. The server will listen on http://localhost:3000.
What MCP tools does Context7 Clone provide?
It provides two tools: resolve-library-id (to convert a library name to a Context7-compatible ID) and get-library-docs (to fetch documentation for a library given that ID, with optional topic and token limit).
How can I use this with Cursor or Claude Desktop?
Add the server definition to the mcpServers section in ~/.cursor/mcp.json (for Cursor) or in the Claude Desktop configuration, using the node command and pointing to the dist/index.js file.
Can I limit the amount of documentation returned?
Yes, the get-library-docs tool accepts a tokens parameter (default 5000) to cap the number of tokens in the response.
其他 分类下的更多 MCP 服务器
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
Nginx UI
0xJackyYet another WebUI for Nginx
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
Awesome-MCP-ZH
yzflyMCP 资源精选, MCP指南,Claude MCP,MCP Servers, MCP Clients
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
评论