AdYour product here, seen by people installing AI tools every day Sponsor slots open: 12 of 12, from $249 a month

Prometheus MCP Server

Community

MCP server by pab1it0 · updated · ★ 519

Score 85

MCP server providing Prometheus metrics access and PromQL query execution for AI assistants Prometheus MCP Server is a community project by pab1it0, not verified by a company domain.

Yours? Claim it
Maintenance

Last commit 3 days ago

Licence

MIT: permissive, fine for commercial use

Quality

Clear description, published package or server URL, 519 stars, original repository

Security

Downloads a script from the internet and runs it (a well-known installer)

What you need

SettingNeededWhat it is
PROMETHEUS_URLEnvironment variableRequiredPrometheus server URL (e.g., http://localhost:9090)
PROMETHEUS_URL_SSL_VERIFYEnvironment variableOptionalSet to False to disable SSL verification
PROMETHEUS_DISABLE_LINKSEnvironment variableOptionalSet to True to disable Prometheus UI links in query results (saves context tokens in MCP clients)
PROMETHEUS_USERNAMEEnvironment variableOptionalUsername for Prometheus basic authentication
PROMETHEUS_PASSWORDEnvironment variable, secretOptionalPassword for Prometheus basic authentication
PROMETHEUS_TOKENEnvironment variable, secretOptionalBearer token for Prometheus authentication
ORG_IDEnvironment variableOptionalOrganization ID for multi-tenant Prometheus setups
PROMETHEUS_CLIENT_CERTEnvironment variableOptionalPath to client certificate file for mutual TLS authentication
PROMETHEUS_CLIENT_KEYEnvironment variableOptionalPath to client private key file for mutual TLS authentication
PROMETHEUS_MCP_SERVER_TRANSPORTEnvironment variableOptionalMCP server transport type (stdio, http, or sse)
PROMETHEUS_MCP_BIND_HOSTEnvironment variableOptionalHost address for HTTP/SSE transport (default: 127.0.0.1)
PROMETHEUS_MCP_BIND_PORTEnvironment variableOptionalPort number for HTTP/SSE transport (default: 8080)
PROMETHEUS_MCP_STATELESS_HTTPEnvironment variableOptionalEnable stateless HTTP mode for multi-replica support (default: false)
PROMETHEUS_CUSTOM_HEADERSEnvironment variableOptionalCustom headers as JSON string to include in Prometheus requests

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Install Prometheus MCP Server

Built from the published package, never by AI
claude mcp add prometheus-mcp-server -e PROMETHEUS_URL=YOUR_PROMETHEUS_URL -- docker run -i --rm -e PROMETHEUS_URL ghcr.io/pab1it0/prometheus-mcp-server:1.6.2

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Prometheus MCP Server in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the prometheus-mcp-server block.

Weekly newsletter

Like Prometheus MCP Server? Get the best new MCP servers every week

The best new tools, security warnings before you install something risky, and one practical tip. Free, three minute read.

No spam. Unsubscribe in one click. Privacy

Security check

B
  • Downloads a script from the internet and runs it (a well-known installer)In README.md: curl -LsSf https://astral.sh/uv/install.sh | sh

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Prometheus MCP Server

All alternatives →

Prometheus MCP Server: common questions

How do I install Prometheus MCP Server?

In Claude Code run claude mcp add prometheus-mcp-server -e PROMETHEUS_URL=YOUR_PROMETHEUS_URL -- docker run -i --rm -e PROMETHEUS_URL ghcr.io/pab1it0/prometheus-mcp-server:1.6.2. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Prometheus MCP Server the official server?

Prometheus MCP Server is a community project by pab1it0, not verified by a company domain.

Is Prometheus MCP Server free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Prometheus MCP Server safe to use?

It scores 85 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (downloads a script from the internet and runs it (a well-known installer)). Review the code before you install. How grades work.

What are alternatives to Prometheus MCP Server?

Similar MCP servers: Azure MCP Server, Omnara, mcp, Superlog.

Does Prometheus MCP Server work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Add to stack

Loading.