Portfolio Project Published on npm

Large File MCP Server

MCP server for efficient large file operations. Handles files up to 10GB with chunked reading, regex search, and streaming — designed for AI assistants working with massive codebases.

TypeScript Node.js MCP SDK Model Context Protocol

Install

npm install @willianpinho/large-file-mcp

MCP Tools

read_large_file_chunk

Read specific chunks of large files without loading the entire file into memory.

search_in_large_file

Regex-powered search with configurable context lines. Returns matches with surrounding code.

get_file_structure

Get file metadata: size, line count, encoding, and structural overview without reading content.

navigate_to_line

Jump to a specific line number and read surrounding context. Fast random access for large files.

get_file_summary

Statistical summary of file contents: line distribution, blank lines, comment density, top patterns.

stream_large_file

Stream file in byte-sized chunks for processing. Handles files too large for single operations.

Configuration

// claude_desktop_config.json { "mcpServers": { "large-file": { "command": "npx", "args": ["@willianpinho/large-file-mcp"], "env": { "MAX_FILE_SIZE": "10737418240", "CHUNK_SIZE": "500", "CACHE_ENABLED": "true" } } } }
View on GitHub npm Package Back to Portal