Basic information
About Deepwiki MCP Server
📖 MCP server for fetch deepwiki.com and get latest knowledge in Cursor and other Code Editors
Deepwiki MCP Server is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by regenrek. It exposes 3 tools, including read_wiki_structure, read_wiki_contents, ask_question. Supported transport: stdio. Runtime: node. License: MIT. The repository has 1,375 GitHub stars. Source code is hosted on github.com. Related topics: deepwiki, markdown-converter, mcp-server.
Setup
{
"mcpServers": {
"mcp-deepwiki": {
"command": "node",
"args": [
"./bin/cli.mjs"
]
}
}
}
{
"mcpServers": {
"mcp-deepwiki": {
"command": "node",
"args": [
"./bin/cli.mjs"
]
}
}
}
{
"servers": {
"mcp-deepwiki": {
"command": "node",
"args": [
"./bin/cli.mjs"
]
}
}
}
Deepwiki MCP Server (Developer Tools) config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-deepwiki": {
"command": "node",
"args": [
"./bin/cli.mjs"
]
}
}
}
Deepwiki MCP Server (Developer Tools) tools
- read_wiki_structure — lists the documentation topics for a GitHub repository
- read_wiki_contents — returns the documentation about a repository
- ask_question — answers a question about a repository with an AI-generated, context-grounded response
Overview
What is Deepwiki MCP Server?
This DeepWiki MCP server is an unofficial, community-built tool (mcp-deepwiki by regenrek) that crawled deepwiki.com pages and returned them to your editor as Markdown. Its README says it no longer works because DeepWiki blocked scraping, and recommends the official DeepWiki MCP server instead.
DeepWiki generates documentation wikis for GitHub repositories. The official DeepWiki MCP server, run by Devin, is a free remote server at https://mcp.deepwiki.com/mcp that needs no authentication for public repositories. If you searched for "deepwiki mcp" to give Cursor or Claude context about a repository, the official server is the one to install. This page covers both, clearly labeled.
How to use Deepwiki MCP Server?
Recommended: the official DeepWiki MCP server
No install, API key or account is needed for public repositories. Use the Streamable HTTP endpoint https://mcp.deepwiki.com/mcp. The SSE endpoint https://mcp.deepwiki.com/sse still exists but is being deprecated.
Claude Code
claude mcp add -s user -t http deepwiki https://mcp.deepwiki.com/mcp
Cursor
Add to .cursor/mcp.json (the same url format works in other clients that use it):
{
"mcpServers": {
"deepwiki": {
"url": "https://mcp.deepwiki.com/mcp"
}
}
}
Claude Desktop
Add https://mcp.deepwiki.com/mcp as a remote server through Claude's custom connector settings. Devin's docs link to Anthropic's guide for connecting remote MCP servers rather than giving a config file.
For private repositories, Devin's docs point to the separate Devin MCP server, which requires a Devin account and API key.
This community server (mcp-deepwiki)
The project's original Cursor setup in .cursor/mcp.json was:
{
"mcpServers": {
"mcp-deepwiki": {
"command": "npx",
"args": ["-y", "mcp-deepwiki@latest"]
}
}
}
It can also be built from source with git clone https://github.com/regenrek/deepwiki-mcp.git, npm install and npm run build. Expect fetch errors: according to the README notice, DeepWiki has cut off the scraping this server relies on.
Key features of Deepwiki MCP Server
- Domain safety: only processes URLs from deepwiki.com
- HTML sanitization that strips headers, footers, navigation, scripts and ads
- Link rewriting so links work in Markdown
- Two output modes: one aggregated document or structured page-by-page data
- Adjustable crawl concurrency, depth, timeouts and retries via environment variables
- Progress events while crawling, and stdio or HTTP (
--http) transport
Deepwiki MCP Server tools
The community server registers one tool, deepwiki_fetch. It takes url (required; the starting deepwiki.com URL), mode (aggregate for one Markdown document, the default, or pages for structured pages) and maxDepth (default 10). It returns ok, partial or error responses with page counts and timing.
The official DeepWiki MCP server exposes three different tools:
read_wiki_structure: lists the documentation topics for a GitHub repositoryread_wiki_contents: returns the documentation about a repositoryask_question: answers a question about a repository with an AI-generated, context-grounded response
Use cases of Deepwiki MCP Server
- Learning an unfamiliar library: "Using DeepWiki, explain how routing works in vercel/next.js."
- Finding the right part of the docs: "List the wiki topics for shadcn-ui/ui, then read the one about theming."
- Answering a concrete question: "Ask DeepWiki how to create a new block in shadcn-ui/ui."
- Checking architecture before a contribution: "Summarize how tailwindlabs/tailwindcss structures its theme system."
- Giving a coding agent up-to-date context on a dependency without pasting docs into the chat.
DeepWiki MCP Server vs alternatives
The official DeepWiki MCP server is the direct replacement for this listing: it is maintained by DeepWiki's operator, needs no scraping and adds ask_question. For library documentation from package sources rather than DeepWiki, Context7 MCP serves version-specific docs to coding agents. To read a project's actual source, the GitHub MCP Server gives agents access to repositories, issues and pull requests.
Troubleshooting DeepWiki MCP Server
deepwiki_fetchreturns errors or empty results: this is the known failure described in the README notice. Switch to the official server athttps://mcp.deepwiki.com/mcp.DOMAIN_NOT_ALLOWEDerror: the community server only accepts deepwiki.com URLs.- Timeouts on large repositories: raise
DEEPWIKI_REQUEST_TIMEOUTandDEEPWIKI_MAX_CONCURRENCY, for exampleDEEPWIKI_REQUEST_TIMEOUT=60000 DEEPWIKI_MAX_CONCURRENCY=10 npx mcp-deepwiki. EACCESpermission denied: make the binary executable withchmod +x ./node_modules/.bin/mcp-deepwiki.- Official server ignored in Devin Desktop: that client expects the
serverUrlfield; using the wrong field name causes the server to be silently ignored.
Frequently asked questions
1 Is this the official DeepWiki MCP server?
No. This listing is regenrek/deepwiki-mcp, an unofficial community project. The official DeepWiki MCP server is run by Devin and documented at https://docs.devin.ai/work-with-devin/deepwiki-mcp.
2 Does the community deepwiki-mcp still work?
Its own README says it is currently not working, because DeepWiki cut off the ability to scrape the site. The author recommends the official server for the time being.
3 Is the DeepWiki MCP server free?
Both are free to use. The community project is MIT-licensed, and the official server is described by Devin as a free, remote, no-authentication service for public repositories.
4 Do I need an API key?
Not for public repositories on the official server. Private repositories require the separate Devin MCP server with a Devin account and API key. The community server never needed a key.
5 Does DeepWiki MCP work with Claude Code and Cursor?
Yes. Devin's docs give a Claude Code command (claude mcp add -s user -t http deepwiki https://mcp.deepwiki.com/mcp) and a Cursor config using the url field.
6 What is the difference between the SSE and HTTP endpoints?
https://mcp.deepwiki.com/mcp uses Streamable HTTP and is recommended. https://mcp.deepwiki.com/sse is the legacy SSE endpoint and is being deprecated.
7 Can I use DeepWiki MCP with private repositories?
Not through the free public server. Devin's docs direct private-repository use to the Devin MCP server, which needs a Devin account.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In