{"id":38088481,"url":"https://github.com/fato07/log-analyzer-mcp","last_synced_at":"2026-01-23T00:27:53.623Z","repository":{"id":332886086,"uuid":"1135365469","full_name":"Fato07/log-analyzer-mcp","owner":"Fato07","description":"An MCP server for AI-powered log analysis. Parse, search, and debug log files across 9+ formats — right from Claude Code.","archived":false,"fork":false,"pushed_at":"2026-01-16T16:39:25.000Z","size":1437,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-17T20:12:12.025Z","etag":null,"topics":["log","logging","mcp"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Fato07.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-16T02:02:02.000Z","updated_at":"2026-01-16T16:57:28.000Z","dependencies_parsed_at":"2026-01-17T11:06:02.909Z","dependency_job_id":null,"html_url":"https://github.com/Fato07/log-analyzer-mcp","commit_stats":null,"previous_names":["fato07/log-analyzer-mcp"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/Fato07/log-analyzer-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fato07%2Flog-analyzer-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fato07%2Flog-analyzer-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fato07%2Flog-analyzer-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fato07%2Flog-analyzer-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fato07","download_url":"https://codeload.github.com/Fato07/log-analyzer-mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fato07%2Flog-analyzer-mcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28547004,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T14:59:57.589Z","status":"ssl_error","status_checked_at":"2026-01-18T14:59:46.540Z","response_time":98,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["log","logging","mcp"],"created_at":"2026-01-16T20:55:39.779Z","updated_at":"2026-01-18T18:01:03.379Z","avatar_url":"https://github.com/Fato07.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Log Analyzer MCP\n\n\u003c!-- mcp-name: io.github.Fato07/log-analyzer-mcp --\u003e\n\n[![MCP Registry](https://img.shields.io/badge/MCP-Registry-green?logo=anthropic)](https://registry.modelcontextprotocol.io/servers/io.github.Fato07/log-analyzer-mcp)\n[![PyPI version](https://badge.fury.io/py/codesdevs-log-analyzer.svg)](https://badge.fury.io/py/codesdevs-log-analyzer)\n[![PyPI Downloads](https://static.pepy.tech/badge/codesdevs-log-analyzer)](https://pepy.tech/project/codesdevs-log-analyzer)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)\n[![GitHub stars](https://img.shields.io/github/stars/Fato07/log-analyzer-mcp?style=social)](https://github.com/Fato07/log-analyzer-mcp)\n\n\u003e 🔍 **Stop copy-pasting logs into AI.** Let Claude read them directly.\n\nAn MCP server for AI-powered log analysis. Parse, search, and debug log files across 9+ formats — right from Claude Code.\n\n## 📊 At a Glance\n\n| | |\n|---|---|\n| **14** MCP tools | **9+** log formats |\n| **280** tests | **81%+** coverage |\n\n## 🎬 Demo\n\n![Log Analyzer MCP Demo](demo/demo.gif)\n\n*Analyzing logs with 14 specialized tools*\n\n## 🤔 Why?\n\n| Without log-analyzer-mcp | With log-analyzer-mcp |\n|--------------------------|----------------------|\n| Copy-paste chunks of logs | Point Claude at the file |\n| Lose context between pastes | Full file access |\n| Manual format parsing | Auto-detection |\n| Miss related errors | Smart correlation |\n\n## ✨ Features\n\n- **Auto-Detection** — Identifies format from 9+ common log types\n- **Smart Search** — Pattern matching with context, regex, and time filtering\n- **Error Extraction** — Groups similar errors, captures stack traces\n- **Natural Language** — Ask questions like \"what errors happened today?\"\n- **Sensitive Data Scan** — Detect PII, credentials, and secrets\n- **Multi-File Analysis** — Correlate events across distributed systems\n- **Streaming** — Handles 1GB+ files without memory issues\n\n## 🚀 Quick Start\n\n```bash\n# Install (adds to Claude Code automatically)\nuvx codesdevs-log-analyzer install\n```\n\nThen in Claude Code:\n\n```\nAnalyze /var/log/app.log and tell me what's causing the errors\n```\n\n## 📦 Installation\n\n### One-liner (Recommended)\n\n```bash\nuvx codesdevs-log-analyzer install\n```\n\n### Manual\n\n\u003cdetails\u003e\n\u003csummary\u003epip / uv / Claude Code config\u003c/summary\u003e\n\n```bash\n# pip\npip install codesdevs-log-analyzer\n\n# uv\nuv tool install codesdevs-log-analyzer\n```\n\nAdd to `~/.claude/settings.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"log-analyzer\": {\n      \"command\": \"uvx\",\n      \"args\": [\"codesdevs-log-analyzer\"]\n    }\n  }\n}\n```\n\n\u003c/details\u003e\n\n## 📋 Supported Formats\n\n| Format | Example |\n|--------|---------|\n| Syslog | `Jan 15 10:30:00 hostname process[pid]: message` |\n| Apache/Nginx | `127.0.0.1 - - [15/Jan/2026:10:30:00] \"GET /path\" 200` |\n| JSON Lines | `{\"timestamp\": \"...\", \"level\": \"ERROR\", \"message\": \"...\"}` |\n| Docker | `2026-01-15T10:30:00.123Z stdout message` |\n| Python | `2026-01-15 10:30:00,123 - module - ERROR - message` |\n| Java/Log4j | `2026-01-15 10:30:00,123 ERROR [thread] class - message` |\n| Kubernetes | `level=error msg=\"...\" ts=2026-01-15T10:30:00Z` |\n| Generic | Any line with recognizable timestamp |\n\n## ⚡ Performance\n\n| Metric | Value |\n|--------|-------|\n| 100MB log file | \u003c 10 seconds |\n| Memory footprint | Streaming (no full load) |\n| Max tested size | 1GB+ |\n| Format detection | \u003c 100ms |\n\n## 🛠️ Available Tools\n\n| Tool | Description |\n|------|-------------|\n| `log_analyzer_parse` | Detect format and extract metadata |\n| `log_analyzer_search` | Search with context lines |\n| `log_analyzer_extract_errors` | Extract and group errors |\n| `log_analyzer_summarize` | Generate debugging summary |\n| `log_analyzer_correlate` | Find related events |\n| `log_analyzer_watch` | Monitor for new entries |\n| `log_analyzer_ask` | Natural language queries |\n| `log_analyzer_scan_sensitive` | Detect PII/credentials |\n| + 6 more | [Full reference →](docs/TOOLS.md) |\n\n## 💡 Examples\n\n**Find errors:**\n```\nExtract all errors from /var/log/app.log, group similar ones\n```\n\n**Search with context:**\n```\nSearch for \"timeout\" in app.log with 5 lines of context\n```\n\n**Correlate events:**\n```\nWhat happened 60 seconds before each OutOfMemoryError?\n```\n\n**Scan for secrets:**\n```\nCheck /var/log/app.log for accidentally logged credentials\n```\n\n## 🔧 Development\n\n```bash\ngit clone https://github.com/Fato07/log-analyzer-mcp\ncd log-analyzer-mcp\nuv sync\nuv run pytest -v --cov\n```\n\n## 📈 Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=Fato07/log-analyzer-mcp\u0026type=Date)](https://star-history.com/#Fato07/log-analyzer-mcp\u0026Date)\n\n## 📄 License\n\nMIT License - see [LICENSE](LICENSE) for details.\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003eFound this useful?\u003c/b\u003e Give it a ⭐ on GitHub!\u003cbr\u003e\u003cbr\u003e\n  \u003ca href=\"https://github.com/Fato07/log-analyzer-mcp/issues/new?template=bug_report.yml\"\u003eReport bugs\u003c/a\u003e ·\n  \u003ca href=\"https://github.com/Fato07/log-analyzer-mcp/issues/new?template=feature_request.yml\"\u003eRequest features\u003c/a\u003e ·\n  \u003ca href=\"https://github.com/Fato07/log-analyzer-mcp/discussions\"\u003eDiscussions\u003c/a\u003e ·\n  \u003ca href=\"https://github.com/Fato07/log-analyzer-mcp/blob/main/docs/TOOLS.md\"\u003eFull docs\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  Built by \u003ca href=\"https://github.com/Fato07\"\u003eFato07\u003c/a\u003e at \u003ca href=\"https://codesdevs.io\"\u003eCodesDevs\u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffato07%2Flog-analyzer-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffato07%2Flog-analyzer-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffato07%2Flog-analyzer-mcp/lists"}