Codewiki MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add codewiki-mcp -- npx -y codewiki-mcp@latest
README.md

Search, fetch docs, and ask questions about any open-source repo

πŸ“š codewiki-mcp

MCP server for codewiki.google β€” search, fetch docs, and ask questions about any open-source repo

πŸ‡·πŸ‡Ί Русский | πŸ‡¬πŸ‡§ 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

Feature Description
πŸ” Search Repos Find repositories indexed by codewiki.google
πŸ“„ Fetch Wiki Docs Get full markdown or structured pages for any repo
πŸ’¬ Ask Questions Natural-language Q&A with conversation history
🧠 NLP Repo Resolution Type naturally β€” wink-nlp extracts keywords and resolves to owner/repo
πŸ“‘ Multiple Transports stdio (default), Streamable HTTP, SSE
πŸ”„ Retry with Backoff Automatic retries with exponential backoff on 5xx errors
🐳 Docker Support Multi-stage Alpine build
πŸ“Š Response Metadata Byte count and elapsed time on every response

πŸš€ Quick Start

Using npx (no install)

npx -y codewiki-mcp@latest

From source

git clone https://github.com/izzzzzi/codewiki-mcp.git
cd codewiki-mcp
npm install
npm run build

Transports

# stdio (default)
node dist/cli.js

# Streamable HTTP
node dist/cli.js --http --port 3000

# SSE
node dist/cli.js --sse --port 3001

🐳 Docker

docker build -t codewiki-mcp .

# stdio
docker run -it --rm codewiki-mcp

# HTTP
docker run -p 3000:3000 codewiki-mcp --http

# with environment variables
docker run -p 3000:3000 \
  -e CODEWIKI_REQUEST_TIMEOUT=60000 \
  -e CODEWIKI_MAX_RETRIES=5 \
  -e GITHUB_TOKEN=ghp_your_token \
  codewiki-mcp --http

πŸ”§ MCP Client Configuration

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "codewiki-mcp": {
      "command": "npx",
      "args": ["-y", "codewiki-mcp@latest"]
    }
  }
}
Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "codewiki-mcp": {
      "command": "npx",
      "args": ["-y", "codewiki-mcp@latest"]
    }
  }
}
Claude Code
claude mcp add codewiki-mcp -- npx -y codewiki-mcp@latest
Windsurf

Add to your Windsurf MCP config:

{
  "mcpServers": {
    "codewiki-mcp": {
      "command": "npx",
      "args": ["-y", "codewiki-mcp@latest"]
    }
  }
}
VS Code (Copilot)

Add to .vscode/mcp.json:

{
  "servers": {
    "codewiki-mcp": {
      "command": "npx",
      "args": ["-y", "codewiki-mcp@latest"]
    }
  }
}
Local development
{
  "mcpServers": {
    "codewiki-mcp": {
      "command": "node",
      "args": ["/path/to/codewiki-mcp/dist/cli.js"]
    }
  }
}

πŸ’‘ Usage

Prompts you can use in any MCP-compatible client:

codewiki fetch how routing works in Next.js
codewiki search state management libraries
codewiki ask how does React fiber reconciler work?

Fetch complete documentation:

codewiki fetch vercel/next.js
codewiki fetch https://github.com/fastify/fastify

Get structured pages:

codewiki fetch pages tailwindlabs/tailwindcss

Ask with natural language:

codewiki ask fastify how to add authentication?

πŸ› οΈ MCP Tools

πŸ” codewiki_search_repos

Search repositories indexed by codewiki.goog

Tools (1)

codewiki_search_reposSearch repositories indexed by codewiki.google

Environment Variables

CODEWIKI_REQUEST_TIMEOUTTimeout for requests in milliseconds
CODEWIKI_MAX_RETRIESMaximum number of retries for failed requests
GITHUB_TOKENGitHub personal access token for API authentication

Configuration

claude_desktop_config.json
{"mcpServers": {"codewiki-mcp": {"command": "npx", "args": ["-y", "codewiki-mcp@latest"]}}}

Try it

β†’codewiki fetch how routing works in Next.js
β†’codewiki search state management libraries
β†’codewiki ask how does React fiber reconciler work?
β†’codewiki fetch vercel/next.js
β†’codewiki ask fastify how to add authentication?

Frequently Asked Questions

What are the key features of Codewiki MCP?

Search repositories indexed by codewiki.google. Fetch full markdown or structured documentation for any repository. Natural-language Q&A with conversation history. NLP-based repository resolution from natural language queries. Support for multiple transports including stdio, HTTP, and SSE.

What can I use Codewiki MCP for?

Quickly finding documentation for unfamiliar open-source libraries. Asking specific implementation questions about a repository without leaving the IDE. Retrieving structured wiki pages for complex projects. Integrating repository knowledge into AI-assisted coding workflows.

How do I install Codewiki MCP?

Install Codewiki MCP by running: npx -y codewiki-mcp@latest

What MCP clients work with Codewiki MCP?

Codewiki MCP works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Codewiki MCP docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare