io.github.rog0x/log — Model Context Protocol (MCP) Server
This MCP server provides log analysis and processing tools for AI agents. It is exposed via the Model Context Protocol and focuses on parsing common log formats and extracting structured fields for downstream analysis.
🛠️ Key Features
- Tools for
parse_logsandfilter_logs - Parses JSON logs, Apache/Nginx access logs, syslog, and structured logs
- Supports custom regex patterns with named capture groups
- Extracts timestamp, level, message, source, and additional structured fields
- Filters entries by log level (ERROR, WARN, INFO, DEBUG), date range (ISO 8601), keyword search (case-insensitive), and regex matching
🚀 Use Cases
- Parsing application and infrastructure logs into structured records
- Filtering logs for specific time windows or severity levels
- Searching logs for keywords and matching patterns for investigation
⚡ Developer Benefits
- Provides consistent parsed fields (timestamp, level, message, source) for agent workflows
- Supports structured log extraction and regex-based customization
⚠️ Limitations
- The available readme excerpt only describes partial
filter_logsbehavior (“Sou” cut off), so additional filters are not specified here.