Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

Prometheus MCP Server

by pab1it0version 1.6.2i★ –iRuns on your computer
Registry nameio.github.pab1it0/prometheus-mcp-server

Install

Overview

Description from the maker (original English)

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

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Other
  • You need to fill in: PROMETHEUS_URL, PROMETHEUS_PASSWORD, PROMETHEUS_TOKEN

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • You fill in yourself: 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

Values marked secret are keys to your account. Never share them or paste them into a chat.

You need

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

{
  "mcpServers": {
    "prometheus": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PROMETHEUS_URL",
        "-e",
        "PROMETHEUS_URL_SSL_VERIFY",
        "-e",
        "PROMETHEUS_DISABLE_LINKS",
        "-e",
        "PROMETHEUS_USERNAME",
        "-e",
        "PROMETHEUS_PASSWORD",
        "-e",
        "PROMETHEUS_TOKEN",
        "-e",
        "ORG_ID",
        "-e",
        "PROMETHEUS_CLIENT_CERT",
        "-e",
        "PROMETHEUS_CLIENT_KEY",
        "-e",
        "PROMETHEUS_MCP_SERVER_TRANSPORT",
        "-e",
        "PROMETHEUS_MCP_BIND_HOST",
        "-e",
        "PROMETHEUS_MCP_BIND_PORT",
        "-e",
        "PROMETHEUS_MCP_STATELESS_HTTP",
        "-e",
        "PROMETHEUS_CUSTOM_HEADERS",
        "ghcr.io/pab1it0/prometheus-mcp-server:1.6.2"
      ],
      "env": {
        "PROMETHEUS_URL": "your-value",
        "PROMETHEUS_URL_SSL_VERIFY": "your-value",
        "PROMETHEUS_DISABLE_LINKS": "your-value",
        "PROMETHEUS_USERNAME": "your-value",
        "PROMETHEUS_PASSWORD": "your-value",
        "PROMETHEUS_TOKEN": "your-value",
        "ORG_ID": "your-value",
        "PROMETHEUS_CLIENT_CERT": "your-value",
        "PROMETHEUS_CLIENT_KEY": "your-value",
        "PROMETHEUS_MCP_SERVER_TRANSPORT": "your-value",
        "PROMETHEUS_MCP_BIND_HOST": "your-value",
        "PROMETHEUS_MCP_BIND_PORT": "your-value",
        "PROMETHEUS_MCP_STATELESS_HTTP": "your-value",
        "PROMETHEUS_CUSTOM_HEADERS": "your-value"
      }
    }
  }
}

Run this in your terminal

claude mcp add prometheus --env PROMETHEUS_URL=your-value --env PROMETHEUS_URL_SSL_VERIFY=your-value --env PROMETHEUS_DISABLE_LINKS=your-value --env PROMETHEUS_USERNAME=your-value --env PROMETHEUS_PASSWORD=your-value --env PROMETHEUS_TOKEN=your-value --env ORG_ID=your-value --env PROMETHEUS_CLIENT_CERT=your-value --env PROMETHEUS_CLIENT_KEY=your-value --env PROMETHEUS_MCP_SERVER_TRANSPORT=your-value --env PROMETHEUS_MCP_BIND_HOST=your-value --env PROMETHEUS_MCP_BIND_PORT=your-value --env PROMETHEUS_MCP_STATELESS_HTTP=your-value --env PROMETHEUS_CUSTOM_HEADERS=your-value -- docker run -i --rm -e PROMETHEUS_URL -e PROMETHEUS_URL_SSL_VERIFY -e PROMETHEUS_DISABLE_LINKS -e PROMETHEUS_USERNAME -e PROMETHEUS_PASSWORD -e PROMETHEUS_TOKEN -e ORG_ID -e PROMETHEUS_CLIENT_CERT -e PROMETHEUS_CLIENT_KEY -e PROMETHEUS_MCP_SERVER_TRANSPORT -e PROMETHEUS_MCP_BIND_HOST -e PROMETHEUS_MCP_BIND_PORT -e PROMETHEUS_MCP_STATELESS_HTTP -e PROMETHEUS_CUSTOM_HEADERS ghcr.io/pab1it0/prometheus-mcp-server:1.6.2

Fill in the empty values before running it.

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

