Skip to main content
skill CX Codex

mcp-deepwiki — Claude Code skill: DeepWiki docs for GitHub repos

This skill wires the DeepWiki MCP server into your agent so it can read documentation of public GitHub repositories and answer questions about their code.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add aahl/skills --skill mcp-deepwiki -a claude-code
Open on GitHub

What mcp-deepwiki does

The skill points the agent at the MCP server running at https://mcp.deepwiki.com/mcp. From there it can list the documentation sections of a repo, pull those sections, or ask a question about the codebase. Repos go in owner/repo form, such as facebook/react.

Calls run through npx -y mcporter call "${MCP_URL}.<tool>". Structure and contents need only repoName; a question adds question. Answers come from Ask Devin, which is AI-generated, so allow a minute or more of timeout. Set it too tight and the call dies before the reply arrives.

ask_question also accepts an array of repositories, up to 10 at once. The server covers public repositories, so private code never enters the question.

What it helps with

  • list the docs structure of an unfamiliar repository
  • fetch a wiki section for a GitHub project
  • get an answer about open-source code grounded in its documentation
  • compare how several repositories are put together in one request

Example prompts for the agent

  • Show me the wiki structure for facebook/react
  • Ask DeepWiki how routing works in this repository
  • Ask about two repositories at once and compare their testing setup

How to install mcp-deepwiki

1Skills CLI (Vercel)

npx skills add aahl/skills --skill mcp-deepwiki -a claude-code

2Manually: put the files in place

~/.claude/skills/mcp-deepwiki/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/mcp-deepwiki/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about mcp-deepwiki

How do I install mcp-deepwiki in Claude Code?

Run npx skills add aahl/skills --skill mcp-deepwiki -a claude-code. The skill then sits at ~/.claude/skills/mcp-deepwiki/SKILL.md.

What does mcp-deepwiki do?

It gives the agent access to the DeepWiki MCP server: the documentation outline of a repo, the wiki contents, and AI answers to code questions through Ask Devin.

Why does a DeepWiki request time out?

Ask Devin generates its answer with AI, and that takes a minute or longer. Give the call a generous timeout or it returns nothing.

Source text

SKILL.md · MIT
---
name: mcp-deepwiki
description: Skills for accessing and searching docs in DeepWiki/GitHub’s public code repositories can help users understand open-source project source codes, and users can also ask questions directly about the code docs.
---

# DeepWiki
The DeepWiki MCP server provides programmatic access to DeepWiki’s public repository documentation and search capabilities (Ask Devin).

**MCP Server URL**: https://mcp.deepwiki.com/mcp


## Ask Question (Recommended)
> The tool's results are generated by AI, requiring at least 1 minute or more of timeout time.
- `npx -y mcporter call "${MCP_URL}.ask_question" repoName:owner/repo question:"User's questions"`

## Read wiki structure
- `npx -y mcporter call "${MCP_URL}.read_wiki_structure" repoName:owner/repo`

## Read wiki contents
- `npx -y mcporter call "${MCP_URL}.read_wiki_contents" repoName:owner/repo`

## Schema
```shell
/**
 * Get a list of documentation topics for a GitHub repository.
 * Args:
 * repoName: GitHub repository in owner/repo format (e.g. "facebook/react")
 */
function read_wiki_structure(repoName: string): object;
    {
      "type": "object",
      "properties": {
        "repoName": {
          "type": "string"
        }
      },
      "required": [
        "repoName"
      ]
    }

/**
 * View documentation about a GitHub repository.
 * Args:
 * repoName: GitHub repository in owner/repo format (e.g. "facebook/react")
 */
function read_wiki_contents(repoName: string): object;
    {
      "type": "object",
      "properties": {
        "repoName": {
          "type": "string"
        }
      },
      "required": [
        "repoName"
      ]
    }

/**
 * Ask any question about a GitHub repository and get an AI-powered, context-grounded response.
 * Args:
 * repoName: GitHub repository or list of repositories (max 10) in owner/repo format
 * question: The question to ask about the repository
 */
function ask_question(repoName: unknown, question: string): object;
    {
      "type": "object",
      "properties": {
        "repoName": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "question": {
          "type": "string"
        }
      },
      "required": [
        "repoName",
        "question"
      ]
    }
```

© aahl · MIT · aahl/skills

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set9

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor