Best for
- Developers who need AI assistants to understand local or remote codebases.
- Code-analysis workflows that need control over token counts and file scope.
- Users of Claude Desktop, VS Code, Cline, Cursor, or Claude Code.
The supplied material identifies Repomix as an MCP server provided by its upstream project. It runs through stdio and offers local and remote repository packaging, output reading and search, and security-checked filesystem reads. Authentication, write access, and private-repository support are not documented.
Repomix is a CLI tool and MCP server that packages local or remote GitHub repositories into consolidated outputs for AI-assisted code analysis. It supports XML, Markdown, JSON, and plain text, plus compression, token counting, file filtering, Git logs, and diffs.
Add the configuration below to an MCP-compatible client, then start the Repomix MCP server with npx -y repomix --mcp. Docker can also be used with ghcr.io/yamadashy/repomix.
{"mcpServers":{"repomix":{"command":"npx","args":["-y","repomix","--mcp"]}}}