J

claude-chunks

...
Created 1/4/2025byvetlefo

Language:

JavaScript

Stars:

8

Forks:

2

Claude Chunks

An intelligent document chunking MCP server optimized for Claude context windows. Split large documents into meaningful, context-aware chunks that can be progressively processed by Claude.

Overview

Claude Chunks helps you process large documents (like books, theses, or long papers) by:

  1. Breaking them into meaningful sections
  2. Generating rich summaries of each section
  3. Maintaining context and connections between sections
  4. Formatting output for optimal Claude context reuse

Installation

# Clone the repository
git clone https://github.com/vetlefo/claude-chunks.git
cd claude-chunks

# Install dependencies
npm install

# Build the project
npm run build

Usage with Claude Desktop

  1. Add to Claude Desktop config:
{
  "mcpServers": {
    "claude-chunks": {
      "command": "node",
      "args": ["/path/to/claude-chunks/dist/index.js"]
    }
  }
}
  1. Restart Claude Desktop
  2. Use the chunk_document tool in your conversations

Development Roadmap

Phase 1: Core Functionality

  • Basic MCP server setup
  • Smart document chunking
  • Section summarization
  • Context preservation

Phase 2: Enhancements

  • Multiple document formats
  • Custom chunking strategies
  • Enhanced metadata tracking
  • Claude-optimized formatting

Phase 3: Advanced Features

  • Cross-reference tracking
  • Technical term extraction
  • Theme detection
  • Progressive loading

Contributing

Contributions are welcome! Please see our Contributing Guide for details.

License

MIT

Last updated: 2/7/2025

Publisher info

vetlefo's avatar

Vetle Forthun

1
followers
2
following
91
repos

More MCP servers built with JavaScript

emergency-medicare-planner-mcp-server

emergency-medicare-planner-mcp-server

By manolaz1
mcp-warpcast-server

MCP Server for Warpcast integration

By zhangzhongnan9281
mcp-tavily-server

Tavily MCP Server for Cline

By dkmaker1