Prometheus Model Context Protocol Server
A Golang-based Model Context Protocol (MCP) server implementation for Prometheus that enables natural language interactions with Prometheus metrics and queries.
Built with Go, prometheus-mcp-server provides a robust, type-safe interface that maintains full consistency with the Prometheus HTTP API, allowing you to query and manage your Prometheus instance through natural language conversations with MCP-compatible clients.
Table of Contents
- Features
- Architecture
- Requirements
- Installation
- Usage
- Command Line Flags
- API Compatibility
- Binding Blocks
- Tools
- Prompts
- Contributing
- License
- Acknowledgments
Features
- 🔥 Golang Implementation: Built with Go 1.23+ for performance, reliability, and type safety
- 📊 Complete Prometheus API Coverage: Full compatibility with Prometheus HTTP API v1
- ⚡ Instant Query: Execute Prometheus queries at a specific point in time
- 📈 Range Query: Retrieve historical metric data over defined time ranges
- 🔍 Metadata Query: Discover time series, label names, and label values
- 🎯 Target & Rule Management: Monitor targets, rules, and alerting configurations
- 🛠️ TSDB Administration: Advanced database operations including snapshots and series deletion
- 🌐 Multiple Transport Options: Support for HTTP, Server-Sent Events (SSE), and stdio
- 🤖 MCP Integration: Seamless communication with MCP-compatible clients like Claude Desktop






