Skip to content
ReviewRamble

The weekly brief

AI, reviewed, in your inbox.

  • New reviews of tools, models, MCP servers and repos, with the verdict up front
  • Re-checked prices and ratings when something changes
  • New analysis pieces as they are published

Models, agents, MCP servers and the tools actually worth your time.

One email a week. Unsubscribe with the link in any brief. How we use your email

Prometheus MCP Server

The Prometheus project's own MCP server: PromQL, targets, rules, TSDB stats and docs search, with destructive tools off by default.

Reviewed by ReviewRamble editors · Updated

Setup docs Open source

Share this page:XLinkedInFacebookRedditWhatsAppEmail

Our rating

4.1/5

If your metrics live in plain Prometheus rather than Grafana, this upstream server gives an agent the most complete view of it, and it keeps the dangerous tools locked away.

What is Prometheus MCP Server?

Prometheus MCP Server lets an MCP client run instant and range PromQL queries, explore metric names, labels and series, list targets, alerts and rules, read the server's config, flags and TSDB cardinality stats, and search the official Prometheus documentation. It also embeds runbooks, packaged as Agent Skills and MCP prompts, for jobs such as health checks, missing-data triage and high-cardinality clean-up, and has backend support for Thanos.

It began as tjhop/prometheus-mcp-server and now lives in the prometheus GitHub organisation, Apache-2.0 licensed and written in Go, with about 147 stars. The last stable release is v0.18.0 from 25 April 2026; v0.19.0-rc.0, from 2 November 2026, renames the binary and its environment variables. The better-known community alternative, pab1it0/prometheus-mcp-server, has about 525 stars and six tools.

How to install Prometheus MCP Server

docker run --rm -i ghcr.io/tjhop/prometheus-mcp-server:latest --prometheus.url "https://$yourPrometheus:9090"

Is Prometheus MCP Server worth it?

This is the Prometheus server to pick when you want depth on Prometheus itself. It lists 27 tools against the HTTP API, from query and range_query to tsdb_stats, list_rules, targets_metadata and wal_replay_status, so an agent can investigate why queries are slow or which label is blowing up cardinality, not just run PromQL. The tools that delete series, clean tombstones or take snapshots are not registered unless the server starts with --dangerous.enable-tsdb-admin-tools.

Two features show it was built for long sessions. The core set of 11 tools is always loaded and others are added with --mcp.tools, so a small-context model is not handed everything. Responses can be truncated or encoded as TOON, a compact format, to save tokens. The embedded runbooks and docs_search tools mean the agent can check Prometheus's own naming and recording-rule guidance before suggesting a change.

The catch: the HTTP transport forwards each client's Authorization header to Prometheus without validating it, and anyone who can reach the endpoint can query with at least the default credentials, so it needs a web config file or a network boundary in front. The quit and reload tools are registered by default; they only work if Prometheus runs with --web.enable-lifecycle, but that is worth checking. The v0.19.0 rename silently ignores the old PROMETHEUS_MCP_SERVER_ variable names, and the README's Docker examples still point at the ghcr.io/tjhop image.

Grafana's own MCP server, with 129 tools, already queries Prometheus through Grafana data sources alongside dashboards, Loki and incidents, and is the better fit for teams that live in Grafana. pab1it0's server, with about 5,460 PyPI downloads in the last week, is the simpler choice when all you need is PromQL.

Our take: Grafana's server answers "what is on my dashboards", this one answers "what is Prometheus itself doing", and an SRE team debugging Prometheus will want the second.

Where it earns its place

  • An SRE at a 200-person SaaS company with one large Prometheus

    Find which metrics and labels are making queries slow

    Ask the agent to run tsdb_stats, read the high-cardinality runbook and propose recording rules or relabelling. Free, read-only by default; the agent suggests, a person changes the config.

  • A platform engineer on call for a Kubernetes cluster

    Work out which scrape targets went down and which alerts fired after a deploy

    Run the server over stdio against the cluster's Prometheus and ask for down targets, active alerts and a range query on error rates for the deploy window. It replaces a round of clicking through the Prometheus UI.

Before you commit

Setup
Download a release binary or tarball with a systemd unit, or run the ghcr.io/tjhop/prometheus-mcp-server image, with --prometheus.url pointing at your server. A Helm chart and raw Kubernetes manifests are also published.
Integrations
Prometheus HTTP API and Thanos (with --prometheus.backend=thanos); Prometheus-compatible backends for queries; official Prometheus docs; MCP resources, prompts and skill:// resources; its own /metrics, health and pprof endpoints.
Data and privacy
Self-hosted and talks only to your Prometheus; query results go to your model provider. Supports Prometheus HTTP config files for TLS and auth to Prometheus, and web config files for basic auth and TLS on its own endpoints.
Cost at scale
Free under Apache-2.0. Cost is the model tokens; truncation and TOON output exist to cut them.
Limits
Over HTTP only Streamable HTTP is served, not the older SSE transport. Some tools return 404 on Thanos and are removed for that backend. About 16 open issues at the time of checking.

What’s good

  • 27 tools including TSDB stats, rules and runtime info
  • TSDB admin tools need an explicit dangerous flag
  • Embedded runbooks and official docs search
  • Thanos backend support and stateless HTTP

What’s not

  • HTTP mode forwards credentials unvalidated
  • quit and reload tools registered by default
  • v0.19.0 rename silently drops old variable names
  • Last stable release April 2026

Best for

SRE and platform teams running Prometheus or Thanos directly who want an agent to investigate cardinality, rules and slow queries as well as run PromQL.

Prometheus MCP Server alternatives

Prometheus MCP Server: common questions

Is Prometheus MCP Server worth it?
If your metrics live in plain Prometheus rather than Grafana, this upstream server gives an agent the most complete view of it, and it keeps the dangerous tools locked away. We rate it 4.1 out of 5.
How much does Prometheus MCP Server cost?
Free and open source (Apache-2.0).
What are the downsides of Prometheus MCP Server?
HTTP mode forwards credentials unvalidated; quit and reload tools registered by default; v0.19.0 rename silently drops old variable names; last stable release April 2026.
Who is Prometheus MCP Server best for?
SRE and platform teams running Prometheus or Thanos directly who want an agent to investigate cardinality, rules and slow queries as well as run PromQL.
How much does Prometheus MCP Server cost for a team or in production?
Free under Apache-2.0. Cost is the model tokens; truncation and TOON output exist to cut them.
Is Prometheus MCP Server safe for company data?
Self-hosted and talks only to your Prometheus; query results go to your model provider. Supports Prometheus HTTP config files for TLS and auth to Prometheus, and web config files for basic auth and TLS on its own endpoints.
What are the best Prometheus MCP Server alternatives?
The closest alternatives we have reviewed are Grafana MCP Server and MCP Server Kubernetes.

Answers checked Nov 25, 2026.

Make Prometheus MCP Server? Show this rating on your sitePrometheus MCP Server rated 4.1 out of 5 on ReviewRamble