Large File MCP Server
MCP server for intelligent handling of large files — smart chunking, search, navigation, and streaming.
Features
- Smart Chunking - Automatically determines optimal chunk size based on file type
- Intelligent Navigation - Jump to specific lines with surrounding context
- Powerful Search - Regex support with context lines before/after matches
- File Analysis - Comprehensive metadata and statistical analysis
- Memory Efficient - Stream files of any size without loading into memory
- Performance Optimized - Built-in LRU caching for frequently accessed chunks
- Type Safe - Written in TypeScript with strict typing
- Cross-Platform - Works on Windows, macOS, and Linux
Installation
npm install -g @willianpinho/large-file-mcpOr use directly with npx:
npx @willianpinho/large-file-mcpQuick Start
Claude Code CLI
Add the MCP server using the CLI:
# Add for current project only (local scope)
claude mcp add --transport stdio --scope local large-file-mcp -- npx -y @willianpinho/large-file-mcp
# Add globally for all projects (user scope)
claude mcp add --transport stdio --scope user large-file-mcp -- npx -y @willianpinho/large-file-mcp





