LocalFree

Prometheus MCP server

pab1it0/prometheus-mcp-server

Query and analyze Prometheus, the open-source monitoring system.

521 GitHub stars105 forks

Install Prometheus in Claude Code

Claude Code
claude mcp add prometheus -e PROMETHEUS_URL=... -- docker run -i --rm -e PROMETHEUS_URL ghcr.io/pab1it0/prometheus-mcp-server:1.6.2
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "prometheus": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PROMETHEUS_URL",
        "ghcr.io/pab1it0/prometheus-mcp-server:1.6.2"
      ],
      "env": {
        "PROMETHEUS_URL": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the Prometheus MCP server do?

Query and analyze Prometheus, the open-source monitoring system.

Is the Prometheus MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does Prometheus run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Prometheus to Claude Code?

Run: claude mcp add prometheus -e PROMETHEUS_URL=... -- docker run -i --rm -e PROMETHEUS_URL ghcr.io/pab1it0/prometheus-mcp-server:1.6.2

More databases MCP servers

View all