JSON Logs MCP Server

MCP server for Python JSON logs

Local serverstdioPython

What is the JSON Logs MCP Server?

MCP server for Python JSON logs

The short version

A Model Context Protocol (MCP) server that enables Claude Desktop (or any MCP client) to read and analyze JSON-formatted log files. This server provides tools for searching, filtering, aggregating, and analyzing structured log data.

  • 📁 Browse log files - List and read JSON-formatted log files
  • 🔍 Search and filter - Query logs by level, module, function, message content, and time range
  • 📊 Aggregate data - Group and analyze logs by various criteria
  • 📈 Statistics - Get comprehensive statistics about your log data
  • 🚀 Fast and efficient - Optimized for handling large log files

What it needs from you

  • Python 3.11 or higher - Claude Desktop (or another MCP client)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Configuration

  • Python 3.11 or higher - Claude Desktop (or another MCP client)
VariableDescriptionRequired
MCP_JSON_LOGS_DIRFilesystem location the server is allowed to use.Optional

Frequently asked questions

Ensure Python 3.8+ is installed, all dependencies are installed (`pip install -e .`), and the log directory exists and contains `.log` files.