P
Install Command
npx -y prometheus-mcpClaude Desktop Config
{"command": "npx", "args": ["-y", "prometheus-mcp"], "env": {"PROMETHEUS_URL": "http://localhost:9090"}}Prometheus Metrics is an officially maintained MCP server in the Monitoring & Observability category, developed by Community. It runs locally on your machine, keeping your data private and giving you full control over the connection. Adding it to your setup expands what Claude can do without any extra coding.
About Prometheus Metrics
Enables AI agents to perform PromQL queries against Prometheus instances to monitor system performance and health.
Who Should Use Prometheus Metrics?
- 1Extend Claude and other AI assistants with new capabilities
- 2Automate tasks that previously required manual steps
- 3Connect your existing tools to an AI workflow
- 4Reduce repetitive work by letting AI interact with your services
How to Install Prometheus Metrics
Before you start
You will need Node.js (v18 or later) installed on your machine — download it from nodejs.org if you haven't already.
- 1Open a terminal (Terminal on Mac, Command Prompt or PowerShell on Windows).
- 2Paste the install command above and press Enter — Node.js will download and run the server automatically.
- 3Add the server to your Claude Desktop config file (see the JSON snippet above) and restart Claude.
The Claude Desktop config snippet above can be copied and pasted directly into your claude_desktop_config.json file — no editing required.
How Prometheus Metrics Compares
✦It is an officially maintained server — unlike community alternatives, it is built and supported by the original project team, ensuring compatibility with upstream changes.
✦It runs entirely on your local machine, so no data leaves your environment — important for teams with privacy or compliance requirements.
✦It is distributed as an npm package, making version management and updates straightforward with a single `npm update` command.
Tags
PrometheusMonitoringMetricsSRE