Repomix

by aeolun

Not rated
GitHub

About

Packs code repositories into a single, AI-friendly file using the repomix tool.

Details

Author
aeolun
Categories
Developer Tools

Setup

Install Repomix in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/aeolun/repomix-mcp

Follow the installation instructions in the repository README, then restart your MCP client.

A Model Context Protocol (MCP) server that provides access to the[repomixtool for packing repositories into AI-friendly files. - **Input paths**: The server restricts file access to the directory from which it was started. Any attempts to access files outside this directory (like`/etc/`) will be denied. - **Output files**: All output is written to the system's temporary directory and automatically cleaned up after the contents are returned. - **Remote URLs**: Remote repository URLs are still allowed for processing. ``` `claude mcp add --scope user repomix node /path/to/repomix-mcp/dist/index.js` ``` Add this server to your MCP client configuration in your`claude_desktop_config.json`: ``` `{ "mcpServers": { "repomix": { "command": "node", "args": ](https://github.com/yamadashy/repomix)["/path/to/repomix-mcp/dist/index.js"] } } }` ``` Estimate the size of[repomixoutput without retrieving the content. Use this first to check if the output will fit in your context window. - File size in KB/MB - Estimated token count (~4 characters per token) - Whether compression is enabled ``` `Repomix output size estimate: - Size: 5.27 KB (0.01 MB) - Estimated tokens: ~1,349 - Compression: disabled Use the repomix tool with these same parameters to retrieve the actual content.` ``` Pack a repository into a single, AI-friendly file. Returns the contents of the generated file. **Best Practice**: Always use`repomix-estimate`first to check the output size, then use`repomix`with appropriate parameters (especially`compress=true`for large repos). - First check size:`use repomix-estimate tool` - If size is reasonable:`use repomix tool` - If too large, try with compression:`use repomix-estimate tool with compress=true` - Then retrieve:`use repomix tool with compress=true` **Workflow**: Always estimate first, then retrieve only if the size fits your needs. ``` `This file is a merged representation of a subset of the codebase, containing specifically included files, combined into a single document by Repomix. <file_summary> This section contains a summary of this file. <purpose> This file contains a packed representation of the entire repository's contents. It is designed to be easily consumable by AI systems for analysis, code review, or other automated processes. </purpose> <file_format> The content is organized as follows: 1. This summary section 2. Repository information` ``` This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases. Create crafted UI components inspired by the best 21st.dev design engineers. Bring agent evaluations, observability, and synthetic test set generation directly into your IDE for free with Galileo's new MCP server An MCP server to help AI assistants to answer questions and generate AccelByte Extend SDK code more effectively . MCP server for AI Diagram Maker — generate beautiful software engineering diagrams directly inside Cursor, Claude Desktop, Claude Code, or any MCP-compatible AI agent ALAPI MCP Tools,Call hundreds of API interfaces via MCP AI-powered SVG animation generator that transforms static files into animated SVG components using the Allyson platform MCP server that gives AI assistants on-demand access to 1,500+ amCharts docs, ~300 code examples, and 1000+ class API references. APIMatic MCP Server is used to validate OpenAPI specifications using APIMatic. The server processes OpenAPI files and returns validation summaries by leveraging APIMatic’s API. One shared context layer for AI agents and humans — live API specs, DB schemas, and versioned contracts across repos so every agent and teammate works from the same source of truth. Build and deploy full-stack Next.js apps with 98 tools for React, AWS, and MongoDB](https://github.com/yamadashy/repomix)
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.