← Index

io.github.mshegolev/prometheus-mcp

io.github.mshegolev/prometheus-mcp·v0.1.0·Web Scraping
Quality Score
80
/100

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

§01  Install
Claude Desktop (uvx)
{
  "mcpServers": {
    "prometheus-mcp": {
      "command": "uvx",
      "args": [
        "prometheus-mcp"
      ],
      "env": {
        "PROMETHEUS_URL": "<prometheus_url>",
        "PROMETHEUS_TOKEN": "<your-prometheus_token>",
        "PROMETHEUS_USERNAME": "<prometheus_username>",
        "PROMETHEUS_PASSWORD": "<your-prometheus_password>",
        "PROMETHEUS_SSL_VERIFY": "true"
      }
    }
  }
}
§02  Environment variables
PROMETHEUS_URL
required

Prometheus server URL, e.g. https://prometheus.example.com (no trailing slash)

PROMETHEUS_TOKEN
secret

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
secret

HTTP Basic auth password.

PROMETHEUS_SSL_VERIFY

Verify SSL certificates (true/false). Set to 'false' for self-signed certs.

§03  MCP Quality Score  ·  methodology
freshness
25
completeness
10
installability
25
documentation
15
stability
5
§04  Alternatives in Web Scraping