
A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

A Model Context Protocol server that lets LLMs edit text files using semantic chunks rather than line numbers, with immediate application and undo support.
MCP Chunk Editor is cataloged as an MCP server attributed to dwymark. A Model Context Protocol server that lets LLMs edit text files using semantic chunks rather than line numbers, with immediate application and undo support. It is categorized under file systems-docs. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP Chunk Editor are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It parses files with Universal CTags to identify meaningful semantic units such as functions, classes, and methods, which become the chunks the LLM operates on.
Yes; by default the maximum chunk size is 100 lines, and it can be customized with a --max-chunk-size argument.
Changes are immediately applied and a preview of the changes is returned for verification.
README.md · 96056564dad4 · 采集于 2026-11-13 14:02:10 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A Model Context Protocol server that provides chunk-oriented text file editing capabilities for LLMs. This server enables LLMs to edit files using semantically meaningful chunks instead of line numbers, resulting in more natural and efficient editing operations.
read_chunks - Retrieve chunks of a file, either all chunks or a specific range.
file_path (string, required): Path to the file to readchunk_indices (array of integers, optional): List of chunk indices to retrieveinclude_adjacent (boolean, optional): Include chunks before and after for contextencoding (string, optional): File encoding (default: utf-8)replace_chunks - Replace the content of one or more chunks and immediately apply the changes.
file_path (string, required): Path to the file to modifyreplacements (array, required): List of {index, new_content} objectsencoding (string, optional): File encoding (default: utf-8)undo - Revert the last change made by a replace_chunks operation.
file_path (string, required): Path to the file to revert changes increate_file - Create a new file with given content.
file_path (string, required): Path to the file to createcontent (string, required): Content to write to the fileencoding (string, optional): File encoding (default: utf-8)delete_file - Delete a file.
file_path (string, required): Path to the file to deleteapt-get install universal-ctags on Debian/Ubuntu)When using uv no specific installation is needed. We will
use uvx to directly run mcp-chunk-editor.
Alternatively you can install mcp-chunk-editor via pip:
pip install mcp-chunk-editor
After installation, you can run it as a script using:
python -m mcp_chunk_editor
Add to your Claude settings:
"mcpServers": {
"chunk-editor": {
"command": "uvx",
"args": ["mcp-chunk-editor"]
}
}
"mcpServers": {
"chunk-editor": {
"command": "docker",
"args": ["run", "-i", "--rm", "mcp/chunk-editor"]
}
}
"mcpServers": {
"chunk-editor": {
"command": "python",
"args": ["-m", "mcp_chunk_editor"]
}
}
By default, the server will use a maximum chunk size of 100 lines. This can be customized by adding the argument --max-chunk-size=200 (for example, to set 200 lines) to the args list in the configuration.
You can use the MCP inspector to debug the server. For uvx installations:
npx @modelcontextprotocol/inspector uvx mcp-chunk-editor
Or if you've installed the package in a specific directory or are developing on it:
cd path/to/servers/src/chunk-editor
npx @modelcontextprotocol/inspector uv run mcp-chunk-editor
The chunk editor works by first parsing files with Universal CTags to identify meaningful semantic units like functions, classes, and methods. These semantic units become the chunks that the LLM can operate on.
When editing a file:
read_chunks)replace_chunks)undo)This workflow is more efficient and natural for LLMs compared to traditional line-based editors, which require precise line numbers and content hashing.
We encourage contributions to help expand and improve mcp-chunk-editor. Whether you want to add new tools, enhance existing functionality, or improve documentation, your input is valuable.
For examples of other MCP servers and implementation patterns, see: https://github.com/modelcontextprotocol/servers
Pull requests are welcome! Feel free to contribute new ideas, bug fixes, or enhancements to make mcp-chunk-editor even more powerful and useful.
mcp-chunk-editor is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP Chunk Editor from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-chunk-editor)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

Hosted MCP server for tabletop RPG worlds that organizes messy notes and documents into a private store and lets MCP apps search lore, read documents, find characters, and optionally generate character or world pictures.

An MCP server that gives AI assistants scoped file system operations inside a project directory, with read-only reference projects plus git and GitHub tools.