{
  "mcpServers": {
    "prometheus": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PROMETHEUS_URL",
        "-e",
        "PROMETHEUS_URL_SSL_VERIFY",
        "-e",
        "PROMETHEUS_DISABLE_LINKS",
        "-e",
        "PROMETHEUS_USERNAME",
        "-e",
        "PROMETHEUS_PASSWORD",
        "-e",
        "PROMETHEUS_TOKEN",
        "-e",
        "ORG_ID",
        "-e",
        "PROMETHEUS_CLIENT_CERT",
        "-e",
        "PROMETHEUS_CLIENT_KEY",
        "-e",
        "PROMETHEUS_MCP_SERVER_TRANSPORT",
        "-e",
        "PROMETHEUS_MCP_BIND_HOST",
        "-e",
        "PROMETHEUS_MCP_BIND_PORT",
        "-e",
        "PROMETHEUS_MCP_STATELESS_HTTP",
        "-e",
        "PROMETHEUS_CUSTOM_HEADERS",
        "ghcr.io/pab1it0/prometheus-mcp-server:1.6.2"
      ],
      "env": {
        "PROMETHEUS_URL": "your-value",
        "PROMETHEUS_URL_SSL_VERIFY": "your-value",
        "PROMETHEUS_DISABLE_LINKS": "your-value",
        "PROMETHEUS_USERNAME": "your-value",
        "PROMETHEUS_PASSWORD": "your-value",
        "PROMETHEUS_TOKEN": "your-value",
        "ORG_ID": "your-value",
        "PROMETHEUS_CLIENT_CERT": "your-value",
        "PROMETHEUS_CLIENT_KEY": "your-value",
        "PROMETHEUS_MCP_SERVER_TRANSPORT": "your-value",
        "PROMETHEUS_MCP_BIND_HOST": "your-value",
        "PROMETHEUS_MCP_BIND_PORT": "your-value",
        "PROMETHEUS_MCP_STATELESS_HTTP": "your-value",
        "PROMETHEUS_CUSTOM_HEADERS": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "prometheus": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PROMETHEUS_URL",
        "-e",
        "PROMETHEUS_URL_SSL_VERIFY",
        "-e",
        "PROMETHEUS_DISABLE_LINKS",
        "-e",
        "PROMETHEUS_USERNAME",
        "-e",
        "PROMETHEUS_PASSWORD",
        "-e",
        "PROMETHEUS_TOKEN",
        "-e",
        "ORG_ID",
        "-e",
        "PROMETHEUS_CLIENT_CERT",
        "-e",
        "PROMETHEUS_CLIENT_KEY",
        "-e",
        "PROMETHEUS_MCP_SERVER_TRANSPORT",
        "-e",
        "PROMETHEUS_MCP_BIND_HOST",
        "-e",
        "PROMETHEUS_MCP_BIND_PORT",
        "-e",
        "PROMETHEUS_MCP_STATELESS_HTTP",
        "-e",
        "PROMETHEUS_CUSTOM_HEADERS",
        "ghcr.io/pab1it0/prometheus-mcp-server:1.6.2"
      ],
      "env": {
        "PROMETHEUS_URL": "your-value",
        "PROMETHEUS_URL_SSL_VERIFY": "your-value",
        "PROMETHEUS_DISABLE_LINKS": "your-value",
        "PROMETHEUS_USERNAME": "your-value",
        "PROMETHEUS_PASSWORD": "your-value",
        "PROMETHEUS_TOKEN": "your-value",
        "ORG_ID": "your-value",
        "PROMETHEUS_CLIENT_CERT": "your-value",
        "PROMETHEUS_CLIENT_KEY": "your-value",
        "PROMETHEUS_MCP_SERVER_TRANSPORT": "your-value",
        "PROMETHEUS_MCP_BIND_HOST": "your-value",
        "PROMETHEUS_MCP_BIND_PORT": "your-value",
        "PROMETHEUS_MCP_STATELESS_HTTP": "your-value",
        "PROMETHEUS_CUSTOM_HEADERS": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

Values you fill in

  • PROMETHEUS_URL required env
    Prometheus server URL (e.g., http://localhost:9090)
  • PROMETHEUS_URL_SSL_VERIFY env
    Set to False to disable SSL verification
  • PROMETHEUS_DISABLE_LINKS env
    Set to True to disable Prometheus UI links in query results (saves context tokens in MCP clients)
  • PROMETHEUS_USERNAME env
    Username for Prometheus basic authentication
  • PROMETHEUS_PASSWORD secret env
    Password for Prometheus basic authentication
  • PROMETHEUS_TOKEN secret env
    Bearer token for Prometheus authentication
  • ORG_ID env
    Organization ID for multi-tenant Prometheus setups
  • PROMETHEUS_CLIENT_CERT env
    Path to client certificate file for mutual TLS authentication
  • PROMETHEUS_CLIENT_KEY env
    Path to client private key file for mutual TLS authentication
  • PROMETHEUS_MCP_SERVER_TRANSPORT env
    MCP server transport type (stdio, http, or sse)
  • PROMETHEUS_MCP_BIND_HOST env
    Host address for HTTP/SSE transport (default: 127.0.0.1)
  • PROMETHEUS_MCP_BIND_PORT env
    Port number for HTTP/SSE transport (default: 8080)
  • PROMETHEUS_MCP_STATELESS_HTTP env
    Enable stateless HTTP mode for multi-replica support (default: false)
  • PROMETHEUS_CUSTOM_HEADERS env
    Custom headers as JSON string to include in Prometheus requests

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 7, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account pab1it0, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Otheri

  • More stars than 0% of the other 32678 servers in this category
  • Published to the registry more recently than 21% of the other 32678 servers in this category
  • Basic checks equal to or better than 100% of the other 32678 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Prometheus MCP Server safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: PROMETHEUS_URL, PROMETHEUS_PASSWORD, PROMETHEUS_TOKEN

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (1.6.2) reached the registry 3 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Docker on your computer.

What can I use instead?

In the same category: Spec Driven Development, Remote Desktop Commander, Starreel

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Spec Driven Development

by formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

Runs on your computer★ 440MITUpdated 14 months ago
Install

Remote Desktop Commander

by desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

Runs in the cloud★ 211Updated 2 days ago
Install

Starreel

by starreel

Turn a script into a finished, downloadable short-drama episode — via MCP or REST.

Runs on your computerUpdated today
Install

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

Prometheus MCP Server

Give AI assistants the power to query your Prometheus metrics.

A Model Context Protocol (MCP) server that provides access to your Prometheus metrics and queries through standardized MCP interfaces, allowing AI assistants to execute PromQL queries and analyze your metrics data.

Getting Started

Prerequisites
  • Prometheus server accessible from your environment
  • MCP-compatible client (Claude Desktop, VS Code, Cursor, Windsurf, etc.)
Installation Methods

Claude Desktop

Add to your Claude Desktop configuration:

{

"mcpServers": { "prometheus": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "PROMETHEUS_URL", "ghcr.io/pab1it0/prometheus-mcp-server:latest" ], "env": { "PROMETHEUS_URL": " " } } } }

</details>

Claude Code

Install via the Claude Code CLI:

claude mcp add prometheus --env PROMETHEUS_URL=http://your-prometheus:9090 -- docker run -i --rm -e PROMETHEUS_URL ghcr.io/pab1it0/prometheus-mcp-server:latest

VS Code / Cursor / Windsurf

Add to your MCP settings in the respective IDE:

{

"prometheus": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "PROMETHEUS_URL", "ghcr.io/pab1it0/prometheus-mcp-server:latest" ], "env": { "PROMETHEUS_URL": " " } } }

