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.
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
Add the server to your Claude Desktop configuration:
{
"mcpServers": {
"log-reader": {
"command": "node",
"args": [
"/absolute/path/MCP-Analyzer/build"
]
}
}
}
Then restart Claude Desktop.
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 |
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?
MIT License
{
"mcpServers": {
"log-reader": {
"args": [
"/absolute/path/MCP-Analyzer/build"
],
"command": "node"
}
}
}
Seamless access to top MCP servers powering the future of AI integration.