What makes Readedit different from using separate Read/Edit tools?
It reduces tool calls by 80–95% for multi-file refactoring because one ReadEdit call replaces a read-then-edit pair.
@abnersajr
基本情報
MCP server that combines Read+Edit file operations into single tool calls. 80-95% fewer tool calls formulti-file refactoring across Claude, Cursor, Windsurf, and more.
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"readedit": {
"command": "npx",
"args": [
"-y",
"mcp-readedit"
]
}
}
}Read a file and optionally edit it in one call. For single-file tasks, use this instead of separate read_file + edit calls. Returns file content. Edit params (old_string, new_string) are optional — omit them for read-only.
Edit multiple files when you already have their contents in context. ALWAYS use this instead of multiple separate edit calls. Each edit uses exact string or regex replacement. For read+edit combos, use multi_read_edit instead.
Read and optionally edit multiple files in one call. ALWAYS batch multi-file operations here instead of separate read_file/edit calls. Read-only ops return file content. Edit ops return compact results by default (no content) to save tokens — set include_content=true to get post-edit content, include_original=true for diffing.
Readedit is an MCP server that gives AI coding assistants batch file operations, combining read and edit into single tool calls to reduce round-trips. It is designed for developers using Claude Desktop, Claude Code, Cursor, Windsurf, Cline, Continue, or Zed who want faster, token-efficient multi-file refactoring.
Run directly with npx mcp-readedit (no install needed) or install globally with npm install -g mcp-readedit. Add the server configuration to your MCP client’s settings (e.g., Claude Desktop JSON config, Claude Code CLI, Cursor .cursor/mcp.json, Windsurf Settings, Cline MCP Servers, Continue .continue/config.yaml, or Zed settings.json). Four tools are available: read_edit, multi_edit, multi_read_edit, and get_gain.
multi_editmulti_read_editget_gainIt reduces tool calls by 80–95% for multi-file refactoring because one ReadEdit call replaces a read-then-edit pair.
Node.js 20 or later (LTS recommended). No other runtime dependencies are required.
In a local SQLite database that auto-creates on first use. The database tracks each tool call and estimates tokens saved (~200 per avoided call).
Yes. If installed globally, run `readedit gain` in the terminal for summary, daily, recent, or all breakdowns (JSON export available).
Add the provided instructions block to your project’s `CLAUDE.md`, `AGENTS.md`, `.cursorrules`, or globally in `~/.claude/AGENTS.md`.

Model Context Protocol Servers
MCP Toolbox for Databases is an open source MCP server for databases.
🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
This open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
コメント