
CodeWiki MCP — AI-generated docs for GitHub repos
io.github.izzzzzi由 GitHub 帳號 izzzzzi 發布v1.1.1更新於 Oct 24, 2026
MCP server for codewiki.google: search repos, fetch wiki docs, ask questions
概覽
將 AI 助理連接到 codewiki.google,可搜尋 GitHub 儲存庫、取得 AI 生成的 wiki 文件,並針對某個儲存庫提問。
- 可以做什麼
- 搜尋 codewiki.google 已收錄的儲存庫,可限制回傳數量(最多 50 筆),並附上位元組數與耗時等中繼資料。取得儲存庫生成的文件,支援完整 markdown 或結構化頁面兩種形式,儲存庫可用 owner/repo、GitHub 連結或自然語言描述指定。針對某個儲存庫提出自然語言問題,可選擇帶入最多 20 筆歷史對話。透過關鍵詞擷取加上 GitHub 搜尋 API,把口語化描述解析成 owner/repo。
- 適用情境
- 適合讓助理說明不熟悉的開源專案如何運作、把其生成的文件帶進對話,或在不自行閱讀原始碼的情況下回答關於某個儲存庫的具體問題。
- 執行需求
- 以 stdio 在本機執行,通常透過 npx 搭配 Node.js,也可從原始碼或 Docker 啟動。需要連線到 codewiki.google,自然語言儲存庫解析還需連線 GitHub 搜尋 API。選用環境變數包括 CODEWIKI_BASE_URL、CODEWIKI_REQUEST_TIMEOUT、CODEWIKI_MAX_RETRIES、CODEWIKI_RETRY_DELAY 和 GITHUB_TOKEN;不需要身分驗證。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 CodeWiki MCP — AI-generated docs for GitHub repos,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
📚 codewiki-mcp
MCP server for codewiki.google — search, fetch docs, and ask questions about any open-source repo
[CI] [Release] [npm version] [npm downloads] [License: MIT] [TypeScript] [Node.js]
🇷🇺 Русский | 🇬🇧 English
MCP server that connects any AI assistant to codewiki.google — AI-generated wiki documentation for open-source repositories.
📖 Overview
codewiki-mcp is a Model Context Protocol server that gives AI assistants access to codewiki.google — a service that generates comprehensive wiki documentation for any GitHub repository. Search repos, fetch full docs, or ask natural-language questions — all through MCP.
✨ Features
🚀 Quick Start
Using npx (no install)
From source
Transports
🐳 Docker
🔧 MCP Client Configuration
Cursor
Add to .cursor/mcp.json:
Claude Desktop
Add to claude_desktop_config.json:
Claude Code
Windsurf
Add to your Windsurf MCP config:
VS Code (Copilot)
Add to .vscode/mcp.json:
Local development
💡 Usage
Prompts you can use in any MCP-compatible client:
Fetch complete documentation:
Get structured pages:
Ask with natural language:
🛠️ MCP Tools
🔍 codewiki_search_repos
Search repositories indexed by codewiki.google.
📄 codewiki_fetch_repo
Fetch generated wiki content for a repository.
💬 codewiki_ask_repo
Ask a natural-language question about a repository.
📊 Response Format
✅ Success — Search
✅ Success — Fetch (pages mode)
✅ Success — Ask
❌ Error Response
Error codes: VALIDATION, RPC_FAIL, TIMEOUT, NLP_RESOLVE_FAIL
⚙️ How It Works
Data Flow
Google Batchexecute RPC
codewiki.google uses Google's internal batchexecute RPC format (not REST, not GraphQL). The client:
- Builds a POST request with
f.req=...body - Sends it to
/_/BoqAngularSdlcAgentsUi/data/batchexecute - Receives a response with XSSI prefix
)]}'\n - Parses
wrb.frframes and extracts the typed payload
Each tool maps to an RPC ID:
🧠 NLP Repo Resolution
Users can type natural language instead of owner/repo:
🔄 Retry with Exponential Backoff
4xx errors (client errors) are never retried.
🖥️ CLI
⚡ Configuration
Environment variables:
You can also create a .env file in the project root:
📁 Project Structure
❓ Troubleshooting
Permission Denied
Connection Refused (HTTP/SSE)
Timeout Errors
For large repositories, increase the timeout:
NLP Resolution Fails
If natural-language input doesn't resolve, use explicit format:
Set GITHUB_TOKEN to avoid GitHub API rate limits for unauthenticated requests.
🧑💻 Development
🤝 Contributing
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch (
git checkout -b feat/my-feature) - Use Conventional Commits for commit messages
- Run
npm run typecheck && npm run testbefore submitting - Open a Pull Request
📄 License
MIT © codewiki-mcp contributors
來源:README.md,提交 46536bb
工具
0版本歷史
1- v1.1.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分