mcpField
D
deepwiki

deepwiki

github.com/sefllessDevelopment22902 installsUpdated 37w ago
Repository

About deepwiki

deepwiki is a terminal tool for querying documentation from public GitHub repositories, aimed at developers exploring codebases. It provides documentation tables of contents, full wiki content, and single- or multi-repository Q&A.

Key features

  1. 01View documentation tables of contents
  2. 02Retrieve full wiki content
  3. 03Ask questions about repositories
  4. 04Query multiple repositories
  5. 05Output JSON data

Use cases

  1. 01Survey a library’s documentation structure
  2. 02Retrieve a project’s full documentation
  3. 03Ask about a specific codebase mechanism
  4. 04Understand interactions between libraries

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/seflless/deepwiki --skill deepwiki

After installing, type/deepwikiin Claude Code to confirm it loaded.

Details

From the project README

deepwiki

Query any public GitHub repo's docs from the terminal via DeepWiki. Assumes Node.js is installed.

Commands

CommandUsageDescription
tocnpx @seflless/deepwiki toc <owner/repo>Table of contents
wikinpx @seflless/deepwiki wiki <owner/repo>Full wiki content
asknpx @seflless/deepwiki ask <owner/repo> "<question>"AI-powered Q&A
asknpx @seflless/deepwiki ask <repo1> <repo2> "<question>"Multi-repo Q&A (max 10)

Flags

FlagPurpose
--jsonRaw JSON output (good for piping)
-q, --quietNo spinners/progress
--no-colorDisable colors

Examples

# Understand a library's structure
npx @seflless/deepwiki toc facebook/react

# Get full docs for reference
npx @seflless/deepwiki wiki oven-sh/bun --json > bun-docs.json

# Ask a specific question
npx @seflless/deepwiki ask anthropics/claude-code "How does the tool permission system work?"

# Cross-project question
npx @seflless/deepwiki ask facebook/react vercel/next.js "How do server components work across these projects?"

Tips

  • Use --json when you need structured data to parse
  • Use toc first to understand what docs exist, then ask for specifics
  • Multi-repo ask is great for understanding how libraries interact

Comments

Markdown supported