Repomix Codebase Packager MCP

Token-counted repository bundler and grep-free structural context engine

Packs workspace directories into clean XML or Markdown context slices while honoring gitignore rules and exact token budgets.

Install & Client JSON Configurations

All client configuration manifests are exposed directly below without hidden tabs for zero-click copying.

CLI Install Command
npx -y repomix --mcp
Claude Desktop · claude_desktop_config.json
{
  "mcpServers": {
    "repomix": {
      "command": "npx",
      "args": [
        "-y",
        "repomix",
        "--mcp"
      ]
    }
  }
}
Cursor · .cursor/mcp.json
{
  "mcpServers": {
    "repomix": {
      "command": "npx",
      "args": [
        "-y",
        "repomix",
        "--mcp"
      ]
    }
  }
}
VS Code · .vscode/mcp.json
{
  "servers": {
    "repomix": {
      "command": "npx",
      "args": [
        "-y",
        "repomix",
        "--mcp"
      ]
    }
  }
}

Eliminating Fragmented File Reads

When agents issue dozens of tiny sequential file reads across large monorepos, latency compounds rapidly. Repomix Codebase Packager MCP generates deterministic file trees with token counts per module so the assistant fetches only high-signal code slices.

Engineering Highlights

  • Excludes build artifacts, lockfiles, and binary blobs automatically via gitignore filters.
  • Compresses AST comments or whitespace optionally when scanning unfamiliar repositories.
  • Lightweight six-tool interface fits smoothly inside multi-server IDE setups.

Alternative Servers in This Category

Developer Tools
Core Ecosystem

Git Local History MCP

Inspect branch diffs, blame history, and commit regressions locally offline

stdiononeopen-source
Tool Surface6 tools
Reliability Score95 / 100
1040 tok · 13,800 starsInspect config
Developer Tools
Long-Tail Niche

ast-grep Structural Search MCP

Syntax-aware AST pattern matching across TypeScript, Python, Go, and Rust

stdiononeopen-source
Tool Surface4 tools
Reliability Score92 / 100
890 tok · 1,150 starsInspect config
Developer Tools
Long-Tail Niche

Biome Lint & Format MCP

Sub-second Rust linting and import hygiene checks for TS/JS projects

stdiononeopen-source
Tool Surface3 tools
Reliability Score90 / 100
650 tok · 590 starsInspect config