L

Log Analyzer

Analyzes Python application logs with time-based and pattern filtering, pytest output parsing, and c...

100 views
0 installs
Updated Sep 14, 2025
Not audited
Analyzes Python application logs with time-based and pattern filtering, pytest output parsing, and code coverage report generation for debugging and quality monitoring workflows.
  1. Prepare Your Log Analyzer MCP Configuration
    Decide which log directories and patterns you want to analyze. You will need to provide values for environment variables such as LOG_DIRECTORIES, LOG_PATTERNS_ERROR, and optionally, LOG_CONTEXT_LINES_BEFORE, LOG_CONTEXT_LINES_AFTER, and any other needed settings for your use case.

  2. Access the FastMCP Connection Interface
    Open your FastMCP instance and use the ready-made "Install Now" button to add environment variables for the Log Analyzer MCP server.

  3. Fill in Environment Variables
    In the FastMCP connection interface, enter the following environment variables as needed:

    • LOG_DIRECTORIES: A JSON array of directories (as a string) containing the log files you wish to analyze.
      Example: ["/path/to/your/logs"]
    • LOG_PATTERNS_ERROR: (Optional) A JSON array of string patterns to match errors in logs.
      Example: ["Exception:.*", "ERROR.*"]
    • LOG_CONTEXT_LINES_BEFORE: (Optional) Number of log lines to show before a match for additional context.
      Example: 3
    • LOG_CONTEXT_LINES_AFTER: (Optional) Number of log lines to show after a match for additional context.
      Example: 3
    • Add any additional environment variables supported by Log Analyzer MCP as needed for your workflow.
  4. Save and Launch
    Save the environment variable configuration in FastMCP and finish the “Install Now” process. The server will use the provided values for log analysis.

Note:
For a complete list of possible environment variables and their usage, refer to the project's .env.template file (if available) or review the Configuration Guide once it is published. If you need more information on how to format variables, consult the Developer Guide and other documentation files linked in the README.

You do not need any API keys or tokens; only directories, patterns, and analysis options must be set.

Quick Start

View on GitHub

More for Analytics and Data

View All →

More for Developer Tools

View All →

Report Issue

Thank you! Your issue report has been submitted successfully.