Prometheus MCP Server by pab1it0: safety score

C 66 Provisional Not reviewed Not tested

Prometheus MCP Server by pab1it0 is a community MCP server for Prometheus with 3 read, 0 write and 2 destructive tools. It does not have a read-only mode and needs to run locally and a secret in an environment variable; its provisional OpsMCP grade is C (66%), last checked 3 Dec 2026.

Last checked 3 Dec 2026.

Grades are automated opinions from public data, provided as is with no warranty, and are not professional advice. Test any server yourself before production. You use it at your own risk. Read the full disclaimer.

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

Publisher's description

io.github.pab1it0/prometheus-mcp-server · version 1.6.2

Access partly scored. 3 of 4 factors scored.

Not hands-on tested. No test date, notes, or observed write behavior.

Evidence

Each line was checked against a primary source. The link is that source.

  • Latest release is v1.6.2, published 3 Aug 2026. Source
    Checked 3 Dec 2026.
  • None found as of 3 Dec 2026. Source
    Checked 3 Dec 2026.
  • Last commit on the default branch (main) was 3 Nov 2026. Source
    Checked 3 Dec 2026.
  • The README describes an MCP server that lets an assistant run PromQL queries against Prometheus metrics. Source
    Checked 13 Nov 2026.

Tool names

Tool names documented in src/prometheus_mcp_server/server.py. Source

Checked 13 Nov 2026.

Can it change or delete things?

Yes. The extracted tools include at least one destructive tool, so it can change or delete things.

Classified from the tool name, or from the description when the name has no listed verb.

5 tools

Tool Class
execute_query
Query | Execute a PromQL instant query against Prometheus |. Classified from the name (execute).
Destructive
execute_range_query
Query | Execute a PromQL range query with start time, end time, and step interval |. Classified from the name (execute).
Destructive
get_metric_metadata
Discovery | Get metadata for one metric or bulk metadata with optional filtering |. Classified from the name (get).
Read
get_targets
Discovery | Get scrape targets, with server-side. Classified from the name (get).
Read
list_metrics
Discovery | List all available metrics in Prometheus with pagination and filtering support |. Classified from the name (list).
Read

Score

66 of 100 from the four factors. Advisory adjustment 0. Score 66. A factor that was not scored counts as 0 of its full weight.

OpsMCP rubric 2026-11-27.1. Checked 3 Dec 2026.
Factor Points Full weight Status
Tool capability 21 35 Scored
Access 12 25 Partly scored
Maintenance 18 20 Scored
Publisher 15 20 Scored

Tool capability

3 read, 0 write, 2 destructive.

Access

PartValuePointsWhere this came from
What it can reach unknown unknown unknown
Where it runs Local process 6 of 8 Registry package transport is stdio.
Credentials Secret in an environment variable 6 of 7 Registry marked isSecret true for PROMETHEUS_PASSWORD, PROMETHEUS_TOKEN.

Maintenance

PartValuePoints
Last code change 30 days 8 of 8
Releases 122 days 4 of 6
Issues 36 closed / 36 issues (1.00) 6 of 6

Publisher

PartValuePointsWhere this came from
Who publishes it Individual 3 of 8 GitHub owner type is User (pab1it0).
Official MCP registry Listed 5 of 5 Official registry server io.github.pab1it0/prometheus-mcp-server (status active).
License MIT 4 of 4 GitHub SPDX license MIT.
Stars 527 2 of 2 527 GitHub stars.
Repository age 624 days 1 of 1 Repository created 2025-03-19T16:36:09Z.

How the rubric works

Security advisories

Newest offered version 1.6.2 , from GitHub releases. Checked 3 Dec 2026.

Advisory adjustment 0.

No matching advisories were found in GitHub Security Advisories or OSV.

How advisories change a score

Grade history

Date Old score New score Reason What changed Evidence
5 Nov 2026 C, provisional, 68 out of 100 C, provisional, 66 out of 100 Data refresh Data refresh on 2026-11-05. Newest release points changed from 6 to 4. Newest release v1.6.2 was published 2026-08-03T13:26:36Z (74 days to 94 days). Public evidence

All grade changes · How to dispute a grade

What this score does not cover

This score is not a code audit and it is not a human review. It has not been hands-on tested. Nothing on this page is a certification.

Access needed

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

Maintenance

Archived
no
Last commit
3 Nov 2026 · 3075d50
Latest release
v1.6.2 · 3 Aug 2026
Issues
0 open · 36 closed
Stars
527
License
MIT
Repository created
19 Mar 2025

npm and PyPI

npm
No npm package in the registry entry.
PyPI
No PyPI package in the registry entry.
Maintainers
unknown

Install

Source: registry. This is the published command, not a rewritten one.

# requires PROMETHEUS_URL: Prometheus server URL (e.g., http://localhost:9090)
docker run ghcr.io/pab1it0/prometheus-mcp-server:1.6.2

Other Prometheus servers

Badge

The SVG is generated for this server. The embed links to this server page.

OpsMCP grade C, 66 out of 100, provisional

Sources for this listing

Official registry server io.github.pab1it0/prometheus-mcp-server (status active).