json-logs-mcp-server
MCP server for Python JSON logs
Documentation
JSON Logs MCP Server
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.
Features
- ๐ 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
Prerequisites
- Python 3.11 or higher
- Claude Desktop (or another MCP client)
Installation
1. Clone this repository:
git clone https://github.com/mfreeman451/json-logs-mcp-server.git
cd json-logs-mcp-server2. Create a virtual environment:
python3 -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate3. Install the package:
pip install -e .4. Create the wrapper script:
cat > run-json-logs-server.sh 100MB) may take a moment to process
- Use the `limit` parameter in queries to control result size
- Consider rotating log files to maintain performance
## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
## License
MIT License - see LICENSE file for detailsFrequently asked questions
What is json-logs-mcp-server?
json-logs-mcp-server is MCP server for Python JSON logs
How do I install json-logs-mcp-server?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is json-logs-mcp-server open source?
Yes โ it is hosted on GitHub at https://github.com/mfreeman451/json-logs-mcp-server and has 4 stars.
Related MCP tools
Model Context Protocol with Neo4j Python-based implementation. Trusted by 700+ developers. Trusted by 700+ developers. Trusted by 700+ developers.
An LLM agent that conducts deep research (local and web) on any given topic and generates a long report with citations. Built for the Model Context Protocol to
Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth! Python-based implementation. Trusted by 11000+ developers.
AWS MCP Servers โ helping you get the most out of AWS, wherever you use MCP. Python-based implementation. Trusted by 6900+ developers.
AI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP. Python-based implementation. Trusted by 4100+ developers.
A simple, secure MCP-to-OpenAPI proxy server Python-based implementation. Trusted by 3500+ developers. Trusted by 3500+ developers.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP