DeepWiki MCP server
Free, keyless MCP server: read AI-generated wikis of GitHub repositories and ask questions about their code.
Developer toolsGuided#mcp#github#documentation#code-search#ai-agents
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
DeepWiki (by Cognition, the makers of Devin) generates browsable, AI-written wikis for GitHub repositories at deepwiki.com. Its MCP server puts those wikis in your AI assistant: read the outline of a repository's wiki, read whole pages, or ask questions about the code and get answers grounded in the generated documentation, with links back to the pages. It is free and needs no account or key for public repositories.
- Endpoint (Streamable HTTP):
https://mcp.deepwiki.com/mcp(recommended) - The old SSE endpoint
https://mcp.deepwiki.com/sseis listed as deprecated in the docs and answered HTTP 410 Gone when checked on 2026-11-18: use/mcp. - Protocol: answers both the stateless 2026-07-28 revision (
server/discover) and the olderinitializehandshake; it issues no session id.
Tools (checked live with tools/list on 2026-11-18)
| Tool | What it does | Arguments |
|---|---|---|
read_wiki_structure | Lists the wiki's sections and pages for a repository | repoName (owner/repo, required) |
read_wiki_contents | Returns the full text of the wiki (can be very large) | repoName (required) |
ask_wiki_question | Answers a question about the code, grounded in the wiki | repoName (string or list of up to 10), question (both required) |
DeepWiki's docs page still calls the question tool ask_question; the live server names it ask_wiki_question, which is what this collection uses. The initialize instructions also list many devin_* tools marked "private mode only": those appear only when you connect with a Devin account (OAuth or a Devin API key) to the Devin MCP server for private repositories, not on this public endpoint.
Add it to your AI client
Claude Code (terminal; add --scope user to use it in every project):
claude mcp add --transport http deepwiki https://mcp.deepwiki.com/mcpClaude Desktop / claude.ai: Settings > Connectors > Add custom connector, then enter a name and the URL https://mcp.deepwiki.com/mcp.
Cursor: add to ~/.cursor/mcp.json (or .cursor/mcp.json in a project):
{
"mcpServers": {
"deepwiki": {
"url": "https://mcp.deepwiki.com/mcp"
}
}
}VS Code (GitHub Copilot agent mode): add to .vscode/mcp.json:
{
"servers": {
"deepwiki": {
"type": "http",
"url": "https://mcp.deepwiki.com/mcp"
}
}
}Credentials
None for public repositories. For private repositories DeepWiki points to the Devin MCP server with a Devin API key (https://docs.devin.ai/work-with-devin/devin-mcp); that is a different, paid product.
Run order
- Start here: outline, a question, then the full contents (large).
- More examples: multi-repository questions and other projects.
- Plain HTTP: server/discover, tools/list and a tools/call as raw JSON-RPC, plus the legacy initialize.
Variables: mcpUrl (already set), repoName (for folder 3). Edit tool arguments directly in each request.
Limits
The public server is free and rate-limited in ways DeepWiki does not publish; answers take a few seconds and read_wiki_contents can return megabytes. Repositories must be public and indexed by DeepWiki; unindexed ones can be requested at https://deepwiki.com.
Common errors
| What you see | Meaning | What to do |
|---|---|---|
Result with isError: true and "Unknown tool" | Tool name is wrong | Use the names from tools/list |
isError: true, "Repository not found. Visit https://deepwiki.com/owner/repo to index it" | DeepWiki has no wiki for it | Check owner/repo spelling; open that link to request indexing |
HTTP 410 on /sse | Retired SSE transport | Switch the URL to /mcp |
HTTP 400 -32022 | Unsupported protocol version | Use 2026-07-28 or the initialize handshake |
| HTTP 405 on GET/DELETE | No standalone stream, no sessions | Use POST only |
| Slow or huge response | read_wiki_contents on a big repo | Use the outline and ask_wiki_question instead |
Links
- DeepWiki MCP docs: https://docs.devin.ai/work-with-devin/deepwiki-mcp
- DeepWiki: https://deepwiki.com
- MCP specification: https://modelcontextprotocol.io/specification/2026-07-28
Endpoints 10
1. Start here
- MCPRead the wiki outline (read_wiki_structure)
{{mcpUrl}}Returns the numbered table of contents of the wiki DeepWiki generated for a GitHub repository: sections and sub-pages such as Overview, Architecture,… - MCPAsk a question about a repository (ask_wiki_question)
{{mcpUrl}}Asks a free-text question and gets an answer grounded in the repository's DeepWiki, with links to the relevant wiki pages and a deepwiki.com search link. Best… - MCPRead the whole wiki (read_wiki_contents)
{{mcpUrl}}Returns the full text of every wiki page for a repository, each starting with # Page: <title> and a list of the source files it was built from. Warning: for…
2. More examples
- MCPAsk across several repositories
{{mcpUrl}}repoName also accepts a list (up to 10 repositories), so one question can be answered from several codebases, for example a specification and its SDK. The… - MCPOutline of a large project
{{mcpUrl}}Reads the wiki outline of a large, popular repository (React) to show how DeepWiki splits a big codebase into topics. Use the section titles to write focused… - MCPAsk where something is implemented
{{mcpUrl}}A typical code-navigation question: which files implement a feature and how the pieces connect. DeepWiki answers with file paths and short explanations you…
3. The same calls as plain HTTP
- POSTserver/discover (plain HTTP)
{{mcpUrl}}Plain HTTP version of what the native client does first on a 2026-07-28 server: one POST that returns supported protocol versions, capabilities, server name… - POSTtools/list (plain HTTP)
{{mcpUrl}}Lists the tools with their JSON Schema inputSchema in one stateless POST. Compare the names with the native requests above; if a server renames a tool, this… - POSTtools/call read_wiki_structure (plain HTTP)
{{mcpUrl}}Calls read_wiki_structure with a raw JSON-RPC body: params.name is the tool, params.arguments its input, _meta carries the protocol version and client info,… - POSTinitialize (legacy handshake)
{{mcpUrl}}The older way to open a connection, still accepted by DeepWiki: the client proposes protocolVersion 2025-11-25 and its name; the server confirms the version…
API details
- Base URL
https://mcp.deepwiki.com/mcp- Authentication
- None declared in the description
- Operations
- 10 operations on 10 pathsPOST 10
- Main resources
- 1. Start here 32. More examples 33. The same calls as plain HTTP 4
- Description format
- Swastik Codes guided collection, API version
checked against the docs on 2026-11-18 - Links
- Documentation
How to test the DeepWiki MCP server in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the DeepWiki MCP server collection, without the publisher's secrets.
- Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
- Send a requestPick an endpoint, for example “Read the wiki outline (read_wiki_structure)” (POST {{mcpUrl}}), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the DeepWiki MCP server?
Free, keyless MCP server: read AI-generated wikis of GitHub repositories and ask questions about their code. It is listed under Developer tools and has 10 endpoints.
Who publishes the DeepWiki MCP server?
It is listed from DeepWiki's public API description (an OpenAPI document), not published by DeepWiki on Swastik Codes. Anyone who controls deepwiki.com can claim the profile by adding a DNS TXT record.
What is the base URL of the DeepWiki MCP server?
Requests go to https://mcp.deepwiki.com/mcp. Endpoint paths are added to this base URL.
How do I authenticate with the DeepWiki MCP server?
Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.
How many endpoints does the DeepWiki MCP server have?
10 operations on 10 paths (10 POST). The largest groups are 1. Start here, 2. More examples, 3. The same calls as plain HTTP.
Is forking the DeepWiki MCP server free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.