Skip to main content
Glama
README.md
# CodeWiki MCP Server

<p align="center">
  <img src="https://raw.githubusercontent.com/Cloudmeru/CodeWiki-MCP/main/docs/favicon.svg" alt="CodeWiki MCP logo" width="96" height="96">
</p>

<p align="center">
  <a href="https://pypi.org/project/codewiki-mcp/"><img src="https://img.shields.io/pypi/v/codewiki-mcp" alt="PyPI"></a>
  <a href="https://github.com/Cloudmeru/CodeWiki-MCP/blob/main/LICENSE"><img src="https://img.shields.io/github/license/Cloudmeru/CodeWiki-MCP" alt="License"></a>
  <a href="https://python.org"><img src="https://img.shields.io/pypi/pyversions/codewiki-mcp" alt="Python"></a>
</p>

An [MCP](https://modelcontextprotocol.io/) server that brings [Google CodeWiki](https://codewiki.google/) into your editor. Query any GitHub, GitLab, or Bitbucket repository and get AI-generated answers about the codebase — powered by Gemini.

**[Documentation](https://cloudmeru.github.io/CodeWiki-MCP)** · **[Release Notes](https://cloudmeru.github.io/CodeWiki-MCP/release-notes.html)** · **[PyPI](https://pypi.org/project/codewiki-mcp/)**

---

## Sample Conversation

<p align="center">
  <img src="https://raw.githubusercontent.com/Cloudmeru/CodeWiki-MCP/main/docs/sample_chat.gif" alt="Sample conversation using CodeWiki MCP and CodeWiki Agent" width="800">
</p>

<p align="center">
  <em>Sample conversation using CodeWiki MCP server with the CodeWiki Agent in VS Code Chat.</em>
</p>

---

## Quick Start

```bash
pip install codewiki-mcp
playwright install chromium
```

## Client Setup

### VS Code

Open **Command Palette** (`Ctrl+Shift+P`) → **MCP: Add Server** → **Command (stdio)** → enter `codewiki-mcp`.

Or add to `.vscode/mcp.json`:

```json
{
  "servers": {
    "codewiki-mcp": {
      "type": "stdio",
      "command": "codewiki-mcp"
    }
  }
}
```

### Claude Desktop

Add to `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "codewiki": {
      "command": "codewiki-mcp"
    }
  }
}
```

### Docker

```bash
docker build -t codewiki-mcp .
docker run -it --rm codewiki-mcp
```

## Tools

| Tool | Description |
|------|-------------|
| `codewiki_list_topics` | Topics overview with previews |
| `codewiki_read_structure` | JSON table of contents |
| `codewiki_read_contents` | Full or section-specific docs (paginated) |
| `codewiki_search_wiki` | Gemini-powered Q&A chat |
| `codewiki_request_indexing` | Submit unindexed repos for indexing |

All tools accept `repo_url` as a full URL or `owner/repo` shorthand.

## Documentation

Configuration, architecture, agentic AI guides, and more — see the **[full documentation](https://cloudmeru.github.io/CodeWiki-MCP)**.

## License

MIT

TDQS

A4.9/5.0

Scored across 5 tools

Disambiguation4/5

The tool purposes are mostly distinct, but `codewiki_list_topics` and `codewiki_read_structure` both return structural information, which could initially confuse an agent without careful reading of descriptions.

Naming Consistency5/5

All tools follow a consistent `codewiki_verb_noun` pattern in snake_case, making the naming predictable and easy to understand.

Tool Count5/5

With 5 tools covering discovery, reading, searching, and indexing requests, the count is well-scoped for the server's documentation-focused purpose.

Completeness5/5

The tool set covers all essential operations for a read-only documentation server: overview, structure, content retrieval, search, and handling missing repositories.

Maintenance

ActivityInactive
ResponsivenessNo issues