> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devin.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# DeepWiki MCP

> 公式 DeepWiki MCP サーバーの使用方法

DeepWiki MCP サーバーは、DeepWiki の公開リポジトリのドキュメントおよび検索機能（Ask Devin）へのプログラムによるアクセス手段を提供します。

<div id="what-is-mcp">
  ## MCP とは？
</div>

[Model Context Protocol](https://modelcontextprotocol.io/introduction)（MCP）は、AIアプリが MCP 対応のデータソースやツールに安全に接続できるようにするオープンな標準規格です。MCP は、AI アプリ向けの USB-C ポートのようなものであり、AI アプリをさまざまなサービスに接続するための共通インターフェースと捉えることができます。

<div id="deepwiki-mcp-server">
  ## DeepWiki MCP サーバー
</div>

DeepWiki MCP サーバーは、パブリックリポジトリへのアクセスを提供する、無料でリモート、かつ認証不要のサービスです。

**サーバーのベース URL：** `https://mcp.deepwiki.com/`

<div id="available-tools">
  ### 利用可能なツール
</div>

DeepWiki MCP サーバーは主に次の 3 つのツールを提供します：

1. **`read_wiki_structure`** - GitHub リポジトリのドキュメントトピックの一覧を取得する
2. **`read_wiki_contents`** - GitHub リポジトリのドキュメント内容を閲覧する
3. **`ask_question`** - GitHub リポジトリについて任意の質問を行い、AI によるコンテキストに基づく回答を取得する

<div id="wire-protocols">
  ### ワイヤープロトコル
</div>

DeepWiki MCP サーバーは、次の 2 つのワイヤープロトコルをサポートします。

<div id="streamable-http-mcp">
  #### ストリーミング対応 HTTP - `/mcp`
</div>

* **URL:** `https://mcp.deepwiki.com/mcp`
* Cloudflare、OpenAI、および Claude に対応しています
* **ほとんどの連携での利用を推奨します**

<div id="sse-server-sent-events-sse">
  #### SSE (Server-Sent Events) - `/sse`
</div>

* **URL:** `https://mcp.deepwiki.com/sse`
* レガシーなプロトコルで、廃止予定です

<Note>
  SSE は廃止予定のため、`/mcp` エンドポイントの利用を推奨します。
</Note>

<div id="setup-instructions">
  ## セットアップ手順
</div>

サーバー URL のフィールド名は、クライアントによって異なります。Devin Desktop では `serverUrl` を使用しますが、その他のほとんどのクライアントでは標準的な `url` フィールドを使用します。誤ったフィールド名を使用すると、MCP サーバー は警告なく無視されます。

<div id="for-devin-desktop">
  ### Devin Desktop の場合：
</div>

```json theme={null}
{
  "mcpServers": {
    "deepwiki": {
      "serverUrl": "https://mcp.deepwiki.com/mcp"
    }
  }
}
```

<div id="for-most-other-clients-eg-cursor">
  ### その他のほとんどのクライアントの場合 (例：Cursor)
</div>

```json theme={null}
{
  "mcpServers": {
    "deepwiki": {
      "url": "https://mcp.deepwiki.com/mcp"
    }
  }
}
```

<div id="for-claude-code">
  ### Claude Code を使用する場合:
</div>

```bash theme={null}
claude mcp add -s user -t http deepwiki https://mcp.deepwiki.com/mcp
```

<div id="related-resources">
  ## 関連リソース
</div>

* **[Devin の MCP Marketplace](/ja/work-with-devin/mcp)**
* **[リモート MCP サーバーを Claude に接続する方法](https://support.anthropic.com/en/articles/11175166-about-custom-integrations-using-remote-mcp)**
* **[DeepWiki MCP サーバーの利用に関する OpenAI ドキュメント](https://platform.openai.com/docs/guides/tools-remote-mcp)**
* **[DeepWiki](/ja/work-with-devin/deepwiki)**
* **[Ask Devin](/ja/work-with-devin/ask-devin)**

<Note>
  プライベートリポジトリでも DeepWiki と同等の機能を使いたい場合は、[Devin.ai](https://devin.ai/) で Devin アカウントを作成し、Devin API キーを使って [Devin MCP server](/ja/work-with-devin/devin-mcp) を利用してください。
</Note>
