MCP.Market

Prometheus MCP Server

by pab1it0·io.github.pab1it0/prometheus-mcp-server·v1.6.2·518 stars

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

B73/100grade B
What users say
No reviews yet
Be the first
Safety scan
B73/100

full report

Adoption
Growing

518 stars

Reviews

Write one

Nobody has reviewed Prometheus MCP Server yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Prometheus MCP Server tools

No tool declarations could be read from the package source. They show once the server is installed.

Public scan report

scanner v0.1.9 · 2026-09-24 · same rubric, same numbers if you re-run it

no findings
  • –Code scanpackage could not be scannedn/a
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitystatic API keys via environment variables6/15
  • Maintenancelast push 3 days ago15/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 73/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Prometheus MCP Server compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
73/100
higher than 40% of 48,273 servers
GitHub stars
518
more than 95% of 28,534 servers

Install Prometheus MCP Server in Claude Code, Cursor or VS Code

claude mcp add prometheus-mcp-server -- docker run -i --rm ghcr.io/pab1it0/prometheus-mcp-server:1.6.2
Add to Cursor

What the publisher says

From the Prometheus MCP Server repository's README, as published. We do not edit it. Read it on GitHub

Prometheus MCP Server

Give AI assistants the power to query your Prometheus metrics.

A [Model Context Protocol][mcp] (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.

[mcp]: https://modelcontextprotocol.io

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": "<your-prometheus-url>"
      }
    }
  }
}

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": "<your-prometheus-url>"
    }
  }
}

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

Helm Chart (Kubernetes)

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

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Prometheus MCP Server: common questions

Is Prometheus MCP Server safe?
Mostly: it is graded B (73/100). Read the Prometheus MCP Server safety report
How do I install Prometheus MCP Server?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Prometheus MCP Server need an API key?
Yes. The registry entry asks for PROMETHEUS_PASSWORD, PROMETHEUS_TOKEN.
Is Prometheus MCP Server maintained?
The last commit was 42 days ago (2026-09-21). The latest release is v1.6.2.
How does Prometheus MCP Server compare with other MCP servers?
safety score 73/100 (higher than 40% of 48,273 servers); github stars 518 (more than 95% of 28,534 servers). Full comparison.