MCP Server for Multi-GB Log Files
LogRAM.Mcp gives AI coding agents (Claude Code, Claude Desktop, Codex, Cursor, Windsurf, VS Code) millisecond search and bounded line inspection over multi-gigabyte logs — without blowing up context windows or re-scanning disk.
27.0 ms
Cached
search_log on 1 GB (stdio JSON-RPC)85.7 ms
Cached
search_log on 5 GB (43.1M lines)0.15 ms
Cached
read_log (50 lines) on 5 GBRead-Only
All 4 tools annotated
readOnlyHint: trueAvailable MCP Tools
| Tool | Purpose |
|---|---|
search_log | Search plain text, regex, include_any (OR), include_all (AND), exclude (NOT), line ranges, context lines, max_results, and incremental refresh. |
read_log | Read 1–2,000 lines starting at any line number directly from RAM cache. |
list_open_logs | Inspect currently cached log files, line counts, and memory usage. |
close_log | Release one or all cached logs from memory without touching files on disk. |
Configuration Examples
Option A: Self-Contained Windows Binary (Zero Dependencies)
Download LogRAM-mcp.exe and add to Claude Desktop, Cursor, Windsurf, or VS Code:
{
"mcpServers": {
"logram": {
"command": "C:\\path\\to\\LogRAM-mcp.exe"
}
}
}
Option B: Cross-Platform .NET Tool (LogRAM.Mcp on NuGet)
{
"mcpServers": {
"logram": {
"command": "dnx",
"args": ["LogRAM.Mcp@1.5.0", "--yes"]
}
}
}
Or install globally: dotnet tool install -g LogRAM.Mcp and set "command": "logram-mcp". Standard manifest: LogRAM-mcp/.mcp/server.json.