</details>

Docker Desktop

The easiest way to run the Prometheus MCP server is through Docker Desktop:

  1. Via MCP Catalog: Visit the Prometheus MCP Server on Docker Hub and click the button above
  1. Via MCP Toolkit: Use Docker Desktop's MCP Toolkit extension to discover and install the server
  1. Configure your connection using environment variables (see Configuration Options below)

Manual Docker Setup

Run directly with Docker:

# With environment variables

docker run -i --rm \ -e PROMETHEUS_URL="http://your-prometheus:9090" \ ghcr.io/pab1it0/prometheus-mcp-server:latest

With authentication

docker run -i --rm \ -e PROMETHEUS_URL="http://your-prometheus:9090" \ -e PROMETHEUS_USERNAME="admin" \ -e PROMETHEUS_PASSWORD="password" \ ghcr.io/pab1it0/prometheus-mcp-server:latest

</details>

Helm Chart (Kubernetes)

Deploy to Kubernetes using the Helm chart from the OCI registry:

helm install prometheus-mcp-server \

oci://ghcr.io/pab1it0/charts/prometheus-mcp-server \ --version 1.1.1 \ --set prometheus.url="http://prometheus:9090"

With authentication:

helm install prometheus-mcp-server \

oci://ghcr.io/pab1it0/charts/prometheus-mcp-server \ --version 1.1.1 \ --set prometheus.url="http://prometheus:9090" \ --set auth.username="admin" \ --set auth.password="secret"

