Prometheus MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 225 installs a week from pypi. Last commit 29 Oct 2026.
Prometheus MCP — query metrics, inspect alerts, and explore scrape targets (read-only).
Today is the operative word: we check Prometheus MCP every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.
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.
claude mcp add prometheus-mcp -e 'PROMETHEUS_URL=<PROMETHEUS_URL>' -- uvx prometheus-mcp
{
"mcpServers": {
"prometheus-mcp": {
"command": "uvx",
"args": [
"prometheus-mcp"
],
"env": {
"PROMETHEUS_URL": "<PROMETHEUS_URL>"
}
}
}
}
[mcp_servers.prometheus-mcp]
command = "uvx"
args = ["prometheus-mcp"]
env = { PROMETHEUS_URL = "<PROMETHEUS_URL>" }
{
"mcpServers": {
"prometheus-mcp": {
"command": "uvx",
"args": [
"prometheus-mcp"
],
"env": {
"PROMETHEUS_URL": "<PROMETHEUS_URL>"
}
}
}
}
{
"servers": {
"prometheus-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"prometheus-mcp"
],
"env": {
"PROMETHEUS_URL": "<PROMETHEUS_URL>"
}
}
}
}
Put your own value in place of
<PROMETHEUS_URL> (Prometheus server URL, e.g. https://prometheus.example.com (no trailing slash)).
The author’s registry entry marks it as required.
Optional settings from the registry entry, left out of the block above:
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).
Read-only Kubernetes MCP server: inspect resources, logs, events, and metrics. Secrets are masked.
Read-only access to a Lumin project's logs, metrics, uptime checks, alerts and infrastructure.
Read-only project-level Grafana MCP: Loki logs, metrics, traces, alerts, test/prod switching
MCP server providing Prometheus metrics access and PromQL query execution for AI assistants
Query metrics, targets, entities, and team data in your Steep workspace via MCP.
Read-only Recharge store analytics: metrics, dimensions, and governed queries in plain language.
Prometheus MCP server for AI agents: PromQL queries, alert explanations, series discovery.
Read-only MCP server: query_metrics over local metric time-series (Quellgeist triage).
Answers built from our own checks of this server.