LocalFree

Prometheus MCP server

mshegolev/prometheus-mcp

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

0 GitHub stars

Install Prometheus in Claude Code

Claude Code
claude mcp add mshegolev-prometheus -e PROMETHEUS_URL=... -- uvx prometheus-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "mshegolev-prometheus": {
      "command": "uvx",
      "args": [
        "prometheus-mcp"
      ],
      "env": {
        "PROMETHEUS_URL": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the Prometheus MCP server do?

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

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 mshegolev-prometheus -e PROMETHEUS_URL=... -- uvx prometheus-mcp

More search & web scraping MCP servers

View all