Context7 MCP - Up-to-date Docs For Any Cursor Prompt
@upstash
Context7 MCP - Up-to-date Docs For Any Cursor Prompt について
Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"context7-mcp": {
"command": "npx",
"args": [
"ctx7",
"setup"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Context7 MCP - Up-to-date Docs For Any Cursor Prompt?
It is an MCP server that injects up-to-date, version-specific library documentation and code examples directly into an LLM’s context, replacing outdated or hallucinated answers. It integrates with coding agents such as Cursor, Claude Code, and OpenCode via either an MCP server or a CLI skills mode. It is designed for developers who use AI coding assistants and want accurate, current API references without tab-switching.
How to use Context7 MCP - Up-to-date Docs For Any Cursor Prompt?
Install using npx ctx7 setup (requires Node.js 18 or newer); the command authenticates via OAuth and generates an API key, then installs either a CLI+Skills or MCP configuration. Alternatively, manually register the server URL https://mcp.context7.com/mcp with your MCP client and pass your API key via the CONTEXT7_API_KEY header. Use the ctx7 library and ctx7 docs CLI commands, or the MCP tools resolve-library-id and query-docs.
Key features of Context7 MCP - Up-to-date Docs For Any Cursor Prompt
- Fetches documentation directly from official library sources
- Supports specifying exact library IDs and version numbers
- Works as both an MCP server and CLI skills mode
- Free API key with higher rate limits available
- Multi-language documentation (16+ languages)
- No hallucinated APIs or outdated code examples
Use cases of Context7 MCP - Up-to-date Docs For Any Cursor Prompt
- Generate Next.js middleware with current JWT authentication patterns
- Configure a Cloudflare Worker using the latest cache API syntax
- Retrieve up-to-date Supabase auth API for email/password sign-up
- Get version-specific code examples for any supported library
FAQ from Context7 MCP - Up-to-date Docs For Any Cursor Prompt
What dependencies or runtime are required?
Node.js version 18 or newer is required for the ctx7 CLI.
How do I get an API key?
Get a free API key at context7.com/dashboard for higher rate limits.
How do I remove the setup later?
Run npx ctx7 remove to clean up generated configuration. If you globally installed the CLI, also run npm uninstall -g ctx7.
Can I specify a library version?
Yes. Mention the version in your prompt (e.g., “Next.js 14 middleware”) and Context7 will automatically match the appropriate documentation.
How does authentication and transport work?
The MCP server uses your API key passed via the CONTEXT7_API_KEY HTTP header. The standard MCP transport is HTTP.
「メモリとナレッジ」の他のコンテンツ
mcp-local-rag
nkapila6"primitive" RAG-like web search model context protocol (MCP) server that runs locally. ✨ no APIs ✨
Semantic Scholar MCP Server
YUZongminA FastMCP server implementation for the Semantic Scholar API, providing comprehensive access to academic paper data, author information, and citation networks.
minutes
silversteinEvery meeting, every idea, every voice note — searchable by your AI. Open-source, privacy-first conversation memory layer.
Anytype MCP Server
anyprotoAn MCP server enabling AI assistants to interact with Anytype - your encrypted, local and collaborative wiki - to organize objects, lists, and more through natural language.
MemoryMesh
CheMiguel23A knowledge graph server that uses the Model Context Protocol (MCP) to provide structured memory persistence for AI models.
コメント