@rog0x/mcp-log-tools
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@rog0x/mcp-log-toolsfilter logs for ERROR level from the past hour"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@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)
Related MCP server: log-mcp-server
Setup
npm install
npm run buildUsage with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"log-tools": {
"command": "node",
"args": ["path/to/mcp-log-tools/dist/index.js"]
}
}
}Supported Log Formats
Format | Example |
JSON |
|
Apache/Nginx |
|
Syslog |
|
Structured |
|
Custom | Any format using a regex with named capture groups |
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceProvides comprehensive logging and monitoring capabilities for MCP services with real-time log tailing, advanced search, error analysis, and anomaly detection. Enables centralized log aggregation, correlation tracking, and health monitoring across all MCP ecosystem services.
- FlicenseBqualityDmaintenanceA log analysis MCP server that enables tailing, searching, filtering, and summarizing logs from local files and Docker containers.7
- AlicenseAqualityBmaintenanceMCP server for Sumo Logic — 37 tools for searching logs, managing monitors, alerts, dashboards, collectors, and metrics. Zero hardcoded org-specific values.481MIT
- AlicenseNot gradedqualityCmaintenanceExposes configured log files as MCP tools, enabling agents to list, query, and follow logs from local and SSH sources.MIT
Related MCP Connectors
JSON tools MCP.
Free MCP tools: the only MCP linter, health checks, cost estimation, and trust evaluation.
Remote MCP server: 10 developer utilities (base64, JWT, DNS, UUID, URL, JSON, UA, IP lookup).
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rog0x/mcp-log-tools'
If you have feedback or need assistance with the MCP directory API, please join our Discord server