Enables parsing and analysis of Apache web server logs to identify request patterns and troubleshoot errors.
Provides tools to analyze Docker container logs, including support for timestamp extraction and log stream identification.
Facilitates debugging in containerized environments by parsing and analyzing Kubernetes-formatted log files.
Enables parsing and analysis of NGINX web server logs to identify request patterns and troubleshoot errors.
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., "@Log Analyzer MCPFind and group the most frequent errors in /var/log/app.log"
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.
Log Analyzer MCP
๐ Stop copy-pasting logs into AI. Let Claude read them directly.
An MCP server for AI-powered log analysis. Parse, search, and debug log files across 9+ formats โ right from Claude Code.
๐ At a Glance
14 MCP tools | 9+ log formats |
280 tests | 81%+ coverage |
๐ฌ Demo
Demo coming soon โ showing log analysis in Claude Code
๐ค Why?
Without log-analyzer-mcp | With log-analyzer-mcp |
Copy-paste chunks of logs | Point Claude at the file |
Lose context between pastes | Full file access |
Manual format parsing | Auto-detection |
Miss related errors | Smart correlation |
โจ Features
Auto-Detection โ Identifies format from 9+ common log types
Smart Search โ Pattern matching with context, regex, and time filtering
Error Extraction โ Groups similar errors, captures stack traces
Natural Language โ Ask questions like "what errors happened today?"
Sensitive Data Scan โ Detect PII, credentials, and secrets
Multi-File Analysis โ Correlate events across distributed systems
Streaming โ Handles 1GB+ files without memory issues
๐ Quick Start
Then in Claude Code:
๐ฆ Installation
One-liner (Recommended)
Manual
Add to ~/.claude/settings.json:
๐ Supported Formats
Format | Example |
Syslog |
|
Apache/Nginx |
|
JSON Lines |
|
Docker |
|
Python |
|
Java/Log4j |
|
Kubernetes |
|
Generic | Any line with recognizable timestamp |
โก Performance
Metric | Value |
100MB log file | < 10 seconds |
Memory footprint | Streaming (no full load) |
Max tested size | 1GB+ |
Format detection | < 100ms |
๐ ๏ธ Available Tools
Tool | Description |
| Detect format and extract metadata |
| Search with context lines |
| Extract and group errors |
| Generate debugging summary |
| Find related events |
| Monitor for new entries |
| Natural language queries |
| Detect PII/credentials |
+ 6 more |
๐ก Examples
Find errors:
Search with context:
Correlate events:
Scan for secrets:
๐ง Development
๐ Star History
๐ License
MIT License - see LICENSE for details.