DeepWiki MCP integration for Pi - access AI-powered documentation for GitHub repositories.
DeepWiki provides AI-generated documentation for public GitHub repositories. It analyzes the codebase and creates comprehensive wiki-style documentation covering:
- Architecture and design patterns
- API documentation
- Implementation details
- Usage examples
pi install npm:pi-deepwikipi install git:github.com/yourusername/pi-deepwikipi install ~/.pi/agent/extensions/pi-deepwikiOnce installed, the extension provides three tools:
Get a hierarchical outline of documentation topics:
Get the wiki structure for facebook/react
Get detailed documentation for a specific section:
Get section 2.1 from facebook/react
Ask natural language questions:
Ask DeepWiki about React: What is the purpose of useEffect?
The included skill automatically triggers when you:
- Ask "how does X work" about a GitHub repo
- Request "explain Y" for a project
- Mention "architecture of Z"
- Ask for "API documentation"
- Want to "understand implementation"
The extension follows a 3-step workflow:
- Ask - Discover relevant sections via natural language
- Structure - Get section numbers from outline
- Contents - Retrieve specific, targeted documentation
This avoids the 500KB+ full wiki dumps and gives you clean, focused content.
Any public GitHub repository indexed on DeepWiki:
facebook/reactvercel/next.jsmitsuhiko/agent-stuff- And thousands more...
- Pi Coding Agent
- No API key needed for public repositories
MIT