Prometheus MCP — query metrics, inspect alerts, and explore scrape targets (read-only).
Use this profile to copy client config, check auth requirements, review tools and resources, and compare related MCP servers before adding it to an AI client.
uvx prometheus-mcp{
"PROMETHEUS_URL": "YOUR_VALUE_HERE",
"PROMETHEUS_TOKEN": "YOUR_SECRET_VALUE",
"PROMETHEUS_USERNAME": "YOUR_VALUE_HERE",
"PROMETHEUS_PASSWORD": "YOUR_SECRET_VALUE",
"PROMETHEUS_SSL_VERIFY": "true"
}Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
{
"mcpServers": {
"io-github-mshegolev-prometheus-mcp": {
"command": "uvx",
"args": [
"prometheus-mcp"
],
"env": {
"PROMETHEUS_URL": "YOUR_VALUE_HERE",
"PROMETHEUS_TOKEN": "YOUR_SECRET_VALUE",
"PROMETHEUS_USERNAME": "YOUR_VALUE_HERE",
"PROMETHEUS_PASSWORD": "YOUR_SECRET_VALUE",
"PROMETHEUS_SSL_VERIFY": "true"
}
}
}
}~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonNo remote HTTP endpoint is advertised. Use the package or stdio setup shown in Install.
prometheus-mcp is an MCP server for Prometheus MCP — query metrics, inspect alerts, and explore scrape targets (read-only).. It supports STDIO transport.
Use the generated config in Install. This server runs with uvx prometheus-mcp; add any required environment variables before starting your client.
Choose the Claude Desktop tab in Install and copy the config for uvx prometheus-mcp. Add required environment variables before starting Claude Desktop.
Choose the Claude Code tab in Install and copy the config for uvx prometheus-mcp. Add required environment variables before starting Claude Code.
Choose the Codex tab in Install and copy the config for uvx prometheus-mcp. Add required environment variables before starting Codex.
Choose the Cursor or VS Code tab in Install and copy the config for uvx prometheus-mcp. Add required environment variables before starting Cursor or VS Code.
prometheus-mcp uses STDIO transport. Use the package or command config in Install.
prometheus-mcp inventory is listed when the MCP endpoint exposes tools, resources, or prompts. Some servers require auth first.
prometheus-mcp is marked with Auth required by registry metadata auth. You may need provider login, an API key, a bearer token, or a session header.
| Package | Registry | Version | Inputs |
|---|---|---|---|
prometheus-mcpstdio | pypi | 0.1.0 | Env: PROMETHEUS_URL required Env: PROMETHEUS_TOKEN secret Env: PROMETHEUS_USERNAME Env: PROMETHEUS_PASSWORD secret Env: PROMETHEUS_SSL_VERIFY |