Skip to main content
MCP server CX Codex

parecode — Claude Code MCP server: search and setup

An MCP server for token-aware code search and atomic edits across multiple files. It helps agents inspect large repositories with bounded context.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add parecode -- npx -y parecode
Open on GitHub

What parecode does

parecode exposes ParecodeSearch, ParecodeExpand, and ParecodeEdit to an MCP client. Search runs through ripgrep, returns matches with nearby lines, and reports estimated token use. When a result is clipped, the agent can request a wider range instead of loading the whole file.

ParecodeEdit batches changes across files, checks file stats before and after an edit, and writes same-directory renames atomically. Multiple related patterns can be searched in parallel. The server also keeps a local JSONL session log through parecode stats; runtime network calls are not used.

Node.js 20 or newer and ripgrep on PATH are required. parecode shells out to the system binary, so searches fail when ripgrep is missing from PATH.

What it helps with

  • trace every use of a symbol with nearby context
  • widen a located code range without reading the whole file
  • apply one atomic change across several files
  • search related patterns in a single request
  • inspect estimated token savings from local session logs

Example prompts for the agent

  • Use ParecodeSearch to find every call to createUser and include nearby context.
  • Use ParecodeExpand on src/users.ts for the range around lines 40–65.
  • Replace oldApi with newApi across all matching files using ParecodeEdit.

How to install parecode

Platform CLI

claude mcp add parecode -- npx -y parecode

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about parecode

How do I install parecode in Claude Code?

Run claude mcp add parecode -- npx -y parecode. Node.js 20 or newer and ripgrep on PATH are required.

What does parecode do?

It gives coding agents bounded code search plus atomic multi-file editing. ParecodeSearch and ParecodeExpand control how much code is loaded, while ParecodeEdit applies batched changes.

What does parecode require to run?

You need Node.js 20 or newer, ripgrep on PATH, and an MCP client. The server uses the system ripgrep binary rather than bundling its own.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor