Skip to content
aicoolies logo
Repomix logo

Repomix

Pack your entire codebase into a single AI-friendly file

Repomix packages entire repositories into single AI-optimized files for feeding to LLMs like Claude, ChatGPT, and Gemini. It outputs XML, Markdown, JSON, or plain text with token counting, security scanning via Secretlint, and Tree-sitter-based code compression. Works as CLI, MCP server, or Chrome extension for GitHub. Supports Claude Agent Skills generation. 26K+ GitHub stars, MIT licensed, with a web interface at repomix.com for zero-install usage.

About Repomix

Repomix solves the context problem for AI-assisted development: getting your entire codebase into an LLM's context window. Run npx repomix in any project directory and it generates a single file combining all source files with clear separators, an AI-oriented header explaining the structure, and token counts per file and directory. The output respects .gitignore automatically and runs Secretlint security checks to prevent accidentally sharing API keys or credentials.

The MCP server mode is particularly powerful — configure Repomix as an MCP server in Claude Desktop, Cursor, or Cline and AI assistants can directly package and analyze repositories without manual file preparation. The --compress flag uses Tree-sitter parsing to extract key code elements (function signatures, class definitions, type declarations) while stripping implementation details, dramatically reducing token count while preserving structural understanding.

Recent additions include Claude Agent Skills generation (--skill-generate) that creates structured reference packages for Claude Code, and --split-output for automatically splitting large codebases into multiple files sized for AI tools with upload limits. The Chrome extension adds a Repomix button to any GitHub repository page. With MIT license and active development, Repomix has become essential infrastructure for developers using AI coding assistants.

Pricing & Platform Specs

Pricing Summary

Free and 100% open source under the MIT license created by Kazuki Yamada (yamadashy). $0 software license fees, seat charges, or paywalls. Runs locally or in CI/CD pipelines to pack codebases into AI-ready XML/Markdown context with Secretlint and MCP server support.

full pricing breakdown →

Supported Platforms

CLI (npx), MCP Server, Chrome Extension, Web UI

Explore categories, tags & use cases

Run LLMs locally with one command

Tool for running large language models locally on your machine with a simple CLI interface. Download and run Llama 3, Mistral, Gemma, Phi, Code Llama, and dozens of other open-source models with a single command. Features model management, GPU acceleration (NVIDIA/AMD/Apple Silicon), OpenAI-compatible API server, Modelfile for customization, and multi-model switching. Ideal for offline AI development, privacy-sensitive use cases, and local testing. 120K+ GitHub stars.

Open Source

Tool infrastructure for AI agents

Composio connects AI agents to 1,000+ app toolkits with managed auth, delegated user connections, sessions, tool search, MCP gateway support, CLI workflows, and sandboxed workbench execution. It targets developers building Claude, Codex, Cursor, LangChain, CrewAI, OpenAI Agents SDK, and custom agent workflows that need authenticated business actions without hand-rolling every API integration.

freemiumOpen Source
Claude Code logo

Claude Code

Top Pick

Anthropic's agentic coding CLI

Anthropic's agentic CLI coding tool that delegates complex tasks to Claude directly from the terminal. Understands entire codebases via automatic context gathering, edits multiple files, runs shell commands, and manages Git workflows autonomously. Supports CLAUDE.md for persistent project instructions, integrates with VS Code and JetBrains, and uses Claude Opus/Sonnet with extended thinking for complex architectural decisions. Built for terminal-first developers.

freemium

Side-by-Side Comparisons

code2prompt logo
code2prompt
vs
Repomix logo
Repomix

code2prompt vs Repomix — Rust CLI Codebase Serializer vs Node.js Prompt Generator

code2prompt and Repomix both convert codebases into LLM-ready prompts, but they differ in language, template systems, and optimization strategies. code2prompt is a Rust CLI with Handlebars templates and token budget management, while Repomix is a Node.js tool focused on intelligent file selection with built-in security checking and multiple output formats for different AI coding workflows.

Community experience

Sources & verification

Sources checked
Content verified

Verification dates are editorial checks. Routine CMS saves and automatic updatedAt timestamps do not advance them.

FAQ

What is Repomix?

Repomix packages entire repositories into single AI-optimized files for feeding to LLMs like Claude, ChatGPT, and Gemini. It outputs XML, Markdown, JSON, or plain text with token counting, security scanning via Secretlint, and Tree-sitter-based code compression. Works as CLI, MCP server, or Chrome extension for GitHub. Supports Claude Agent Skills generation. 26K+ GitHub stars, MIT licensed, with a web interface at repomix.com for zero-install usage.

Is Repomix free?

Yes — Repomix is open source and free to use. Free and 100% open source under the MIT license created by Kazuki Yamada (yamadashy). $0 software license fees, seat charges, or paywalls. Runs locally or in CI/CD pipelines to pack codebases into AI-ready XML/Markdown context with Secretlint and MCP server support.

Is Repomix open source?

Yes — Repomix is open source.

Is Repomix still maintained?

Yes — Repomix is active. Its listing was last verified on September 6, 2026.

What are the best Repomix alternatives?

The first editor-selected Repomix alternatives are Ollama, Composio, Claude Code.

How does Repomix score in our review?

The published editorial review lists Repomix at 86/100 overall across speed, privacy, and developer experience. Check the review's evidence status and test metadata for its verification level.