launch-it-labs avatar

Log Reducer

launch-it-labs/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 tools

Public 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

npm version CI License: MIT

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


View the full README on GitHub

Details

Repository
github.com/launch-it-labs/log-reducer
Category
Monitoring & Observability
Package
logreducer
Transport
STDIO
Registry
MCP registry, active

Related Monitoring & Observability MCP servers

View all
1malkreide avatarNews Monitor Mcpmalkreide/news-monitor-mcpNews monitoring via WorldNewsAPI: search, sentiment, headlines, trends, alerts (Swiss default)0stars
2mrhenrysword avatarAgile Analytics Mcpmrhenrysword/agile-analytics-mcpAzure DevOps sprint, cycle time, flow, WIP, aging and forecast metrics. Local, read-only.0stars
3mshegolev avatarPrometheus Mcpmshegolev/prometheus-mcpPrometheus MCP — query metrics, inspect alerts, and explore scrape targets (read-only).0stars
4snapsynapse avatarAI Incident Lawsnapsynapse/ai-incident-lawPublic-record corpus of AI litigation, regulation, and enforcement, anchored to EveryAILaw.0stars
5srotzin avatarHive Logsrotzin/hive-mcp-logTamper-evident audit log service for agent-to-agent transactions0stars
6vdineshk avatarAi Compliance Monitorvdineshk/ai-compliance-monitorRegulatory intelligence for AI agents across jurisdictions0stars