Repomix
Unclaimed📦 Repomix is a powerful tool that packs your entire repository into a single, AI-friendly file. Perfect for when you need to feed your codebase to Large Language Models (LLMs) or other AI tools like Claude, ChatGPT, DeepSeek, Perplexity, Gemini, Gemma, Llama, Grok, and more.
Install
npx repomix@latestUnclaimed listing
Is this your MCP server?
This listing was auto-indexed from the public record. Claim it to edit the page, set compatibility and unlock growth tools. Takes under two minutes.
Claim this serverTools (16)
afterLines
(Optional) Number of context lines to show after each match (like grep -A). Takes precedence over contextLines.
beforeLines
(Optional) Number of context lines to show before each match (like grep -B). Takes precedence over contextLines.
compress
(Optional, default: false) Enable Tree-sitter compression to extract essential code signatures and structure while removing implementation details. Reduces token usage by ~70% while preserving semantic meaning. Generally not needed since greprepomixoutput allows incremental content retrieval. Use on
contextLines
(Optional, default: 0) Number of context lines to show before and after each match. Overridden by beforeLines/afterLines if specified.
directory
Absolute path to the directory to pack
endLine
(Optional) Ending line number (1-based, inclusive). If not specified, reads to end.
ignoreCase
(Optional, default: false) Perform case-insensitive matching
ignorePatterns
(Optional) Specify additional files to exclude using fast-glob patterns. Multiple patterns can be comma-separated (e.g., "test/,.spec.js", "nodemodules/,dist/"). These patterns supplement .gitignore, .ignore, and built-in exclusions.
includePatterns
(Optional) Specify files to include using fast-glob patterns. Multiple patterns can be comma-separated (e.g., "/.{js,ts}", "src/,docs/"). Only matching files will be processed.
outputId
ID of the Repomix output file to read
outputPatterns
(Optional) Per-file inclusion levels, mirroring the config-file output.patterns option. An array of { pattern, compress?, directoryStructureOnly? } entries; the first matching pattern wins, directoryStructureOnly takes precedence over compress, and a match with neither flag forces full content (usef
path
Path to a directory containing repomix-output.xml or direct path to a packed repository XML file
pattern
Search pattern (JavaScript RegExp regular expression syntax)
remote
GitHub repository URL or user/repo format (e.g., "yamadashy/repomix", "https://github.com/user/repo", or "https://github.com/user/repo/tree/branch")
startLine
(Optional) Starting line number (1-based, inclusive). If not specified, reads from beginning.
topFilesLength
(Optional, default: 10) Number of largest files by size to display in the metrics summary for codebase analysis.