
Repomix MCP Server
by yamadashyio.github.yamadashy/repomixv1.18.1
Pack local or remote codebases into AI-friendly files that LLMs and coding agents can read or search
context tax
~2,607 tok/turn6 tools
security
100/100
cold start
719 ms
freshness
Active23d ago
Our reading of Repomix, from the data
Repomix is an MCP server from yamadashy, listed in the official MCP Registry.
Its 6 tools add about 2,607 tokens to every model turn (measured 2026-10-23).
Maintenance is active: the last public signal was 23 days ago (2026-10-18).
It runs locally on your machine over stdio.
Install Repomix MCP server
Install in Claude Code
claude mcp add repomix -- npx -y repomix --mcpInstall in Cursor
{
"mcpServers": {
"repomix": {
"command": "npx",
"args": [
"-y",
"repomix",
"--mcp"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"repomix": {
"command": "npx",
"args": [
"-y",
"repomix",
"--mcp"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"repomix": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"repomix",
"--mcp"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"repomix": {
"command": "npx",
"args": [
"-y",
"repomix",
"--mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test repomix
Context tax
Connecting this server adds ~2,607 tokens of tool definitions to every model turn (moderate, 6 tools). Measured 2026-10-23 via a sandboxed run; o200k tokenizer, worst case for clients that load all tools up front. How we measure
| Model | Per 1,000 turns | With prompt caching |
|---|---|---|
| Claude Opus 5.5 | $10.43 | $0.521 |
| Claude Sonnet 5.5 | $5.21 | $0.521 |
| Claude Haiku 5.5 | $0.261 | — |
Input prices as of 2026-10-06. Excludes your own prompt and output.
Tools (6)
pack_remote_repository712 tokFetch, 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.
pack_codebase673 tokPackage 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.
generate_skill449 tokGenerate 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 # Direct
attach_packed_output247 tokAttach 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.
grep_repomix_output244 tokSearch for patterns in a Repomix output file using grep-like functionality with JavaScript RegExp syntax. Returns matching lines with optional context lines around matches.
read_repomix_output174 tokRead 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.
Security signals
100/100 — no known issues found as of 2026-10-23, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
No findings from the checks that ran.
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ✓Tool descriptions (prompt-injection and hidden-text heuristics)
- ○Package metadata (install scripts, provenance) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Active — last maintenance signal 23d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-18 · 23d ago · GitHub
Latest release
2026-09-21 · 50d ago · GitHub · v1.18.1
Package published
no data · npm/PyPI
Registry entry updated
2026-09-21 · 50d ago · official registry · v1.18.1
FAQ
›How do I install the Repomix MCP server in Claude Code?
Run: claude mcp add repomix -- npx -y repomix --mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Repomix require an API key?
No required environment variables are declared in its published metadata.
›Can I use Repomix as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Repomix in the official MCP registry?
Yes, as io.github.yamadashy/repomix.
›How many tokens does Repomix add to my context?
Its tool definitions total about 2,607 tokens, resent on every turn.
Sources and method
- Official MCP Registry entry
- updated 2026-09-21
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Tool list (tools/list), measured by us
- 2026-10-23
- Security signals, computed by us
- 2026-10-23
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.