MCP Log Reader

MIT License
9
  • Apple
  • Linux

MCP Server: Analyze & Debug MCP Logs

🎯 Overview

MCP Log Reader is a specialized MCP server that helps you analyze and debug Model Context Protocol logs. It provides Claude with direct access to log files, making it easy to troubleshoot MCP integrations and understand how Claude interacts with your tools.

  • Multi-platform Support: Works on macOS, Windows, and Linux with platform-specific log paths
  • Smart Filtering: Find specific log entries with case-insensitive text search
  • Paginated Browsing: Navigate large log collections efficiently
  • Size Management: Handles large log files with intelligent truncation
  • Seamless Claude Integration: Works directly with Claude Desktop

🚀 Quick Start

Installing via Smithery

To install MCP Log Reader for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @klara-research/MCP-Analyzer --client claude

Installing Manually

Install directly from GitHub:

# Clone the repository git clone https://github.com/klara-research/MCP-Analyzer.git cd MCP-Analyzer # Install dependencies npm i

Build and run:

# Compile TypeScript npx tsc

🔌 Connecting to Claude

Add the server to your Claude Desktop configuration:

{ "mcpServers": { "log-reader": { "command": "node", "args": [ "/absolute/path/MCP-Analyzer/build" ] } } }

Then restart Claude Desktop.

📋 Available Parameters

The log reader supports these parameters:

ParameterDescriptionDefault
linesNumber of lines to read from each log file100
filterText to filter log entries by (case-insensitive)""
customPathCustom path to log directoryOS-specific
fileLimitMaximum number of files to read per page5
pagePage number for pagination1

💡 Example Usage

Ask Claude to use the log reader tool:

Can you check my MCP logs for any connection errors in the last day?

Or with specific parameters:

Can you look through MCP logs with filter="error" and lines=50 to find initialization issues?

⚙️ How It Works

  1. The server automatically detects your OS and finds the appropriate log directory
  2. It locates all MCP log files and sorts them by modification time (newest first)
  3. The requested page of log files is retrieved based on pagination settings
  4. Files are processed with size limits to prevent overwhelming responses
  5. Filtered content is returned in a structured format with pagination details

📄 License

MIT License

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

A specialized MCP server that helps analyze and debug Model Context Protocol logs by providing Claude with direct access to log files across multiple platforms.

  1. 🎯 Overview
    1. 🚀 Quick Start
      1. Installing via Smithery
      2. Installing Manually
    2. 🔌 Connecting to Claude
      1. 📋 Available Parameters
        1. 💡 Example Usage
          1. ⚙️ How It Works
            1. 📄 License

              Related MCP Servers

              • -
                security
                F
                license
                -
                quality
                A Model Context Protocol server built with mcp-framework that allows users to create and manage custom tools for processing data, integrating with the Claude Desktop via CLI.
                Last updated -
                48
                4
                TypeScript
                • Apple
              • A
                security
                A
                license
                A
                quality
                A Model Context Protocol (MCP) server that provides code analysis capabilities using tree-sitter, designed to give Claude intelligent access to codebases with appropriate context management.
                Last updated -
                26
                33
                Python
                MIT License
                • Apple
                • Linux
              • -
                security
                A
                license
                -
                quality
                A GDB/MI protocol server based on the MCP protocol, providing remote application debugging capabilities.
                Last updated -
                19
                Rust
                MIT License
                • Linux
                • Apple
              • A
                security
                A
                license
                A
                quality
                A Model Context Protocol server that automatically reads the Claude Desktop configuration file and presents all available MCP services in an easy-to-copy format at the top of the tools list.
                Last updated -
                1
                8
                2
                JavaScript
                MIT License
                • Apple

              View all related MCP servers

              ID: kk3dqiuhqb