prometheus-mcp-server
3
The Prometheus MCP Server allows large language models to interface with a Prometheus instance using APIs to execute queries and analyze data. It provides tools for metrics management and alert handling.
Prometheus MCP Server
About
This project is an MCP server facilitating interaction between LLMs and a running Prometheus instance via API. It enables tasks such as executing promql queries and listing metrics.
Tools
- Alertmanager overview
- Prometheus build information
- Execute instant queries
- Runtime flags
- List active alerts
- Alerting and recording rules
- Prometheus target overview
- Prometheus runtime info
- TSDB statistics
- WAL replay status
Usage
- For usage with local LLMs and Ollama, see the
mcp.json
config. Requires installation of Ollama.
Development
- Required: Go environment, Podman, GNU Make, Ollama, MCP Inspector, mcphost.