
Log Reducer
Sits between your logs and Claude's context window, running 18 deterministic transforms that collapse stack traces, deduplicate repeating blocks, factor common prefixes, and strip noise like health checks and UUIDs. Exposes a `reduce_log` tool that typically cuts 70-90% of tokens while preserving errors, warnings, and your application frames. The transforms are rule-based and instant (no API calls), handling Python exception groups, Java stack traces, Docker layers, and pip output. Works as an MCP server or CLI. Most useful when debugging production errors where raw logs are hundreds of lines but the signal is buried in framework noise. Supports a multi-turn funnel pattern where Claude surveys a large file's tail first, then targets specific sections or levels without loading everything into context.
- tool
- 1
- transport
- STDIO
- last updated
- Mar 11, 2026
Tools
1 toolsPublic tool metadata for what this MCP can expose to an agent.
reduce_logThe AI calls reduce_log with a file path, so raw logs never enter the AI's context.
The AI calls reduce_log with a file path, so raw logs never enter the AI's context.
No parameter schema in public metadata yet.
Sponsors
Readme
Log Reducer
Your AI coding agent is spending thousands of tokens reading raw logs — DEBUG spam, health checks, duplicate lines, framework stack frames, UUIDs. Those tokens are gone for the rest of the session. The agent has less room to think, generates worse code, and hits its context limit faster.
Log Reducer sits between the log and the AI. It reduces the file down to just the signal — errors, warnings, state changes, unique events — typically cutting 70-90% of tokens. The raw log never enters the AI's context.
It runs as an MCP server (the AI calls reduce_log with a file path) or as a CLI (pipe any log through it). No API keys, no network calls — deterministic text transforms that run instantly.
Example
Details
- Repository
- github.com/launch-it-labs/log-reducer
- Category
- Monitoring & Observability
- Package
logreducer- Transport
- STDIO
- Registry
- MCP registry, active