← Back to Skills Marketplace
chunhualiao

DeepWiki MCP

by Chunhua Liao · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
385
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install deepwiki-mcp
Description
Query DeepWiki MCP to get AI-grounded answers about any public GitHub repository. Use when answering questions about a repo's source code, architecture, conf...
README (SKILL.md)

DeepWiki MCP

Query any public GitHub repository using DeepWiki's AI-powered documentation and Q&A service. No API key, no auth, free.

MCP endpoint: https://mcp.deepwiki.com/mcp

Scope & Boundaries

This skill handles:

  • Asking natural-language questions about any public GitHub repo
  • Listing documentation topics indexed by DeepWiki
  • Fetching full wiki contents for a repo
  • Running queries via the included helper script

This skill does NOT handle:

  • Private repository access (requires paid Devin account)
  • Modifying repositories or submitting PRs
  • Real-time code analysis (DeepWiki may lag a few days behind latest commits)
  • Local code search or grep (use standard file tools for that)

Inputs

Input Required Description
Question Yes Natural-language question about a repo
Repository No owner/repo format. Defaults to openclaw/openclaw
Action No ask (default), topics, or docs

Outputs

  • AI-grounded text answer with source references from the repo
  • Or a structured list of documentation topics
  • Or full wiki contents (large output)

Workflow

Step 1 — Run the helper script

The script is located in this skill's directory at scripts/deepwiki.sh.

# Ask a question (defaults to openclaw/openclaw)
\x3Cskill_dir>/scripts/deepwiki.sh ask "How does session compaction work?"

# Ask about a specific repo
\x3Cskill_dir>/scripts/deepwiki.sh ask facebook/react "How does concurrent mode work?"

# List documentation topics
\x3Cskill_dir>/scripts/deepwiki.sh topics openclaw/openclaw

# Get full wiki contents (large output — prefer ask for targeted queries)
\x3Cskill_dir>/scripts/deepwiki.sh docs openclaw/openclaw

Replace \x3Cskill_dir> with the directory containing this SKILL.md.

Step 2 — Interpret and relay the answer

DeepWiki returns AI-generated answers grounded in the repo's actual source code. The response typically includes:

  • Direct answer to the question
  • References to specific files and code paths
  • Context about related functionality

Relay the answer to the user, adding your own context if you have additional knowledge.

Step 3 — Follow up if needed

If the answer is incomplete or raises new questions:

  • Ask a more specific follow-up question
  • Use topics to find relevant documentation sections
  • Use docs for broader context (but note: output can be very large)

Direct curl (fallback)

If the helper script is unavailable:

curl -s -X POST https://mcp.deepwiki.com/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "ask_question",
      "arguments": {
        "repoName": "owner/repo",
        "question": "YOUR QUESTION"
      }
    }
  }' | grep '^data:' | grep '"id":1' | sed 's/^data: //' | \
  python3 -c "import json,sys; d=json.load(sys.stdin); print(d['result']['content'][0]['text'])"

MCP Tools Reference

Tool Purpose Arguments
ask_question Ask any question, get AI-grounded answer repoName, question
read_wiki_structure List documentation topics for a repo repoName
read_wiki_contents Get full wiki docs for a repo repoName

Error Handling

Problem Detection Action
Timeout (>60s) curl hangs or no response Retry once; DeepWiki may be under load
Empty response No data: lines in SSE stream Check if repo exists and is public
Repo not indexed Error message about unknown repo Try again — DeepWiki indexes on first request
Rate limited HTTP 429 or error response Wait 30s and retry
Script not found File not at expected path Use direct curl fallback

Success Criteria

  • DeepWiki returns a substantive answer (not an error or empty response)
  • Answer references actual code/files from the repository
  • User's question is addressed with grounded information

Configuration

No persistent configuration required. The skill uses:

  • exec tool to run the helper script (bash + curl + python3)
  • No API keys or authentication needed
  • Works for any public GitHub repository

