Ndjson Local Log Triage MCP server
Streams NDJSON log triage: query patterns, detect anomalies, summarize timelines without full load.
0 stars37 downloads/wk
Reviews
Write oneNobody has reviewed Ndjson Local Log Triage yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Ndjson Local Log Triage tools (4)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
correlate_requestReconstruct a distributed trace by collecting all log events matching a trace/request ID across multiple NDJSON files, sorted chronologically.
detect_error_anomaliesZ-score frequency analysis to find sudden error spikes by time window.
query_log_patternFilter NDJSON log file by field/value pattern, return top N matching entries.
summarize_log_timelineChronological severity aggregation — errors, warnings, and info counts per time window.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan6 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 129 days ago8/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Ndjson Local Log Triage compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 82/100
- higher than 63% of 48,273 servers
- Tools
- 4
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 37
- more than 29% of 11,915 servers with a package
What its tools let an agent do: 4 read
Install Ndjson Local Log Triage in Claude Code, Cursor or VS Code
Runs npx -y ndjson-local-log-triage-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add ndjson-local-log-triage-mcp -- npx -y ndjson-local-log-triage-mcp
What the publisher says
From the Ndjson Local Log Triage repository's README, as published. We do not edit it. Read it on GitHub
🪵 ndjson-local-log-triage-mcp
Your service just crashed. The log file is 2GB. Your AI agent can't help.
MCP server that stream-parses NDJSON log files without loading them into memory — filter by pattern, detect error spikes via Z-score analysis, summarize severity timelines by time window.
🤔 The problem
A service crashes at 3am. The log file is app.log.ndjson and it's 2GB. You ask your agent to find what caused the spike in errors around 03:17. The agent can't read 2GB. It can't even try.
ndjson-local-log-triage-mcp streams the file line by line — never loading it into memory — and gives the agent exactly the slice it needs.
🛠️ Tools
querylogpattern
Filter log entries by a field/value match. Returns up to N matching entries, streaming the file without loading it entirely. Pass lineStartPattern (e.g. "^{") to reconstruct multiline stack traces silently dropped by the default parser.
Log Query Results
File: /var/log/app.log.ndjson
Filter: service contains "auth"
Lines read: 847,293
Matches: 50 (limit 50 reached)
{"timestamp":"2025-01-15T03:17:02Z","level":"error","service":"auth","msg":"token validation failed","userId":"u_abc123"}
...detecterroranomalies
Z-score frequency analysis. Buckets errors by time window, computes mean + stddev, flags windows where the error rate is anomalously high.
Error Anomaly Detection
File: /var/log/app.log.ndjson
Window: 5min
Z-score cutoff: 2.0
Baseline: mean=3.2 errors/window, stdDev=1.8
Anomalies found: 2
[z=4.71] 2025-01-15T03:15:00.000Z 23 errors
[z=2.33] 2025-01-15T03:20:00.000Z 9 errorssummarizelogtimeline
Chronological aggregation of errors, warnings, and info counts per time window. Quick visual of where the incident is.
Pass adaptive: true to auto-scale bucket size to actual event density and zoom in on the peak error window at 10× finer resolution.
Log Timeline Summary
File: /var/log/app.log.ndjson
Window: 5min
Buckets: 48
Time (UTC) Errors Warnings Info Other
─────────────────────────────────────────────────────────
2025-01-15 03:00:00Z 2 8 142 0
2025-01-15 03:05:00Z 1 5 138 0
2025-01-15 03:10:00Z 3 9 141 0
! 2025-01-15 03:15:00Z 23 14 119 0
2025-01-15 03:20:00Z 9 11 133 0correlate_request
Reconstructs a distributed trace from multiple NDJSON log files. Given a trace_id, collects all correlated events in chronological order across all files and surfaces the services involved and total duration.
Request Correlation
Trace ID: trace-8f7a9b2c
Files scanned: 2
Events found: 10
Services involved: api, worker
Duration: 890ms
[2025-01-15T14:00:00.001Z] api {"level":"info","msg":"incoming request",...}
[2025-01-15T14:00:00.045Z] api {"level":"info","msg":"auth token validated",...}
[2025-01-15T14:00:00.112Z] worker {"level":"info","msg":"job queued",...}
...discoverlogschema
Analyze a log file to infer its wrapper format (NDJSON, Syslog, Kubernetes container logs) and extract type schemas, identifying polymorphic keys, timestamp patterns, and severity fields.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Ndjson Local Log Triage: common questions
- Is Ndjson Local Log Triage MCP server safe?
- Mostly: it is graded B (82/100). Read the Ndjson Local Log Triage safety report
- How do I install Ndjson Local Log Triage?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Ndjson Local Log Triage need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Ndjson Local Log Triage maintained?
- The last commit was 165 days ago (2026-05-21). The latest release is v0.2.0.
- How does Ndjson Local Log Triage compare with other MCP servers?
- safety score 82/100 (higher than 63% of 48,273 servers); tools 4 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.