
MCP Log Reader
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.
Tools
read_mcp_logs
Read MCP logs from the standard location
README
MCP Server: Analyze & Debug MCP Logs
<div align="center"> <img src="assets/mcp_logs.png" width="400">
<br> <br> <br> 🔍 <b>Read logs from standard locations across all platforms</b> <br> <br> 🔎 <b>Filter, paginate, and analyze large log collections</b> <br> <br> </div>
🎯 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
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
- The server automatically detects your OS and finds the appropriate log directory
- It locates all MCP log files and sorts them by modification time (newest first)
- The requested page of log files is retrieved based on pagination settings
- Files are processed with size limits to prevent overwhelming responses
- Filtered content is returned in a structured format with pagination details
📄 License
MIT License
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.