Prometheus MCP Server by prometheus: safety score

C 59 Provisional Not reviewed Not tested

Prometheus MCP Server by prometheus is a vendor MCP server for Prometheus with 16 read, 1 write and 5 destructive tools. It does not have a read-only mode and needs to run locally; its provisional OpsMCP grade is C (59%), 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.

An API-complete MCP server to manage Prometheus-compatible backends.

Publisher's description

io.github.tjhop/prometheus-mcp-server · version 0.18.0

Tool capability partly scored. Access partly scored. 2 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 v0.18.0, published 25 Apr 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 30 Nov 2026. Source
    Checked 3 Dec 2026.
  • The README describes an MCP server that lets an assistant query a running Prometheus instance, including PromQL queries and metric lists. Source
    Checked 13 Nov 2026.

Tool names

Tool names documented in pkg/mcp/tools.go. Source

Checked 13 Nov 2026.

  • alertmanagers Get overview of Prometheus Alertmanager discovery
  • build_date
  • build_info Get Prometheus build information
  • clean_tombstones Removes the deleted data from disk and cleans up the existing tombstones. I/O- and CPU-intensive; prefer low-traffic periods and confirm with the user before calling.
  • config Get Prometheus configuration
  • delete_series Deletes data for a selection of series in a time range. Both start_time and end_time are required to prevent accidental deletion of all data. Deletion creates tombstones; run cl...
  • docs_list List of Official Prometheus Documentation Files.
  • docs_read Read the named markdown file containing official Prometheus documentation from the prometheus/docs repo
  • docs_search Search the markdown files containing official Prometheus documentation from the prometheus/docs repo
  • exemplar_query Execute an exemplar query against the Prometheus datasource to find trace exemplars associated with metric samples
  • flags Get runtime flags
  • healthy Management API endpoint that can be used to check Prometheus health.
Show all 43 tools

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.

31 tools

Tool Class
alertmanagers
Get overview of Prometheus Alertmanager discovery. Classified from the description (get).
Read
build_info
Get Prometheus build information. Classified from the description (get).
Read
clean_tombstones
Removes the deleted data from disk and cleans up the existing tombstones. I/O- and CPU-intensive; prefer low-traffic periods and confirm with the user before calling. Classified from the description (removes).
Destructive
config
Get Prometheus configuration. Classified from the description (get).
Read
delete_series
Deletes data for a selection of series in a time range. Both start_time and end_time are required to prevent accidental deletion of all data. Deletion creates tombstones; run clean_tombstones or wait for compaction to reclaim disk space. Confirm the time range and matchers wit... Classified from the name (delete).
Destructive
docs_list
List of Official Prometheus Documentation Files. Classified from the name (list).
Read
docs_read
Read the named markdown file containing official Prometheus documentation from the prometheus/docs repo. Classified from the name (read).
Read
docs_search
Search the markdown files containing official Prometheus documentation from the prometheus/docs repo. Classified from the name (search).
Read
exemplar_query annotation disagrees
Execute an exemplar query against the Prometheus datasource to find trace exemplars associated with metric samples. Classified from the description (execute).
Destructive
flags
Get runtime flags. Classified from the description (get).
Read
healthy annotation disagrees
Management API endpoint that can be used to check Prometheus health.
Unknown
label_names annotation disagrees
Returns the unique label names present in the block in sorted order by given time range and matches.
Unknown
label_values annotation disagrees
Performs a query for the values of the given label, time range and matches.
Unknown
list_alerts
List all active alerts. Classified from the name (list).
Read
list_rules
List all alerting and recording rules that are loaded. Classified from the name (list).
Read
list_stores
List all store API servers. Classified from the name (list).
Read
list_targets
Get overview of Prometheus target discovery. Classified from the name (list).
Read
metric_metadata annotation disagrees
Returns metadata about metrics currently scraped by the metric name.
Unknown
query annotation disagrees
Execute an instant query against the Prometheus datasource, returning one value per series at a single point in time. Classified from the description (execute).
Destructive
quit
Management API endpoint that can be used to trigger a graceful shutdown of Prometheus. Only call this when the user explicitly requests a shutdown.
Unknown
range_query annotation disagrees
Execute a range query against the Prometheus datasource, returning values over a time window; use for graphing and trend analysis. Classified from the description (execute).
Destructive
ready annotation disagrees
Management API endpoint that can be used to check Prometheus is ready to serve traffic (i.e. respond to queries.).
Unknown
reload
Management API endpoint that can be used to trigger a reload of the Prometheus configuration and rule files. Safe; applies changes without downtime.
Unknown
runbooks_list
List the runbooks embedded in this server: guided workflows (Agent Skills) for common Prometheus tasks - investigating error rates and alert spikes, finding top CPU/memory/disk consumers, troubleshooting missing metrics or empty query results, health-checking Prometheus, reduc... Classified from the name (list).
Read
runbooks_read
Read the named runbook: a guided workflow (Agent Skill) for a common Prometheus task, expressed in terms of this server's tools. Follow its guidance when a user request matches a runbook's purpose; runbooks_list shows what is available. Classified from the name (read).
Read
runtime_info
Get Prometheus runtime information. Classified from the description (get).
Read
series annotation disagrees
Finds series by label matches.
Unknown
snapshot
creates a snapshot of all current data into snapshots/<datetime>-<rand> under the TSDB's data directory and returns the directory as response. Safe, but confirm with the user before calling. Classified from the description (creates).
Write
targets_metadata annotation disagrees
Returns metadata about metrics currently scraped by the target.
Unknown
tsdb_stats
Get usage and cardinality statistics from the TSDB. Classified from the description (get).
Read
wal_replay_status
Get current WAL replay status. Classified from the description (get).
Read

Score

59 of 100 from the four factors. Advisory adjustment 0. Score 59. 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 19 35 Partly scored
Access 6 25 Partly scored
Maintenance 14 20 Scored
Publisher 20 20 Scored

Tool capability

16 read, 1 write, 5 destructive, 9 unknown.

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 unknown unknown unknown

Maintenance

PartValuePoints
Last code change 3 days 8 of 8
Releases 222 days 2 of 6
Issues 11 closed / 17 issues (0.65) 4 of 6

Publisher

PartValuePointsWhere this came from
Who publishes it published by the vendor 8 of 8 GitHub owner 'prometheus' is on the vendor allowlist (Prometheus).
Official MCP registry Listed 5 of 5 Official registry server io.github.tjhop/prometheus-mcp-server (status active).
License Apache-2.0 4 of 4 GitHub SPDX license Apache-2.0.
Stars 152 2 of 2 152 GitHub stars.
Repository age 580 days 1 of 1 Repository created 2025-05-02T03:17:53Z.

How the rubric works

Security advisories

Newest offered version 0.18.0 , 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, 57 out of 100 C, provisional, 59 out of 100 Data refresh Data refresh on 2026-11-05. Newest release points changed from 4 to 2. Newest release v0.18.0 was published 2026-04-25T19:43:29Z (173 days to 193 days). Issue closure points changed from unknown to 4. GitHub issue search, pull requests excluded, had no measured counts and now reports 9 closed and 6 open. 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

Environment variables: unknown. The registry entry does not list any.

Maintenance

Archived
no
Last commit
30 Nov 2026 · 709a0ec
Latest release
v0.18.0 · 25 Apr 2026
Issues
6 open · 11 closed
Stars
152
License
Apache-2.0
Repository created
2 May 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.

docker run ghcr.io/tjhop/prometheus-mcp-server:0.18.0

Other Prometheus servers

Badge

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

OpsMCP grade C, 59 out of 100, provisional

Sources for this listing

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