
CodeWiki MCP — AI-generated docs for GitHub repos
io.github.izzzzziPublished by GitHub account izzzzziv1.1.1Updated Oct 24, 2026
MCP server for codewiki.google: search repos, fetch wiki docs, ask questions
Overview
Connects an AI assistant to codewiki.google to search GitHub repositories, fetch AI-generated wiki documentation, and ask questions about a repo.
- What you can do
- Search repositories indexed by codewiki.google, with a result limit up to 50 and metadata such as byte count and elapsed time per response. Fetch a repository's generated wiki as full markdown or as structured pages, accepting owner/repo, a GitHub URL, or a natural-language description. Ask a natural-language question about a repository, optionally passing up to 20 prior conversation turns. Resolve informal descriptions to an owner/repo name using keyword extraction plus the GitHub search API.
- When to use it
- Useful when you want an assistant to explain how an unfamiliar open-source project works, pull its generated documentation into a conversation, or answer specific questions about a repository without reading the source yourself.
- Requirements
- Runs locally over stdio, typically via npx with Node.js, or from source or Docker. Needs network access to codewiki.google and, for natural-language repo resolution, the GitHub search API. Optional environment variables include CODEWIKI_BASE_URL, CODEWIKI_REQUEST_TIMEOUT, CODEWIKI_MAX_RETRIES, CODEWIKI_RETRY_DELAY and GITHUB_TOKEN; no authentication is required.
Installation
In SourceWeft
- Open CodeWiki MCP — AI-generated docs for GitHub repos in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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
Source: README.md at commit 46536bb
Tools
0Version history
1- v1.1.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts