Best for
- DevOps teams looking to integrate Prometheus metric querying into AI workflows.
- Users who want to query metrics directly in MCP clients like Claude Desktop.
- Scenarios requiring lightweight deployment via Docker or Helm.
This community-maintained server provides robust Prometheus integration, including querying, discovery, and authentication support. Installation is flexible with Docker and Helm. Risks involve data access exposure and require proper network and authentication configuration. Overall, it is suitable for developers and ops professionals looking to connect Prometheus metrics to AI assistants.
A Model Context Protocol (MCP) server that provides access to Prometheus metrics and queries through standardized MCP interfaces. It enables AI assistants to execute PromQL instant and range queries, discover metrics and metadata, retrieve scrape targets, and supports multiple authentication methods including basic auth, bearer token, and mutual TLS. The server can be deployed via Docker or Helm, offers configurable tools, and includes features to save context tokens.
docker run -i --rm -e PROMETHEUS_URL=<your-prometheus-url> ghcr.io/pab1it0/prometheus-mcp-server:latest.helm install prometheus-mcp-server oci://ghcr.io/pab1it0/charts/prometheus-mcp-server --version 1.1.1 --set prometheus.url="http://prometheus:9090".{
"mcpServers": {
"prometheus": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PROMETHEUS_URL",
"ghcr.io/pab1it0/prometheus-mcp-server:latest"
],
"env": {
"PROMETHEUS_URL": "<your-prometheus-url>"
}
}
}
}