Claude Code + DeepWiki
Status: Tested on 2026-11-20 with Claude Code 2.1.314.
DeepWiki answers questions about public GitHub repositories from a generated wiki. It is a good first MCP server: free, no account, no key, and every tool only reads.
| Field | Value |
|---|---|
| Client and version | Claude Code 2.1.314 |
| Server | DeepWiki, published by Cognition |
| URL | https://mcp.deepwiki.com/mcp (streamable HTTP). https://mcp.deepwiki.com/sse also exists; the publisher calls it legacy and being deprecated |
| Transport | Streamable HTTP (--transport http) |
| Authentication | None |
| Read or write | Read only. Tools: read_wiki_structure, read_wiki_contents, ask_wiki_question (the old name ask_question still works, per the publisher) |
| Cost, limits, account | "A free, remote, no-authentication-required service" for public repositories. No rate limits are stated. Private repos need a Devin account and the Devin MCP server |
| Sources | https://docs.devin.ai/work-with-devin/deepwiki-mcp; https://code.claude.com/docs/en/mcp |
| Last checked | 2026-11-20 |
Set it up
For one project, shared with the team through .mcp.json:
claude mcp add --scope project --transport http deepwiki https://mcp.deepwiki.com/mcp
The publisher's page uses user scope (-s user) so it loads in every project. Without --scope, Claude Code uses
local scope: this project only, just for you.
The .mcp.json it writes:
{
"mcpServers": {
"deepwiki": {
"type": "http",
"url": "https://mcp.deepwiki.com/mcp"
}
}
}
Test record
Run in an empty scratch folder holding only the mcp.json above (under the name mcp.json):
claude -p --model sonnet --setting-sources project \
--strict-mcp-config --mcp-config ./mcp.json \
--tools "" --allowedTools "mcp__deepwiki__read_wiki_structure" \
--permission-mode dontAsk --no-session-persistence \
--output-format stream-json --verbose \
"Call the read_wiki_structure tool for the GitHub repo modelcontextprotocol/modelcontextprotocol and reply with the first five topic titles only."
-
Connection: the
initevent reported{"name": "deepwiki", "status": "connected"}and the toolsmcp__deepwiki__ask_wiki_question,mcp__deepwiki__read_wiki_contents,mcp__deepwiki__read_wiki_structure. -
In a scratch project folder,
claude mcp add --scope project ...thenclaude --settings ./approve.json mcp get deepwiki(approval file:{"enabledMcpjsonServers":["deepwiki"]}) showedStatus: ✔ Connected. -
Tool called:
mcp__deepwiki__read_wiki_structurewith{"repoName": "modelcontextprotocol/modelcontextprotocol"}, at 2026-11-20 22:29 UTC. -
Result excerpt:
Available pages for modelcontextprotocol/modelcontextprotocol: - 1 Overview - 2 Protocol Specification - 2.1 Architecture and Core Concepts - 2.2 JSON-RPC Message System - 2.3 Transport Layer -
Model use for the run: about 3 US cents.
-
Clean-up:
claude mcp remove deepwiki -s project, then the scratch files were deleted.