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

# DeepWiki MCP

> Connect any MCP client to the free DeepWiki MCP server at mcp.deepwiki.com to read wiki structure and contents and ask questions about public repositories.

The DeepWiki MCP server provides programmatic access to DeepWiki's public repository documentation and search capabilities (Ask Devin).

## What is MCP?

The [Model Context Protocol](https://modelcontextprotocol.io/introduction) (MCP) is an open standard that enables AI apps to securely connect to MCP-compatible data sources and tools. You can think of MCP like a USB-C port for AI applications - a standardized way to connect AI apps to different services.

## DeepWiki MCP Server

The DeepWiki MCP server is a free, remote, no-authentication-required service that provides access to public repositories.

**Base Server URL:** `https://mcp.deepwiki.com/`

### Available Tools

The DeepWiki MCP server offers three main tools:

1. **`read_wiki_structure`** - Get a list of documentation topics for a GitHub repository
2. **`read_wiki_contents`** - View documentation about a GitHub repository
3. **`ask_question`** - Ask any question about a GitHub repository and get an AI-powered, context-grounded response

### Wire Protocols

The DeepWiki MCP server supports two wire protocols:

#### Streamable HTTP - `/mcp`

* **URL:** `https://mcp.deepwiki.com/mcp`
* Works with Cloudflare, OpenAI, and Claude
* **Recommended for most integrations**

#### SSE (Server-Sent Events) - `/sse`

* **URL:** `https://mcp.deepwiki.com/sse`
* Legacy protocol, being deprecated

> [!NOTE]
>
> The `/mcp` endpoint is recommended as SSE is being deprecated.

## Setup Instructions

The field name for the server URL depends on the client: Devin Desktop accepts either `serverUrl` or `url`, while most other clients only accept the standard `url` field. Using a field name your client does not recognize causes the MCP server to be silently ignored.

### For Devin Desktop:

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

### For most other clients (e.g. Cursor):

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

### For Claude Code:

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

## Related Resources

* **[Devin's MCP Marketplace](https://docs.devinenterprise.com/work-with-devin/mcp.md)**
* **[Connecting remote MCP servers to Claude](https://support.anthropic.com/en/articles/11175166-about-custom-integrations-using-remote-mcp)**
* **[OpenAI's docs for using the DeepWiki MCP server](https://platform.openai.com/docs/guides/tools-remote-mcp)**
* **[DeepWiki](https://docs.devinenterprise.com/work-with-devin/deepwiki.md)**
* **[Ask Devin](https://docs.devinenterprise.com/work-with-devin/ask-devin.md)**

> [!NOTE]
>
> Want DeepWiki capabilities for private repositories? Sign up for a Devin account at [Devin.ai](https://devin.ai/) and use the [Devin MCP server](https://docs.devinenterprise.com/work-with-devin/devin-mcp.md) with your Devin API key.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.