J

claude-chunks

...
Created 1/4/2025byvetlefo

Language:

JavaScript

Stars:

15

Forks:

3

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
3
following
109
repos

More MCP servers built with JavaScript

mcp-server-semgrep

MCP Server Semgrep is a [Model Context Protocol](https://modelcontextprotocol.io) compliant server that integrates the powerful Semgrep static analysis tool with AI assistants like Anthropic Claude. It enables advanced code analysis, security vulnerability detection, and code quality improvements directly through a conversational interface.

By Szowesgad9
protonmail-mcp

This MCP server provides email sending functionality using Protonmail's SMTP service. It allows both Claude Desktop and Cline VSCode extension to send emails on your behalf using your Protonmail credentials.

By amotivv6
agentql-mcp

Model Context Protocol server that integrates AgentQL's data extraction capabilities.

By tinyfish-io45