DeepWiki 远程 MCP CLI (deepwiki)
使用 deepwiki 来理解公开 GitHub 仓库的架构和设计。在探索外部库和框架时使用;对于正在处理的活跃仓库,请改用本地文件搜索。
预检步骤
which deepwiki || command -v deepwiki || Get-Command deepwiki
如果需要,请安装:
uv tool install git+https://github.com/davidwarshawsky/deepwiki
工作流程
deepwiki --help
deepwiki --tool read_wiki_structure description
deepwiki --tool read_wiki_contents description
deepwiki --tool ask_wiki_question description
deepwiki call read_wiki_structure '{"repoName":"facebook/react"}'
deepwiki call read_wiki_contents '{"repoName":"facebook/react"}'
deepwiki call ask_wiki_question '{"repoName":"facebook/react","question":"协调器是如何组织的?"}'
有关安装选项,请参见 INSTALL.md。