System dependencies:

Dependency Purpose
bash Script execution
curl HTTP requests to MCP endpoint
python3 JSON parsing of SSE responses

Notes

  • Responses take 10-30s (AI generates answers server-side)
  • ask_question is the most useful tool — use it first
  • DeepWiki crawls repos periodically; may lag behind very recent commits
  • Works for any public GitHub repo, not just OpenClaw
  • For private repos, a paid Devin account is required
Usage Guidance
This skill appears coherent and low-risk: it runs a bundled script that POSTs your question and the public repo name to https://mcp.deepwiki.com/mcp and returns the service's AI-grounded answer. Before installing, consider: (1) network privacy — queries (repo name and question) are sent to a third-party endpoint you should trust; (2) no private-repo support — do not use this for proprietary code (the skill disclaims this); (3) runtime dependencies — it executes bash/curl/python3 via exec, so ensure your environment allows that; (4) verify the endpoint/domain if you require provenance (mcp.deepwiki.com is the only external host); and (5) rate limits or data retention policies of DeepWiki if you plan many automated queries. If those points are acceptable, the skill is consistent with its stated purpose.
Capability Analysis
Type: OpenClaw Skill Name: deepwiki-mcp Version: 1.0.0 The skill is designed to query an external AI service (mcp.deepwiki.com) using `curl` and `python3` for JSON parsing, as described in `SKILL.md` and implemented in `scripts/deepwiki.sh`. While it utilizes the `exec` tool and powerful system commands, the `deepwiki.sh` script correctly sanitizes user-provided inputs (repoName, question) using `json.dumps` before embedding them into the `curl` command's JSON payload, mitigating shell injection risks. There is no evidence of intentional malicious behavior, data exfiltration, persistence mechanisms, or prompt injection attempts against the agent in `SKILL.md`.
Capability Assessment
Purpose & Capability
Name/description, triggers, included helper script, and README all align: the skill queries DeepWiki's MCP for public GitHub repos. Required tools (exec, bash, curl, python3) match what the helper script uses. No extraneous permissions or credentials are requested.
Instruction Scope
SKILL.md instructs the agent to run the included scripts/deepwiki.sh or a direct curl POST to the documented MCP endpoint. The instructions do not ask the agent to read arbitrary local files, environment secrets, or modify system state beyond executing the helper script and standard commands. Default repo is openclaw/openclaw if omitted.
Install Mechanism
No install spec — instruction-only skill with a single small helper script included. Nothing is downloaded from arbitrary URLs or written to disk by an installer. This is low risk for install-time behavior.
Credentials
The skill requests no environment variables, no credentials, and no config paths. All external access is a single documented HTTPS endpoint (mcp.deepwiki.com) and the payloads are repo names and user questions, which are coherent with the stated function.
Persistence & Privilege
always:false (default), user-invocable:true, and no modifications to other skills or system config. The skill requires exec to run its helper script, which is expected for this functionality; autonomous invocation is allowed but not excessive given the skill's scope.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install deepwiki-mcp
  3. After installation, invoke the skill by name or use /deepwiki-mcp
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: AI-powered Q&A for any public GitHub repo via DeepWiki MCP, helper script, no auth required
Metadata
Slug deepwiki-mcp
Version 1.0.0
License
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is DeepWiki MCP?

Query DeepWiki MCP to get AI-grounded answers about any public GitHub repository. Use when answering questions about a repo's source code, architecture, conf... It is an AI Agent Skill for Claude Code / OpenClaw, with 385 downloads so far.

How do I install DeepWiki MCP?

Run "/install deepwiki-mcp" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is DeepWiki MCP free?

Yes, DeepWiki MCP is completely free (open-source). You can download, install and use it at no cost.

Which platforms does DeepWiki MCP support?

DeepWiki MCP is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created DeepWiki MCP?

It is built and maintained by Chunhua Liao (@chunhualiao); the current version is v1.0.0.

💬 Comments