Skip to main content
Glama

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

Related MCP server: Log Analyzer MCP

🚀 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:

Parameter

Description

Default

lines

Number of lines to read from each log file

100

filter

Text to filter log entries by (case-insensitive)

""

customPath

Custom path to log directory

OS-specific

fileLimit

Maximum number of files to read per page

5

page

Page number for pagination

1

💡 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

Install Server
A
license - permissive license
B
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    An MCP server for AI-powered log analysis that enables parsing, searching, and debugging across nine log formats directly within Claude. It features automated error extraction, sensitive data scanning, and streaming support for large log files.
    Last updated
    14
    5
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    An MCP server that provides searchable local storage for Claude conversation history, featuring automatic topic extraction and weekly insight summaries. It enables Claude to retrieve context from past sessions through full-text search and organized file storage.
    Last updated
    2
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    An MCP server that connects Claude (or any MCP compatible client) to your existing log infrastructure. Query, summarize, and trace logs in plain English across GCP Cloud Logging, AWS CloudWatch, Azure Log Analytics, Grafana Loki, and Elasticsearch without writing filter expressions or leaving your editor.
    Last updated
    37
    3
    MIT

View all related MCP servers

Related MCP Connectors

  • Augments MCP Server - A comprehensive framework documentation provider for Claude Code

  • Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.

  • Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/klara-research/MCP-Analyzer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server