Skip to main content
MCP server CX Codex

log-analyzer-mcp — Claude Code MCP server: use and install

This MCP server reads log files, finds failures, and links related events. Use it when debugging requires more context than pasted log fragments provide.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add log-analyzer-mcp -- uvx codesdevs-log-analyzer
Open on GitHub

What log-analyzer-mcp does

log-analyzer-mcp identifies a log format, extracts failures, and groups similar entries. Its tools support pattern and regex searches, nearby lines, time-based filtering, plain-language questions, and checks for personal data, credentials, and secrets. It can also compare several files to connect events from distributed systems.

Supported inputs include Syslog, Apache/Nginx, JSON Lines, Docker, Python, Java/Log4j, Kubernetes, and lines with recognizable timestamps. The server includes tools for parsing, searching, error extraction, summaries, event correlation, and watching for new entries. Streaming keeps 1GB+ files from being loaded in full. The setup uses uvx, so that command needs to be available before the server can start.

What it helps with

  • find failures in a log file
  • group repeated error messages
  • connect events across several logs
  • scan logs for leaked credentials

Example prompts for the agent

  • Analyze /var/log/app.log and explain what is causing the errors.
  • Search app.log for timeout and include nearby context lines.
  • Check /var/log/app.log for credentials that were logged by mistake.

How to install log-analyzer-mcp

Platform CLI

claude mcp add log-analyzer-mcp -- uvx codesdevs-log-analyzer

uvx runs the command named after the package; if the README names another one, use uvx --from codesdevs-log-analyzer <command>

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about log-analyzer-mcp

How do I install log-analyzer-mcp in Claude Code?

Run claude mcp add log-analyzer-mcp -- uvx codesdevs-log-analyzer. This adds the MCP server to Claude Code.

What does log-analyzer-mcp do?

It parses several log formats, searches entries, extracts and groups failures, relates events, creates debugging summaries, and detects sensitive data.

Which log formats does log-analyzer-mcp support?

It handles Syslog, Apache/Nginx, JSON Lines, Docker, Python, Java/Log4j, and Kubernetes, plus lines with recognizable timestamps.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor