Back to MCP Servers
🔌

Prometheus MCP Server

MITAPI key required

MCP server providing Prometheus metrics access and PromQL query execution for AI assistants

To add Prometheus MCP Server to Claude, run the install command below. Restart Claude Code after adding it and its tools show up in your next conversation. It needs 14 environment variables, listed below.

AIDevTools

Install

docker run -i --rm ghcr.io/pab1it0/prometheus-mcp-server:1.6.2

Environment variables

PROMETHEUS_URLSet in your MCP config
PROMETHEUS_URL_SSL_VERIFYSet in your MCP config
PROMETHEUS_DISABLE_LINKSSet in your MCP config
PROMETHEUS_USERNAMESet in your MCP config
PROMETHEUS_PASSWORDSet in your MCP config
PROMETHEUS_TOKENSet in your MCP config
ORG_IDSet in your MCP config
PROMETHEUS_CLIENT_CERTSet in your MCP config
PROMETHEUS_CLIENT_KEYSet in your MCP config
PROMETHEUS_MCP_SERVER_TRANSPORTSet in your MCP config
PROMETHEUS_MCP_BIND_HOSTSet in your MCP config
PROMETHEUS_MCP_BIND_PORTSet in your MCP config
PROMETHEUS_MCP_STATELESS_HTTPSet in your MCP config
PROMETHEUS_CUSTOM_HEADERSSet in your MCP config

What this does

Prometheus MCP Server exposes a set of tools to Claude over the Model Context Protocol. After you add it to claude_desktop_config.json (snippet above) and restart Claude Desktop, those tools become callable inside any conversation.

Requirements

This server needs the following environment variables to be set before it can run:

PROMETHEUS_URL
PROMETHEUS_URL_SSL_VERIFY
PROMETHEUS_DISABLE_LINKS
PROMETHEUS_USERNAME
PROMETHEUS_PASSWORD
PROMETHEUS_TOKEN
ORG_ID
PROMETHEUS_CLIENT_CERT
PROMETHEUS_CLIENT_KEY
PROMETHEUS_MCP_SERVER_TRANSPORT
PROMETHEUS_MCP_BIND_HOST
PROMETHEUS_MCP_BIND_PORT
PROMETHEUS_MCP_STATELESS_HTTP
PROMETHEUS_CUSTOM_HEADERS

Set these via the env object in your MCP config (see claude_desktop_config.json snippet above).

Frequently asked questions

How do I install Prometheus MCP Server?

The install section on this page carries the maker's install command for Prometheus MCP Server, as submitted. Restart your client afterwards and the tools appear in your next conversation.

Which clients work with Prometheus MCP Server?

This page carries setup and config for Claude Code. Any other MCP client that accepts a standard server config can connect to Prometheus MCP Server as well.

Does Prometheus MCP Server need an API key?

Yes. Before it can run, set these environment variables: PROMETHEUS_URL, PROMETHEUS_URL_SSL_VERIFY, PROMETHEUS_DISABLE_LINKS, PROMETHEUS_USERNAME, PROMETHEUS_PASSWORD, PROMETHEUS_TOKEN, ORG_ID, PROMETHEUS_CLIENT_CERT, PROMETHEUS_CLIENT_KEY, PROMETHEUS_MCP_SERVER_TRANSPORT, PROMETHEUS_MCP_BIND_HOST, PROMETHEUS_MCP_BIND_PORT, PROMETHEUS_MCP_STATELESS_HTTP, PROMETHEUS_CUSTOM_HEADERS. They go in the env block of your MCP config.

What license is Prometheus MCP Server under?

Prometheus MCP Server is listed under the MIT license.

Imported from the Official MCP Registry. The details above come from the registry entry; the maker can claim this listing to correct them, add docs, and see its traffic.

Is this your MCP server?

Claim this listing to see its traffic, fix details yourself, and skip the review queue on future updates.

Listed on clauderules.net

Add this badge to your README

Show visitors this server is listed in the ClaudeRules directory. The badge links straight to this listing.

Markdown
[![Listed on clauderules.net](https://clauderules.net/api/badge/pab1it0-prometheus-mcp-server)](https://clauderules.net/mcp/pab1it0-prometheus-mcp-server)
HTML
<a href="https://clauderules.net/mcp/pab1it0-prometheus-mcp-server" target="_blank" rel="noopener noreferrer"><img src="https://clauderules.net/api/badge/pab1it0-prometheus-mcp-server" alt="Listed on clauderules.net" /></a>