CodeWiki MCP — Claude Code MCP server: what it does, how to install
Connects AI coding assistants to codewiki.google to inspect open-source projects. Enables natural-language questions, repo searches, and full wiki page retrieval.
claude mcp add codewiki-mcp -- npx -y codewiki-mcpWhat CodeWiki MCP — AI-generated docs for GitHub repos does
This server bridges your editor with codewiki.google, exposing three dedicated tools. codewiki_search_repos queries indexed open-source codebases, codewiki_fetch_repo retrieves documentation either as continuous markdown or structured page trees, and codewiki_ask_repo handles repository queries while preserving up to 20 conversation history turns.
Under the hood, the server uses wink-nlp to parse repository identifiers straight from conversational prompts. Failed 5xx requests trigger automatic retries with exponential backoff. You can run the process via standard stdio, Streamable HTTP, or SSE transports, or build it using the included multi-stage Alpine Dockerfile.
Querying frequently without passing a GITHUB_TOKEN environment variable quickly triggers GitHub rate limits.
What it helps with
- search open-source repositories indexed on codewiki.google
- retrieve documentation pages in Markdown or JSON without cloning repositories
- ask technical questions about unfamiliar libraries while maintaining dialogue context
- extract repository targets automatically from plain user prompts
Example prompts for the agent
- Search for state management libraries using codewiki
- Fetch docs for
vercel/next.jsin pages mode and summarize its routing - Ask codewiki how authentication plugins work in
fastify/fastify
How to install CodeWiki MCP — AI-generated docs for GitHub repos
Platform CLI
claude mcp add codewiki-mcp -- npx -y codewiki-mcpPlatform CLI
codex mcp add codewiki-mcp-ai-generated-docs-for-github-repos -- npx -y codewiki-mcpConfig file
{
"mcpServers": {
"codewiki-mcp-ai-generated-docs-for-github-repos": {
"command": "npx",
"args": [
"-y",
"codewiki-mcp"
]
}
}
}Config file
{
"servers": {
"codewiki-mcp-ai-generated-docs-for-github-repos": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"codewiki-mcp"
]
}
}
}Platform CLI
gemini mcp add codewiki-mcp-ai-generated-docs-for-github-repos npx -y codewiki-mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about CodeWiki MCP — AI-generated docs for GitHub repos
How to install CodeWiki MCP in Claude Code?
Run claude mcp add codewiki-mcp -- npx -y codewiki-mcp in your terminal. This registers the server using npx without manual builds.
What tools does CodeWiki MCP provide?
It exposes codewiki_search_repos for discovering indexed projects, codewiki_fetch_repo for documentation downloads, and codewiki_ask_repo for answering repository questions.
Which transport protocols can be configured?
It defaults to stdio for local editor setups, but you can pass --http or --sse flags with a port parameter to serve over HTTP or SSE.