MCP.Market

Prometheus MCP server

by jeanlopezxyz·io.github.jeanlopezxyz/mcp-prometheus·v2.1.1

A Model Context Protocol (MCP) server for Prometheus monitoring

A94/100grade A
What users say
No reviews yet
Be the first
Safety scan
A94/100

full report

Adoption
Growing

0 stars114 downloads/wk

Reviews

Write one

Nobody has reviewed Prometheus yet.

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

Prometheus tools

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

Public scan report

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

no findings
  • Code scan2 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 14 days ago15/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year9/10
Overall 94/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Prometheus compares

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

Safety score
94/100
higher than 96% of 4,464 AI and agents servers
Downloads a week
114
more than 67% of 1,515 AI and agents servers with a package

Install Prometheus in Claude Code, Cursor or VS Code

Runs npx -y mcp-prometheus on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add mcp-prometheus -- npx -y mcp-prometheus
Add to Cursor

What the publisher says

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

Prometheus MCP Server (Go)

A Model Context Protocol (MCP) server for Prometheus integration. Native Go binary with built-in Kubernetes connectivity via client-go.

Installation

npx

npx -y mcp-prometheus@latest

MCP Client Configuration

Add to your MCP client configuration (VS Code, Cursor, Windsurf, etc.):

{
  "mcpServers": {
    "prometheus": {
      "command": "npx",
      "args": ["-y", "mcp-prometheus@latest"],
      "env": {
        "PROMETHEUS_URL": "http://localhost:9090"
      }
    }
  }
}

VS Code

code --add-mcp '{"name":"prometheus","command":"npx","args":["-y","mcp-prometheus@latest"],"env":{"PROMETHEUS_URL":"http://localhost:9090"}}'

Kubernetes Auto-Connect

Automatically connects to Prometheus running in OpenShift/Kubernetes via the K8S API service proxy. Uses native kubeconfig/in-cluster config via client-go. No kubectl or port-forwarding required.

Default: openshift-monitoring/prometheus-operated:9090

{
  "mcpServers": {
    "prometheus": {
      "command": "npx",
      "args": ["-y", "mcp-prometheus@latest"]
    }
  }
}

Binary

Download from GitHub Releases or build from source:

make build
./mcp-prometheus

Configuration

Environment Variables

CLI Flags

Precedence: --url / PROMETHEUS_URL > K8S auto-connect

Connection strategy:

  1. Direct URL (if --url or PROMETHEUS_URL is set)
  2. K8S API proxy (auto-detect kubeconfig or in-cluster config)

Tools (11)

Basic Queries

Cluster Diagnostics

Resource Analysis

Example Prompts

"What's the current CPU usage across all nodes?"
"Show me the cluster health overview"
"Which pods are using the most memory?"
"Diagnose node worker-1"
"Are all scrape targets healthy?"
"Compare CPU usage now vs 24 hours ago"
"Investigate pod my-app in namespace production"
"What alerting rules are defined?"

Development

Build

make build              # Build for current platform
make build-all-platforms # Cross-compile for all platforms

Container

Shortened. The full README is on GitHub.

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

Prometheus: common questions

Is Prometheus MCP server safe?
Yes, by our scan: it is graded A (94/100). Read the Prometheus safety report
How do I install Prometheus?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Prometheus need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Prometheus maintained?
The last commit was 48 days ago (2026-09-14). The latest release is v2.1.1.
How does Prometheus compare with other AI and agents MCP servers?
safety score 94/100 (higher than 96% of 4,464 AI and agents servers); downloads a week 114 (more than 67% of 1,515 AI and agents servers with a package). Full comparison.