
Parecode
Ripgrep-backed code search and multi-file editing designed to keep coding agents under budget. Exposes ParecodeSearch with per-match token estimates and automatic context window merging, ParecodeExpand for widening ranges without full file reads, and ParecodeEdit for atomic batched writes with fuzzy matching. The init command wires up a SessionStart hook that nudges Claude toward these tools over native Grep/Read/Edit, plus an optional Haiku-powered subagent for exploration queries. Best on search-heavy tasks like refactors or call-site edits where you'd otherwise burn tokens on repeated grep-read-edit loops. Measured A/B tests show 40% cost cuts and 75% fewer turns on multi-file symbol rewrites. Local JSONL logs track savings with a retroactive scan mode for past sessions.
- GitHub stars
- 5
- tools
- 3
- transport
- STDIO
- last updated
- Jun 10, 2026
Tools
3 toolsPublic tool metadata for what this MCP can expose to an agent.
ParecodeSearchripgrep-backed search that returns matches with surrounding context windows in a single call, with per-file byte chunking so large result sets do not blow up your context.
ripgrep-backed search that returns matches with surrounding context windows in a single call, with per-file byte chunking so large result sets do not blow up your context.
No parameter schema in public metadata yet.
ParecodeExpandWiden a known (file, startLine, endLine) range with optional contextBefore / contextAfter padding.
Widen a known (file, startLine, endLine) range with optional contextBefore / contextAfter padding.
No parameter schema in public metadata yet.
ParecodeEditBatched multi-file edits with whitespace-tolerant fuzzy matching (and an opt-in Unicode-lookalike mode), pre/post stat conflict detection, and atomic same-directory rename writes.
Batched multi-file edits with whitespace-tolerant fuzzy matching (and an opt-in Unicode-lookalike mode), pre/post stat conflict detection, and atomic same-directory rename writes.
No parameter schema in public metadata yet.
Sponsors
Readme
parecode
An MCP server that gives coding agents context-window-aware search and safe, atomic multi-file edits — built to cut token usage on large codebases without giving up correctness.
Requirements
- Node.js 20 or newer (ESM, native test runner, stable
fetch-free runtime). - ripgrep on
PATH(rgon Linux/macOS,rg.exeon Windows). Install via your package manager:- macOS:
brew install ripgrep - Debian/Ubuntu:
apt install ripgrep - Windows:
winget install BurntSushi.ripgrep.MSVCorchoco install ripgrep
- macOS:
- A supported MCP client (Claude Code is the reference target).
Parecode does not bundle ripgrep — it shells out to the system binary so you stay on a single, audited version.
Install
npm install -g parecode
Pure JavaScript — no native dependencies, no C/C++ toolchain required.
Quick start
Register the server with Claude Code:
Details
- Repository
- github.com/basilskywalk/parecode
- Category
- Search & Web Crawling
- Package
parecode- Transport
- STDIO
- Registry
- MCP registry, active