mcpbeat Sign in

Prometheus MCP Server

local only

Prometheus MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 105 installs a week from pypi. Last commit 7 Aug 2026.

Prometheus MCP — query metrics, inspect alerts, and explore scrape targets (read-only).

Installs per day peak 68 · avg 21 · -18% w/w
a month agotoday
105
Installs / week
pypi · prometheus-mcp
0
Stars
0 open issues
7 Aug 2026
Last commit
0 releases in 90 days
MIT
License
Python

What the code does

We read the source, 9 h ago · rules 3dff92dd89df

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Builds a database query by concatenation [пакет] .github/workflows/auto-release.yml:75
      - name: Update version in pyproject.toml
        run: |
          NEW_VERSION=${{ steps.new_version.outputs.version }}

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add prometheus-mcp -- uvx prometheus-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "prometheus-mcp": {
      "args": [
        "prometheus-mcp"
      ],
      "command": "uvx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.prometheus-mcp]
command = "uvx"
args = ["prometheus-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "prometheus-mcp": {
      "args": [
        "prometheus-mcp"
      ],
      "command": "uvx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "prometheus-mcp": {
      "args": [
        "prometheus-mcp"
      ],
      "command": "uvx"
    }
  }
}

This one needs environment variables set before it will start: PROMETHEUS_URL (Prometheus server URL, e.g. https://prometheus.example.com (no trailing slash)), PROMETHEUS_TOKEN (Bearer token for authentication. Takes priority over Basic auth.), PROMETHEUS_USERNAME (HTTP Basic auth username. Used only when PROMETHEUS_TOKEN is not set.), PROMETHEUS_PASSWORD (HTTP Basic auth password.), PROMETHEUS_SSL_VERIFY (Verify SSL certificates (true/false). Set to 'false' for self-signed certs.). The author declared them in the registry entry; get the values from the project itself.

Alternatives to Prometheus MCP

same job, measured the same way
MCP K8s Ro
by your-ko

Read-only Kubernetes MCP server: inspect resources, logs, events, and metrics. Secrets are masked.

local only
Lumin
by getlumin

Read-only access to a Lumin project's logs, metrics, uptime checks, alerts and infrastructure.

answering
Prometheus MCP Server
by pab1it0

MCP server providing Prometheus metrics access and PromQL query execution for AI assistants

local only
Steep
by steep

Query metrics, targets, entities, and team data in your Steep workspace via MCP.

answering
Recharge Merchant MCP
by rechargeapps

Read-only Recharge store analytics: metrics, dimensions, and governed queries in plain language.

answering
Quellgeist Metrics
by rajeev-shyam

Read-only MCP server: query_metrics over local metric time-series (Quellgeist triage).

91 installs/wk local only
Churn Solution
by churnsolution

Query Churn Solution cancellation-flow metrics, revenue, and feedback analytics (read-only).

answering
Health Export MCP
by philipad

Query 190 Apple Health metrics from any MCP agent: zero-dependency, read-only, local-first.

105 installs/wk local only

Prometheus MCP — questions

Answers built from our own checks of this server.

Why is there no uptime for Prometheus MCP?
Prometheus MCP runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package prometheus-mcp was installed 105 times last week.
How do I connect Prometheus MCP?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls prometheus-mcp straight from pypi; nothing to host, nothing to sign up for.
How many people use Prometheus MCP?
The pypi package prometheus-mcp was installed 105 times in the last week. Week over week that is -18%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Prometheus MCP open source?
Yes — it is published under the MIT licence, written in Python and 0 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.