Claude Chunks
MCP server for intelligent document chunking and progressive summarization, optimized for Claude context windows.
Overview
Claude Chunks is an intelligent document chunking MCP server optimized for Claude context windows, designed to split large documents into meaningful, context-aware chunks that can be progressively processed by Claude.
To use Claude Chunks, clone the repository, install the dependencies, and configure it with Claude Desktop to utilize the chunk_document tool in your conversations.
- Smart document chunking for large texts - Rich summarization of each section - Context preservation between sections - Formatting output for optimal Claude context reuse
- Processing large academic papers into manageable sections
- Summarizing books for quick reference
- Enhancing document analysis with context-aware chunking
Add to your AI client
Use these steps to connect Claude Chunks in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"claude-chunks-vetlefo": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-claude-chunks-vetlefo"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"claude-chunks-vetlefo": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-claude-chunks-vetlefo"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"claude-chunks-vetlefo": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-claude-chunks-vetlefo"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"claude-chunks-vetlefo": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-claude-chunks-vetlefo"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"claude-chunks-vetlefo": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-claude-chunks-vetlefo"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"claude-chunks-vetlefo": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-claude-chunks-vetlefo"
]
}
}
}FAQ
Can Claude Chunks handle all document types?
Yes! Claude Chunks is designed to work with various document formats.
Is there a limit to the size of documents?
While there is no strict limit, performance may vary based on document size and complexity.
How can I contribute to Claude Chunks?
Contributions are welcome! Please refer to the Contributing Guide in the repository.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1137,"uuid":"e2147a9f-1ec9-40ee-9ad6-16c53be11227","name":"claude-chunks","title":"Claude Chunks","description":"MCP server for intelligent document chunking and progressive summarization, optimized for Claude context windows.","avatar_url":"https://avatars.githubusercontent.com/u/40894183?v=4","created_at":"2025-01-28T02:34:33.371Z","updated_at":"2025-02-23T07:20:06.856Z","status":"created","author_name":"vetlefo","author_avatar_url":"https://avatars.githubusercontent.com/u/40894183?v=4","tags":"claude-chunks,document-chunking,summarization","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/vetlefo/claude-chunks","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]