1. Conduid
  2. AI
  3. Repomix
MCP server · AI

Repomix

📦 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.

Unclaimed MIT ai
87Strong

Scored 20 hours ago · breakdown

About Repomix

Repomix is an MCP server published by yamadashy in the AI category: 📦 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. Conduid read 8 tools from its source: attach_packed_output, file_system_read_directory, file_system_read_file, generate_skill, grep_repomix_output, pack_codebase and 2 more. It is published to npm as repomix and starts with npx.

The repository has 30K stars and 1.7K forks, is licensed MIT, and its last commit was on 1 Dec 2026. The latest release is v1.19.0 (8 Nov 2026): This release moves the MCP server to SDK v2 with live progress and cancellation, makes --compress output far more accurate, and brings a big round of bug fixes from firs… It follows v1.18.1 (21 Sep 2026), and the 5 most recent releases go back to v1.16.1 (11 Jul 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions.

Install

Claude Code
claude mcp add repomix -- npx -y repomix --mcp
Run
npx -y repomix --mcp
From source
git clone https://github.com/yamadashy/repomix

Tools (8)

attach_packed_outputAttach an existing Repomix packed output file for AI analysis. This tool accepts either a directory containing a repomix output file or a direct path to a packed repository file. Supports multiple formats: XML (structured with <file> tags), Markdown (human-readable with ## headers and code blocks), JSON (machine-readable with files as key-value pairs), and Plain text (simple format with separators). Calling the tool again with the same file path will refresh the content if the file has been updated. It will return in that case a new output ID and the updated content.
ParameterTypeDescription
path *stringPath to a directory containing repomix output file or direct path to a packed repository file (supports .xml, .md, .txt, .json formats)
topFilesLengthnumberNumber of largest files by size to display in the metrics summary (default: 10)
file_system_read_directory
file_system_read_file
generate_skillGenerate a Claude Agent Skill from a local code directory. Creates a skill package containing SKILL.md (entry point with metadata) and references/ folder with summary.md, project-structure.md, files.md, and optionally tech-stacks.md. This tool creates Project Skills in <project>/.claude/skills/<name>/, which are shared with the team via version control. Output Structure: .claude/skills/<skill-name>/ ├── SKILL.md # Entry point with usage guide └── references/ ├── summary.md # Purpose, format, and statistics ├── project-structure.md # Directory tree with line counts ├── files.md # All file contents └── tech-stacks.md # Languages, frameworks, dependencies (if detected) Example Path: /path/to/project/.claude/skills/repomix-reference-myproject/
ParameterTypeDescription
compressbooleanEnable Tree-sitter compression to extract essential code signatures and structure while removing implementation details (default: false).
directory *stringDirectory to pack (Absolute path)
ignorePatternsstringSpecify additional files to exclude using fast-glob patterns. Multiple patterns can be comma-separated (e.g., "test/**,*.spec.js").
includePatternsstringSpecify files to include using fast-glob patterns. Multiple patterns can be comma-separated (e.g., "**/*.{js,ts}", "src/**,docs/**").
skillNamestringName of the skill to generate (kebab-case, max 64 chars). Will be normalized if not in kebab-case. Used for the skill directory name and SKILL.md metadata. If omitted, auto-generates as "repomix-reference-<folder-name>".
grep_repomix_outputSearch for patterns in a Repomix output file using grep-like functionality with JavaScript RegExp syntax. Returns matching lines with optional context lines around matches.
ParameterTypeDescription
afterLinesnumberNumber of context lines to show after each match (like grep -A). Takes precedence over contextLines.
beforeLinesnumberNumber of context lines to show before each match (like grep -B). Takes precedence over contextLines.
contextLinesnumberNumber of context lines to show before and after each match (default: 0). Overridden by beforeLines/afterLines if specified.
ignoreCasebooleanPerform case-insensitive matching (default: false)
outputId *stringID of the Repomix output file to search
pattern *stringSearch pattern (JavaScript RegExp regular expression syntax)
pack_codebasePackage a local code directory into a consolidated file for AI analysis. This tool analyzes the codebase structure, extracts relevant code content, and generates a comprehensive report including metrics, file tree, and formatted code content. Supports multiple output formats: XML (structured with <file> tags), Markdown (human-readable with ## headers and code blocks), JSON (machine-readable with files as key-value pairs), and Plain text (simple format with separators). Also supports Tree-sitter compression for efficient token usage.
pack_remote_repositoryFetch, clone, and package a GitHub repository into a consolidated file for AI analysis. This tool automatically clones the remote repository, analyzes its structure, and generates a comprehensive report. Supports multiple output formats: XML (structured with <file> tags), Markdown (human-readable with ## headers and code blocks), JSON (machine-readable with files as key-value pairs), and Plain text (simple format with separators). Also supports various GitHub URL formats. Files matching known secret formats are excluded, but that scan is a heuristic, not an access boundary.
ParameterTypeDescription
compressbooleanEnable 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 grep_repomix_output allows incremental content retrieval. Use only when you specifically need the entire codebase content for large repositories (default: false).
ignorePatternsstringSpecify additional files to exclude using fast-glob patterns. Multiple patterns can be comma-separated (e.g., "test/**,*.spec.js", "node_modules/**,dist/**"). These patterns supplement .gitignore and built-in exclusions.
includePatternsstringSpecify 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. Useful for focusing on specific parts of the codebase.
remote *stringGitHub repository URL or user/repo format (e.g., "yamadashy/repomix", "https://github.com/user/repo", or "https://github.com/user/repo/tree/branch")
stylestringOutput format style: xml (structured tags, default), markdown (human-readable with code blocks), json (machine-readable key-value), or plain (simple text with separators)
topFilesLengthnumberNumber of largest files by size to display in the metrics summary for codebase analysis (default: 10)
read_repomix_outputRead the contents of a Repomix-generated output file. Supports partial reading with line range specification for large files. This tool is designed for environments where direct file system access is limited (e.g., web-based environments, sandboxed applications). For direct file system access, use standard file operations.
ParameterTypeDescription
endLinenumberEnding line number (1-based, inclusive). If not specified, reads to end.
outputId *stringID of the Repomix output file to read
startLinenumberStarting line number (1-based, inclusive). If not specified, reads from beginning.

Security checks

Static checks derived from the repository 22 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 10K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by flake.lock and 4 more.
  • ✓No dynamic code executionScanned 226 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdiosrc/mcp/mcpServer.ts:2
Starts other programs
No calls that start other programs
Outbound network calls
1 callwebsite/client/components/api/client.ts:124
Writes or deletes files
35 callssrc/cli/actions/initAction.ts:132, src/cli/actions/initAction.ts:133, src/cli/actions/initAction.ts:195
Lockfile
flake.lock and 4 more

Pattern matches on the source text of 226 files: places to read, not proof of what the code does at run time.

Releases

v1.19.0v1.19.0 · 8 Nov 2026This release moves the MCP server to SDK v2 with live progress and cancellation, makes `--compress` output far more accurate, and brings a big round of bug fixes from first-time contributors! What's New 🚀 MCP Server on SDK v2 and the…
v1.18.1v1.18.1 · 21 Sep 2026This patch release fixes a security issue in the CLI's git handling, along with the Windows `.gitignore` crash and a set of contributor bug fixes! Security Fix 🔒 Repository-Level Git Config Is No Longer Executed (GHSA-4p5g-gh74-q524)…
v1.18.0v1.18.0 · 8 Aug 2026This release introduces sandbox mode for the MCP server, confining it to a single workspace directory, along with a set of security hardening changes across the MCP tool surface and remote repository processing! What's New 🚀 MCP Sandbox…
v1.17.0v1.17.0 · 21 Jul 2026This release introduces custom file processors, an interactive confirmation before a remote repository's config is trusted, and per-file inclusion levels for the MCP pack tools! What's New 🚀 Custom File Processors (#1720, #933) You can now…
v1.16.1v1.16.1 · 11 Jul 2026This release is a bug-fix patch: it plugs a WebAssembly memory leak, extends comment removal to more JavaScript/TypeScript module files, and fixes the token count tree for underscore-prefixed directories and the directory tree on Windows.…

README

The repository's README runs to about 10K words, fetched 22 hours ago. The original in the repository is authoritative.

Read full README
Questions

About Repomix

How do I install Repomix?

In Claude Code, run claude mcp add repomix -- npx -y repomix --mcp. Other MCP clients take the command after "--" in their server configuration.

Is Repomix safe to use with an AI agent?

Its trust score is 87 out of 100 (strong). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 226 source files found that it serves MCP over stdio, makes outbound network calls (1 call) and writes or deletes files (35 calls). Its dependencies are pinned by flake.lock and 4 more. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Repomix still maintained?

Yes — the latest release is v1.19.0 (8 Nov 2026), and the last commit was yesterday. The repository has 30K stars and 182 open issues.

What tools does Repomix provide?

Conduid read 8 tools from the source: attach_packed_output, file_system_read_directory, file_system_read_file, generate_skill, grep_repomix_output, pack_codebase, pack_remote_repository and read_repomix_output. 5 of them publish their parameters, listed under Tools above.

What license is Repomix released under?

The repository declares the MIT license. That applies to the latest release, v1.19.0, as well.