Prometheus MCP Server
Query, inspect, configure, and manage a running Prometheus instance through MCP tools.
Install Prometheus MCP Server
Run the project’s own setup commands, in order.
Setup steps from the project
prometheus-mcp-server installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com
PROMETHEUS_MCP_PROMETHEUS_URL="https://$yourPrometheus:9090" /path/to/prometheus-mcpdocker run --rm -i ghcr.io/tjhop/prometheus-mcp-server:latest --prometheus.url "https://$yourPrometheus:9090"docker run --rm -i -e PROMETHEUS_MCP_SERVER_PROMETHEUS_URL="https://$yourPrometheus:9090" ghcr.io/tjhop/prometheus-mcp-server:latestdocker run --rm -p 8080:8080 ghcr.io/tjhop/prometheus-mcp-server:latest --prometheus.url "https://$yourPrometheus:9090" --mcp.transport "http" --web.listen-address ":8080"docker run --rm -p 8080:8080 -e PROMETHEUS_MCP_SERVER_PROMETHEUS_URL="https://$yourPrometheus:9090" -e PROMETHEUS_MCP_SERVER_MCP_TRANSPORT="http" -e PROMETHEUS_MCP_SERVER_WEB_LISTEN_ADDRESS=":8080" ghcr.io/tjhop/prometheus-mcp-server:latesthelm install prometheus-mcp-server oci://ghcr.io/tjhop/charts/prometheus-mcp-server \ --version <version> \ --set prometheus.url=http://prometheus:9090
Overview
Use cases
- Investigate slow PromQL queries and high-cardinality metrics
- Review Prometheus health, configuration, runtime details, and targets
- Explore metric names, labels, series, exemplars, and metadata
- Inspect active alerts and loaded recording or alerting rules
- Follow embedded runbooks for missing-data and error-rate investigations
Key features
- Instant and range PromQL queries
- Metric, label, series, target, and exemplar discovery
- Prometheus health, runtime, configuration, and rule inspection
- Searchable Prometheus documentation and embedded runbooks
- Optional TSDB administration tools
- TOON output and configurable response truncation
Tools30
What Prometheus MCP Server lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Prometheus MCP Server works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Prometheus MCP Server
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/prometheus-mcp-server)<a href="https://allmcps.com/mcp/prometheus-mcp-server"><img src="https://allmcps.com/api/badge/prometheus-mcp-server?style=directory" alt="Prometheus MCP Server on AllMCPs" /></a>