Log MCP server
Log parse, filter, analyze for AI agents
1 stars41 downloads/wk
Reviews
Write oneNobody has reviewed Log yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Log tools (5)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
analyze_logsAnalyze log patterns: top 10 most frequent errors, error rate over time, request volume per hour, slowest endpoints (from access logs), and anomaly detection (sudden spikes/drops).
filter_logsFilter log entries by level, date range, keyword, regex pattern, or source. Returns matched entries and level counts.
format_logsConvert logs between formats (JSON, plain text, CSV, table). Supports colorization by level, field extraction, and summary report generation.
log_statsCompute log statistics: total lines, lines per level, date range, unique IPs, top user agents, status code distribution, throughput, and more.
parse_logsParse log content in common formats (JSON, Apache/Nginx, syslog, structured, or custom regex). Returns structured entries with timestamp, level, message, source, and extracted fields.
Public scan report
scanner v0.1.10 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan20 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 190 days ago4/15
- Maintainer identityregistry namespace matches repository owner6/10
Install Log in Claude Code, Cursor or VS Code
Runs npx -y @rog0x/mcp-log-tools on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add log -- npx -y @rog0x/mcp-log-tools
What the publisher says
From the Log repository's README, as published. We do not edit it. Read it on GitHub
@rog0x/mcp-log-tools
Log analysis and processing tools for AI agents, exposed via the Model Context Protocol (MCP).
Tools
parse_logs
Parse log content in common formats: JSON logs, Apache/Nginx access logs, syslog, and structured logs. Supports custom regex patterns with named capture groups. Extracts timestamp, level, message, source, and additional structured fields.
filter_logs
Filter parsed log entries by:
- Log level (ERROR, WARN, INFO, DEBUG)
- Date range (ISO 8601)
- Keyword search (case-insensitive)
- Regex pattern matching
- Source/logger name
Returns matched entries along with level occurrence counts.
analyze_logs
Analyze log patterns to surface operational insights:
- Top 10 most frequent errors (normalized)
- Error rate over time (hourly buckets)
- Request volume per hour
- Slowest endpoints (from HTTP access logs)
- Anomaly detection (sudden spikes or drops using standard deviation)
format_logs
Convert between log formats and produce reports:
- JSON to plain text, plain to JSON, CSV, or table
- ANSI colorization by log level
- Structured field extraction
- Summary report generation
log_stats
Compute comprehensive log statistics:
- Total and non-empty line counts
- Level distribution with percentages
- Date range coverage
- Unique IP addresses and request counts
- Top user agents
- HTTP status code distribution
- Throughput (entries per second)
Setup
npm install
npm run buildUsage with Claude Desktop
Add to your claudedesktopconfig.json:
{
"mcpServers": {
"log-tools": {
"command": "node",
"args": ["path/to/mcp-log-tools/dist/index.js"]
}
}
}Supported Log Formats
License
MIT
Nothing above is checked by us. What we check is on the safety report.
Log: common questions
- Is Log MCP server safe?
- Mostly: it is graded B (72/100). Read the Log safety report
- How do I install Log?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Log need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Log maintained?
- The last commit was 206 days ago (2026-03-21). The latest release is v1.0.2.