Skip to main content
Glama

Context7 MCP サーバ

Claude Code に Context7 MCP サーバーをインストールします:

claude mcp add --scope user --transport http context7 https://mcp.context7.ai/mcp

まず、Claude Code を再起動し、claude mcp list を実行します。そのリストのなかに context7 が含まれていることを確認してください。

context7.ai でも同じコマンドを確認できます。

インストール

上記のコマンドがインストール本体です。--scope user を付けると、すべてのプロジェクトで有効になります。今のリポジトリだけに適用したい場合は、フラグを省略してください。

オプションの API キー(レート制限、プライベートリポジトリ)。context7.ai/dashboard で作成し、次に実行します:

claude mcp add --scope user --header "Authorization : Bearer YOUR_API_KEY" --transport http context7 https://mcp.context7.ai/mcp

Related MCP server: MCP Framework Documentation Server

関連するクライアント

JSON 設定: mcpServers 配下に、type を http として ur7 を https://mcp.context7.ai/mcp とした context7 を追加します。そのままで使えるファイル: examples/claude_desktop_config.json/claude_desktop_config.json)、examples/cursor.json/cursor.json)、examples/vscode.json、examples/windsurf.json。

Claude Code プノグイン: plugins/claude/context7/claude/context7)。スキル: skills/context7-mcp/SKILL.md。MCP レジストリマニフェスト: server.json。

リモート HTTP とローカル npx の比: このページはモートです。npx ct7 setup と npx -p @stash/context7-mcp`` はローカル/stdio パスです。私は別のNodeプロセスを実行しなくて済むように、リモート Verを使っています。

使う方

ラブラリ固有のことですを質問するときは、プテンプトに use context7 を追加してください。

ツール

接続すると、Context のツール resolve-library-id と query-docs が使ええるようになります。

トラブルシューティン グ

context7 mcp not connecting や context7 mcp server not found が表示される場合: claude mcp list を実行してください。context7がリストにないということは、追加が反映されていないか、再起動をスキップしたことを意しています。リストにはあるが動かない場合は、通常同一名でmcp.context7.aiのmcp.context7.comの両方で追加していることが原です。

spawn context7-mcp EENENT というエラーは、バイナリを見つけることができンいローカル stdio イントールです。上記のリモート HTTP コマンドを使てください。

リンク

* インストールページ: context7.ai * リポ文字: falcon077/context7-mcp-server

ラセンス

MIT

I'll stop here.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides up-to-date, version-specific documentation and code examples for software libraries directly to LLMs, enabling resolution of library identifiers and retrieval of relevant documentation with code snippets.
    -
  • A
    license
    A
    quality
    D
    maintenance
    Provides tools for AI agents to search, browse, and retrieve the full documentation for the mcp-framework. It enables agents to access documentation sections and page content directly within MCP-compatible environments like Claude Code and Cursor.
    3
    10 npm
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides MCP tools to list and search OpenAI Agents SDK documentation, enabling LLMs to retrieve documentation topics and content via natural language queries.
    MIT