prometheus-mcp-server
prometheus-mcp-server is an MCP server, listed under cloud & infrastructure. It reaches prometheus. It needs PROMETHEUS_PASSWORD to authenticate. Its repository has 519 GitHub stars and is licensed under MIT; we last read it on 2026-10-22.
This server implements the Model Context Protocol (MCP) to allow AI agents and LLMs to query and analyze Prometheus metrics using standardized interfaces.
Install
Read from prometheus-mcp-server’s own README, close to verbatim -- not written by us, and not guessed.
claude mcp add prometheus --env PROMETHEUS_URL=http://your-prometheus:9090 -- docker run -i --rm -e PROMETHEUS_URL ghcr.io/pab1it0/prometheus-mcp-server:latest
What it reaches, and what it needs
Maintenance
A Model Context Protocol (MCP) server that enables AI agents and LLMs to query and analyze Prometheus metrics through standardized interfaces.
What prometheus-mcp-server can do
6 tools documented in its README. An AI client calls these by name.
health_check- Health check endpoint for container monitoring and status verification
execute_query- Execute a PromQL instant query against Prometheus
execute_range_query- Execute a PromQL range query with start time, end time, and step interval
list_metrics- List all available metrics in Prometheus with pagination and filtering support
get_metric_metadata- Get metadata for one metric or bulk metadata with optional filtering
get_targets- Get scrape targets, with server-side `state`/`scrape_pool` filtering and optional pagination
Read from the README; names are kept only if the README contains them.
prometheus-mcp-server compared with similar servers
| Server | Reaches | Needs | Stars | Last update | Licence |
|---|---|---|---|---|---|
| prometheus-mcp-server (this page) | prometheus | PROMETHEUS_PASSWORD | 519 | 2026-10-19 | MIT |
| memora | cloudflare, memora, openai | CLOUDFLARE_API_TOKEN, MEMORA_EMBEDDING_API_KEY, OPENAI_API_KEY | 744 | 2026-10-24 | MIT |
| mcp-for-argocd | argocd | ARGOCD_API_TOKEN, MCP_AUTH_TOKEN | 596 | 2026-10-16 | Apache-2.0 |
| agenticmail | agenticmail, cloudflare, gmail, openai, relay | AGENTICMAIL_API_KEY, AGENTICMAIL_INBOUND_SECRET, AGENTICMAIL_MASTER_KEY, CLOUDFLARE_API_TOKEN, GMAIL_PASSWORD, GMAIL_RELAY_APP_PASSWORD, OPENAI_API_KEY, RELAY_PASSWORD | 239 | 2026-10-21 | MIT |
| opik-mcp | opik | OPIK_API_KEY | 225 | 2026-10-22 | Apache-2.0 |
| loki-mcp | grafana, loki | LOKI_PASSWORD, LOKI_TOKEN | 176 | 2026-10-23 | — |
Ranked by services in common with prometheus-mcp-server, then by stars. Figures are from each repository when we last read it.
Common questions about prometheus-mcp-server
- What does prometheus-mcp-server do?
- This server implements the Model Context Protocol (MCP) to allow AI agents and LLMs to query and analyze Prometheus metrics using standardized interfaces.
- How do I install prometheus-mcp-server?
- Its own README gives this command: claude mcp add prometheus --env PROMETHEUS_URL=http://your-prometheus:9090 -- docker run -i --rm -e PROMETHEUS_URL ghcr.io/pab1it0/prometheus-mcp-server:latest. Run it where your MCP client can launch the server, and check the README for any settings it asks for.
- What does prometheus-mcp-server connect to, and what does it need?
- It reaches prometheus. The credentials we found in its source are PROMETHEUS_PASSWORD.
- Is prometheus-mcp-server official and is it maintained?
- We found nothing naming it as a vendor’s official server. Its repository has 519 GitHub stars and its state in our directory is listed. Its last commit we recorded was on 2026-10-19.
- What licence does prometheus-mcp-server use?
- The repository declares the MIT licence.
More MCP servers for cloud & infrastructure
- memora744 stars
- mcp-for-argocd596 stars
- agenticmail239 stars
- opik-mcp225 stars
- loki-mcp176 stars
- aks-mcp143 stars