# DeepWiki (MCP Server)

> Ask questions about any public GitHub repo using DeepWiki's generated docs

- Type: MCP server
- Publisher: Cognition (official)
- Categories: Development, Research
- Website: https://docs.devin.ai/work-with-devin/deepwiki-mcp
- Docs: https://docs.devin.ai/work-with-devin/deepwiki-mcp
- Transport: streamable-http
- Server URL: https://mcp.deepwiki.com/mcp
- Sign-in: none
- Listed: 2025-05-01

## About

DeepWiki's free remote MCP server by Cognition gives agents access to AI-generated documentation for public GitHub repositories. Agents can list documentation topics, read wiki contents and ask grounded questions about a repository. No authentication is required for public repos.

## Install

1. **Connect it in ChatGPT** Turn on Developer mode in ChatGPT (Settings → Security and login), open Plugins, select + and paste https://mcp.deepwiki.com/mcp as the MCP server URL. Add it to a chat from the composer's tools menu.

2. **Or add it to Codex or the API**

   Codex CLI:

   ```bash
   codex mcp add deepwiki --url https://mcp.deepwiki.com/mcp
   ```

   config.toml:

   ```toml
   [mcp_servers.deepwiki]
   url = "https://mcp.deepwiki.com/mcp"
   ```

   Responses API:

   ```python
   from openai import OpenAI
   
   client = OpenAI()
   
   response = client.responses.create(
       model="gpt-6-astra",
       tools=[{
           "type": "mcp",
           "server_label": "deepwiki",
           "server_url": "https://mcp.deepwiki.com/mcp",
           "require_approval": "never",
       }],
       input="How does routing work in vercel/next.js?",
   )
   print(response.output_text)
   ```

## Tools

- `read_wiki_structure`
- `read_wiki_contents`
- `ask_question`

## Example prompts

- "How does routing work in vercel/next.js?"
- "List the documentation topics for facebook/react"
- "Explain the architecture of modelcontextprotocol/typescript-sdk"

## Related

- [Chrome DevTools MCP](https://chatgptplugins.directory/mcp/chrome-devtools.md): Let coding agents control and debug a live Chrome browser
- [Playwright MCP](https://chatgptplugins.directory/mcp/playwright.md): Browser automation for agents via Playwright accessibility snapshots
- [GitHub](https://chatgptplugins.directory/mcp/github.md): Manage repos, issues, pull requests and Actions from your AI agent
- [Context7](https://chatgptplugins.directory/mcp/context7.md): Pull up-to-date, version-specific library docs into your coding agent
- [Supabase](https://chatgptplugins.directory/mcp/supabase.md): Manage Supabase databases, migrations, edge functions and logs
- [Stripe](https://chatgptplugins.directory/mcp/stripe.md): Query and act on your Stripe account and search Stripe docs from any agent

---
Source: https://chatgptplugins.directory/mcp/deepwiki · Index: https://chatgptplugins.directory/llms.txt · Independent and community-run. Not affiliated with or endorsed by OpenAI. ChatGPT is a trademark of OpenAI.
