DeepWiki Usage Patterns

This skill defaults to fixed link command deepwiki-mcp-cli. Create it when missing:

command -v deepwiki-mcp-cli
uxc link deepwiki-mcp-cli mcp.deepwiki.com/mcp

Basic Question Flow

  1. Ensure the repository is indexed on DeepWiki (visit https://deepwiki.com)
  2. Ask a question using ask_question tool:
    deepwiki-mcp-cli ask_question repoName=owner/repo question='your question'
    

Common Use Cases

Understand a function or API

deepwiki-mcp-cli ask_question repoName=facebook/react question='How does useState work?'

Find relevant code

deepwiki-mcp-cli ask_question '{"repoName":"owner/repo","question":"Where is the authentication logic?"}'

Get code review context

deepwiki-mcp-cli ask_question repoName=owner/repo question='Explain the architecture of this project'

Output Handling

Parse the response:

# Extract the answer text
deepwiki-mcp-cli ask_question repoName=facebook/react question='What is React?' | jq -r '.data.content[].text'

Fallback Equivalence

Limitations