Metadata-Version: 2.4
Name: codewiki-mcp
Version: 1.0.4
Summary: MCP server providing AI-powered access to Google CodeWiki for open-source repositories
Author: Cloudmeru
License: MIT
Project-URL: Homepage, https://github.com/Cloudmeru/CodeWiki-MCP
Project-URL: Repository, https://github.com/Cloudmeru/CodeWiki-MCP
Project-URL: Issues, https://github.com/Cloudmeru/CodeWiki-MCP/issues
Keywords: mcp,codewiki,google,documentation,ai,code-analysis
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Documentation
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: mcp
Requires-Dist: pydantic>=2.0
Requires-Dist: httpx>=0.27
Requires-Dist: beautifulsoup4>=4.12
Requires-Dist: lxml>=5.0
Requires-Dist: playwright>=1.40
Requires-Dist: cachetools>=5.3
Provides-Extra: test
Requires-Dist: pytest>=7.0; extra == "test"
Requires-Dist: pytest-mock; extra == "test"
Requires-Dist: pytest-asyncio; extra == "test"

# CodeWiki MCP Server

  CodeWiki MCP logo

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/)**

---

## 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": {
    "codewikiMcp": {
      "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 |
|------|-------------|
| `list_code_wiki_topics` | Topics overview with previews |
| `read_wiki_structure` | JSON table of contents |
| `read_wiki_contents` | Full or section-specific docs (paginated) |
| `search_code_wiki` | Gemini-powered Q&A chat |

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
