MCP.so
ログイン

Context7 Clone

@Suprjack

Context7 Clone について

An MCP server for providing up-to-date documentation for LLMs and AI code editors

基本情報

カテゴリ

その他

ライセンス

MIT license

ランタイム

node

トランスポート

stdio

公開者

Suprjack

設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

ツール

ツールは検出されませんでした

ツールは 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.

コメント

「その他」の他のコンテンツ