Is the DeepWiki MCP server safe? What it can reach
What the DeepWiki MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.
DeepWiki’s MCP server is run by Devin (Cognition) as a free remote service at mcp.deepwiki.com. It needs no sign-in and covers public GitHub repositories only. Its three tools only read documentation and answer questions, and they change nothing in your accounts. The risk is what you send in questions and trusting the answers.
Who maintains it
| Implementation | Kind | Status |
|---|---|---|
| DeepWiki MCP server (Devin, official) | Official | active |
| Devin MCP server (official, for private repositories) | Official | active |
It runs as a hosted remote server. The documented endpoint is https://mcp.deepwiki.com/mcp.
How it signs in
No sign-in and no credential. It covers public repositories only. The separate Devin MCP server needs a Devin API key and also reaches private repositories and Devin account features.
What its tools can do
| Kind | Tools |
|---|---|
| Read | read_wiki_structure, read_wiki_contents, ask_wiki_question |
| Write | none documented |
| Can’t be undone | none documented |
ask_wiki_question was previously named ask_question, and the old name is still accepted. The Devin MCP server adds list_wiki_repos, generate_wiki and tools for sessions, playbooks, knowledge, schedules and integrations, which are not covered here.
Built-in limits
| Option | What it does |
|---|---|
Public repositories only | The DeepWiki server cannot read private repositories, so nothing private is exposed by connecting it. |
Streamable HTTP endpoint | Use /mcp. The /sse endpoint is deprecated. |
Client tool approval | The docs describe no server-side limits, so restrict the three tools in your MCP client if you want prompts. |
The risks
- Answers are generated from repository content, so text planted in a public repo’s README or docs could appear in a reply and steer an agent that also has write tools from another server.
- Questions you send go to a third-party service, so a repo name or a snippet of private code pasted into a question leaves your machine.
- The service is free and unauthenticated, so the docs give no uptime, retention or data-handling terms for what you ask.
- Wiki pages are machine generated and can be wrong about code, so treat their claims about a library’s safety as unverified.
Limit it in Claude Code
Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:
claude mcp add --transport http deepwiki https://mcp.deepwiki.com/mcpClaude Code names MCP tools mcp__deepwiki__<tool>. Once you know the tool names, deny the ones you won’t use and set the rest to ask in .claude/settings.json.
Limit it in Codex
Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:
[mcp_servers.deepwiki]
url = "https://mcp.deepwiki.com/mcp"Checklist
- Do not paste private code or secrets into questions.
- Pair it only with agents you would trust to read untrusted README text.
- Use the /mcp endpoint, not the deprecated /sse.
- Use the Devin MCP server, with a scoped key, if you need private repositories.
Checked against the vendor documentation on November 25, 2026. DeepWiki MCP server docs (Devin) · Devin MCP server docs
What Excellent covers
Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server
Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing