MCP.so
Sign In

Deepwiki MCP Server

@instructa

About Deepwiki MCP Server

A MCP Server that gives you latest docs and data from the web

Basic information

Category

Other

License

MIT license

Runtime

node

Transports

stdio

Publisher

instructa

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "nowledge": {
      "command": "docker",
      "args": [
        "build",
        "-t",
        "mcp-deepwiki",
        "."
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Deepwiki MCP Server?

Deepwiki MCP Server is an unofficial MCP server that takes a Deepwiki URL, crawls all relevant pages, converts them to Markdown, and returns either a single aggregated document or a structured list of pages. It is designed for developers who want to extract documentation from deepwiki.com repositories for use with AI tools and coding assistants.

How to use Deepwiki MCP Server?

Configure it in your MCP client (e.g., Cursor) by adding mcp-deepwiki to .cursor/mcp.json with the command npx -y mcp-deepwiki@latest. Then use prompts like deepwiki fetch <query>, use deepwiki <url>, or call the registered deepwiki_fetch tool with parameters url (required), mode (aggregate or pages), and maxDepth (optional, default 10).

Key features of Deepwiki MCP Server

  • Domain safety: only processes URLs from deepwiki.com.
  • HTML sanitization: strips headers, footers, navigation, scripts, and ads.
  • Link rewriting: adjusts links to work in Markdown.
  • Multiple output formats: single aggregated document or structured pages.
  • Fast crawling with adjustable concurrency and depth.
  • NLP support for searching by library name.

Use cases of Deepwiki MCP Server

  • Fetch complete documentation of a Deepwiki repository as one Markdown file.
  • Retrieve specific pages from a Deepwiki repo in a structured list.
  • Quickly understand how a library or tool works by crawling its Deepwiki docs.
  • Integrate Deepwiki documentation into AI coding assistants like Cursor for inline reference.

FAQ from Deepwiki MCP Server

What domains does Deepwiki MCP Server accept?

Only URLs from deepwiki.com are allowed. Any other domain will return a DOMAIN_NOT_ALLOWED error.

What output formats are available?

Two modes: aggregate (default) returns a single Markdown document with all pages concatenated; pages returns an array of objects each containing path and markdown.

How can I adjust crawling performance?

Set environment variables: DEEPWIKI_MAX_CONCURRENCY (default 5), DEEPWIKI_REQUEST_TIMEOUT (default 30000 ms), DEEPWIKI_MAX_RETRIES (default 3), and DEEPWIKI_RETRY_DELAY (default 250 ms).

What happens if some pages fail to crawl?

The server may return a partial success response with a status of partial, including successfully fetched data and a list of errors with URLs and reasons.

Does Deepwiki MCP Server emit progress events?

Yes, during crawling the tool sends progress events showing each fetched URL, byte size, request time, and HTTP status.

Comments

More Other MCP servers