Repomix▌

by yamadashy
Optimize your codebase for AI with Repomix—transform, compress, and secure repos for easier analysis with modern AI tool
Easily pack your entire codebase into optimized, AI-friendly formats with Repomix. This powerful tool transforms repositories for seamless analysis by AI models like ChatGPT, Claude, Gemini, and more. Repomix offers flexible output styles (XML, Markdown, plain text), intelligent code compression for fewer tokens, token counting, customizable inclusion/exclusion, and strong security checks to prevent leaking sensitive data. With support for GitHub Actions, browser/VSCode extensions, and remote repositories, Repomix streamlines code review, documentation, and AI-driven development workflows—making large projects easier to analyze, refactor, or migrate using modern AI tools.
best for
- / AI-assisted code review and analysis
- / Repository migration and refactoring projects
- / Documentation generation from codebases
- / Large codebase analysis with AI models
capabilities
- / Pack local code directories into AI-optimized formats
- / Clone and package remote GitHub repositories
- / Search through packed codebase files with grep functionality
- / Generate Claude Agent Skills from codebases
- / Read and analyze existing repomix output files
- / Count tokens and compress code intelligently
what it does
Packages entire codebases into consolidated, AI-friendly formats that optimize token usage for analysis by ChatGPT, Claude, and other AI models. Supports local directories and remote GitHub repositories with intelligent compression and security filtering.
about
Repomix is an official MCP server published by yamadashy that provides AI assistants with tools and capabilities via the Model Context Protocol. Optimize your codebase for AI with Repomix—transform, compress, and secure repos for easier analysis with modern AI tool It is categorized under developer tools. This server exposes 8 tools that AI clients can invoke during conversations and coding sessions.
how to install
You can install Repomix in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
license
MIT
Repomix is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
readme
Optimize your codebase for AI with Repomix—transform, compress, and secure repos for easier analysis with modern AI tool
TL;DR: Packages entire codebases into consolidated, AI-friendly formats that optimize token usage for analysis by ChatGPT, Claude, and other AI models. Supports local directories and remote GitHub repositories with intelligent compression and security filtering.
What it does
- Pack local code directories into AI-optimized formats
- Clone and package remote GitHub repositories
- Search through packed codebase files with grep functionality
- Generate Claude Agent Skills from codebases
- Read and analyze existing repomix output files
- Count tokens and compress code intelligently
Best for
- AI-assisted code review and analysis
- Repository migration and refactoring projects
- Documentation generation from codebases
- Large codebase analysis with AI models
Highlights
- Multiple output formats (XML, Markdown, plain text)
- Built-in security filtering for sensitive data
- Token optimization for AI model efficiency