codewiki-mcp logo

codewiki-mcp

Free

codewiki.google 的 MCP 服务器 - 为开源仓库提供 AI 驱动的 Wiki 文档。搜索仓库、获取 Wiki 内容、提问关于任何仓库的问题。

FreeFree tier
Inputs: text
Type
Open Source

About codewiki-mcp

codewiki-mcp is a Model Context Protocol (MCP) server that connects AI assistants to codewiki.google, a service that generates AI-powered wiki documentation for open-source GitHub repositories. It enables users to search for repositories indexed by codewiki.google, fetch full documentation in markdown or structured pages, and ask natural-language questions about any repository's code or architecture. The server supports multiple transport protocols (stdio, Streamable HTTP, SSE), includes automatic retry with exponential backoff on errors, and offers Docker support for easy deployment. It also features natural language resolution to extract repository owner/name from user queries. Response metadata such as byte counts and elapsed time are returned on every response.

Key Features

Search Repos: Find repositories indexed by codewiki.google
Fetch Wiki Docs: Get full markdown or structured pages for any repository
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 for containerized deployment
Response Metadata: Byte count and elapsed time on every response

Pros & Cons

Pros
  • Free and open source
  • Easy integration with any MCP-compatible client (Cursor, Claude Desktop, Windsurf, VS Code Copilot)
  • Supports multiple transport protocols for flexible deployment
  • Docker support simplifies setup in containerized environments
  • Automatic retry with backoff improves reliability on transient errors
  • NLP resolution allows natural language queries without strict repo name syntax
  • Includes response metadata for debugging and monitoring
Cons
  • Requires internet access to codewiki.google service for all operations
  • Depends on codewiki.google's indexing coverage – not all repositories may be available
  • No offline mode or local caching of documentation
  • Relatively new project with limited community adoption (13 stars as of scraping)

Best For

Fetching documentation for any open-source GitHub repositorySearching for repositories indexed by codewiki.googleAsking natural language questions about any repository's code or architectureIntegrating AI assistants with codewiki.google for on-demand wiki content

FAQ

What is codewiki-mcp?
codewiki-mcp is an MCP server that connects AI assistants to codewiki.google, a service that generates AI-powered wiki documentation for open-source GitHub repositories.
How do I install and use codewiki-mcp?
You can run it directly using npx without installation: npx -y codewiki-mcp@latest. Alternatively, clone the repository, install dependencies, and build from source. It can be used with MCP-compatible clients like Cursor, Claude Desktop, Windsurf, and VS Code.
What transport protocols does codewiki-mcp support?
It supports stdio (default), Streamable HTTP, and SSE (Server-Sent Events). You can select the transport using command-line flags.
Can I run codewiki-mcp in Docker?
Yes, a multi-stage Alpine Dockerfile is provided. Build the image with docker build -t codewiki-mcp . and run it with docker run -it --rm codewiki-mcp. Environment variables can be passed for configuration.