# Log Analyzer

> Use this tool when you need to analyze and debug log data from Python development workflows, such as parsing pytest test outputs or searching runtime error logs. It solves problems like identifying errors, monitoring test runs, and maintaining code quality by providing a flexible core analysis engine with time-based filtering, positional filtering, and content pattern matching. The tool accepts log data as input and outputs filtered results, code coverage reports, and context line extractions, making it ideal for debugging complex applications and optimizing Python projects.

Canonical page: https://skillsregistry.net/skills/djm81-log-analyzer  
JSON: https://api.skillsregistry.net/v1/skills/djm81-log-analyzer

## Description

This MCP server provides powerful log analysis capabilities for Python development workflows, offering both a command-line interface and MCP server integration for AI assistants. Built with a flexible core analysis engine that supports time-based filtering (last N minutes/hours/days), positional filtering (first/last N records), and configurable content pattern matching across multiple log levels, it enables developers to quickly parse pytest test outputs, search runtime error logs, and generate code coverage reports. The implementation features environment-based configuration through .env files with support for named logging scopes, context line extraction around matches, and integration with hatch for test execution and coverage generation, making it valuable for debugging complex applications, monitoring test runs, and maintaining code quality in Python projects.

## Trust

- **Trust score (0–1):** 0.50
- **Verification tier:** scanned
- **Last scanned:** 2026-09-02

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** monitoring
- **Updated:** 2026-09-02

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/djm81-log-analyzer)
- **Repository:** <https://github.com/djm81/log_analyzer_mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "djm81-log-analyzer"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/djm81-log-analyzer` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/djm81-log-analyzer/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