With a custom values file:

helm install prometheus-mcp-server \

oci://ghcr.io/pab1it0/charts/prometheus-mcp-server \ --version 1.1.1 \ -f values.yaml

See the chart values for all available configuration options.

Configuration Options
VariableDescriptionRequired
PROMETHEUS_URLURL of your Prometheus serverYes
PROMETHEUS_URL_SSL_VERIFYSet to False to disable SSL verificationNo
PROMETHEUS_DISABLE_LINKSSet to True to disable Prometheus UI links in query results (saves context tokens)No
PROMETHEUS_REQUEST_TIMEOUTRequest timeout in seconds to prevent hanging requests (DDoS protection)No (default: 30)
PROMETHEUS_USERNAMEUsername for basic authenticationNo
PROMETHEUS_PASSWORDPassword for basic authenticationNo
PROMETHEUS_TOKENBearer token for authenticationNo
PROMETHEUS_CLIENT_CERTPath to client certificate file for mutual TLS authenticationNo
PROMETHEUS_CLIENT_KEYPath to client private key file for mutual TLS authenticationNo
REQUESTS_CA_BUNDLEPath to CA bundle file for verifying the server's TLS certificate (standard requests library env var)No
ORG_IDOrganization ID for multi-tenant setupsNo
PROMETHEUS_MCP_SERVER_TRANSPORTTransport mode (stdio, http, sse)No (default: stdio)
PROMETHEUS_MCP_BIND_HOSTHost for HTTP transportNo (default: 127.0.0.1)
PROMETHEUS_MCP_BIND_PORTPort for HTTP transportNo (default: 8080)
PROMETHEUS_MCP_STATELESS_HTTPEnable stateless HTTP mode for multi-replica supportNo (default: False)
PROMETHEUS_CUSTOM_HEADERSCustom headers as JSON stringNo
TOOL_PREFIXPrefix for all tool names (e.g., staging results in staging_execute_query). Useful for running multiple instances targeting different environments in CursorNo

Available Tools

ToolCategoryDescription
health_checkSystemHealth check endpoint for container monitoring and status verification
execute_queryQueryExecute a PromQL instant query against Prometheus
execute_range_queryQueryExecute a PromQL range query with start time, end time, and step interval
list_metricsDiscoveryList all available metrics in Prometheus with pagination and filtering support
get_metric_metadataDiscoveryGet metadata for one metric or bulk metadata with optional filtering
get_targetsDiscoveryGet scrape targets, with server-side state/scrape_pool filtering and optional pagination

The list of tools is configurable, so you can choose which tools you want to make available to the MCP client. This is useful if you don't use certain functionality or if you don't want to take up too much of the context window.

Features

  • Execute PromQL queries against Prometheus
  • Discover and explore metrics
  • List available metrics
  • Get metadata for specific metrics
  • Search metric metadata by name or description in a single call
  • View instant query results
  • View range query results with different step intervals
  • Open range query results in the Prometheus UI with the same time window and resolution
  • Authentication support
  • Basic auth from environment variables
  • Bearer token auth from environment variables
  • Docker containerization support
  • Provide interactive tools for AI assistants

Development

Contributions are welcome! Please see our Contributing Guide for detailed information on how to get started, coding standards, and the pull request process.

This project uses uv to manage dependencies. Install uv following the instructions for your platform:

curl -LsSf https://astral.sh/uv/install.sh | sh

You can then create a virtual environment and install the dependencies with:

uv venv

source .venv/bin/activate # On Unix/macOS .venv\Scripts\activate # On Windows uv pip install -e .

Testing

The project includes a comprehensive test suite that ensures functionality and helps prevent regressions.

Run the tests with pytest:

# Install development dependencies

uv pip install -e ".[dev]"

Run the tests

pytest

Run with coverage report

pytest --cov=src --cov-report=term-missing

When adding new features, please also add corresponding tests.

License

MIT


Ask PopNx