# Prometheus MCP Server (oci · ghcr.io/tjhop/prometheus-mcp-server:0.18.0)

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

- Trust score: 37/100 (low)
- Change this week: −1
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- oci · `ghcr.io/tjhop/prometheus-mcp-server:0.18.0`: 37/100 (this document), [markdown](https://verifymcp.io/servers/tjhop-prometheus-mcp-server/ghcr-io-tjhop-prometheus-mcp-server-0-18-0.md), [page](https://verifymcp.io/servers/tjhop-prometheus-mcp-server/ghcr-io-tjhop-prometheus-mcp-server-0-18-0)

## Channel facts

- Registry: `oci`
- Package: `ghcr.io/tjhop/prometheus-mcp-server:0.18.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 0/100
  - Malware scan not yet available for this package.
  - CVE data not yet available for this package.
  - Install-script risk not yet assessed.
  - Dependency-health data not yet available.
- **Provenance & Transparency**: 19/100
  - Repository check failed: the declared repository URL redirects; it must resolve directly.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (Apache-2.0).
  - Actively maintained (last published 99 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 74/100
  - 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).
  - AI-judged instruction clarity (good).
  - Context-footprint check failed: tool/resource definitions use about 5214 tokens (~179/item across 29 items; 28 tools + 1 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 23/100
  - Stability observed for 7 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

**Unverified: 1 category.** A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

## Install

### Claude

```bash
claude mcp add tjhop-prometheus-mcp-server -- docker run --rm -i ghcr.io/tjhop/prometheus-mcp-server:0.18.0
```

### Codex

```bash
codex mcp add tjhop-prometheus-mcp-server -- docker run --rm -i ghcr.io/tjhop/prometheus-mcp-server:0.18.0
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "tjhop-prometheus-mcp-server": {
      "type": "local",
      "command": [
        "docker",
        "run",
        "--rm",
        "-i",
        "ghcr.io/tjhop/prometheus-mcp-server:0.18.0"
      ],
      "enabled": true
    }
  }
}
```

### Hermes

```yaml
mcp_servers:
  tjhop-prometheus-mcp-server:
    command: "docker"
    args: ["run", "--rm", "-i", "ghcr.io/tjhop/prometheus-mcp-server:0.18.0"]
```

### Other

```json
{
  "mcpServers": {
    "tjhop-prometheus-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "ghcr.io/tjhop/prometheus-mcp-server:0.18.0"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-03 (score 37, +3)

- [functional improvement] Stability: unverified → 0.23

### 2026-07-31 (score 34, −4)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-27 (score 38, +33)

- [functional improvement] Tool coverage: unverified → 100
- [functional improvement] Schema quality: unverified → 100
- [functional] First check of Schema quality: fail
- [functional] First check of Schema quality: fail
- [functional] First check of Tool coverage: 100
- [functional] First check of Schema quality: good

### 2026-07-26 (score 5)

First indexed and scored.

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

## MCP tools (28)

### `alertmanagers` (~18 tokens)

Get overview of Prometheus Alertmanager discovery

### `build_info` (~14 tokens)

Get Prometheus build information

### `clean_tombstones` (~24 tokens)

Removes the deleted data from disk and cleans up the existing tombstones

### `config` (~12 tokens)

Get Prometheus configuration

### `delete_series` (~181 tokens)

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.

Input parameters:

- `end_time` (string): end timestamp for the query. Accepts: Unix epoch seconds, RFC3339, or a duration string relative to now (e.g. 5m, 1h30m, etc). Defaults to current time.
- `matches` (null|array, required): series selector arguments for series to delete,required
- `start_time` (string): start timestamp for the query. Accepts: Unix epoch seconds, RFC3339, or a duration string relative to now (e.g. 5m, 1h30m, etc). Defaults to 5m ago.

### `docs_list` (~16 tokens)

List of Official Prometheus Documentation Files.

### `docs_read` (~40 tokens)

Read the named markdown file containing official Prometheus documentation from the prometheus/docs repo

Input parameters:

- `file` (string, required): the name of the documentation file to read

### `docs_search` (~52 tokens)

Search the markdown files containing official Prometheus documentation from the prometheus/docs repo

Input parameters:

- `limit` (integer): maximum number of search results to return
- `query` (string, required): the query to search for in documentation

### `exemplar_query` (~176 tokens)

Execute an exemplar query against the Prometheus datasource to find trace exemplars associated with metric samples

Input parameters:

- `end_time` (string): end timestamp for the query. Accepts: Unix epoch seconds, RFC3339, or a duration string relative to now (e.g. 5m, 1h30m, etc). Defaults to current time.
- `query` (string, required): the PromQL query to execute
- `start_time` (string): start timestamp for the query. Accepts: Unix epoch seconds, RFC3339, or a duration string relative to now (e.g. 5m, 1h30m, etc). Defaults to 5m ago.
- `truncation_limit` (integer): truncation limit for query response in number of lines/entries, set to -1 to disable truncation

### `flags` (~11 tokens)

Get runtime flags

### `healthy` (~20 tokens)

Management API endpoint that can be used to check Prometheus health.

### `label_names` (~179 tokens)

Returns the unique label names present in the block in sorted order by given time range and matches

Input parameters:

- `end_time` (string): end timestamp for the query. Accepts: Unix epoch seconds, RFC3339, or a duration string relative to now (e.g. 5m, 1h30m, etc). Defaults to current time.
- `matches` (null|array): series selector arguments to filter label names
- `start_time` (string): start timestamp for the query. Accepts: Unix epoch seconds, RFC3339, or a duration string relative to now (e.g. 5m, 1h30m, etc). Defaults to 5m ago.
- `truncation_limit` (integer): truncation limit for query response in number of lines/entries, set to -1 to disable truncation

### `label_values` (~191 tokens)

Performs a query for the values of the given label, time range and matches

Input parameters:

- `end_time` (string): end timestamp for the query. Accepts: Unix epoch seconds, RFC3339, or a duration string relative to now (e.g. 5m, 1h30m, etc). Defaults to current time.
- `label` (string, required): the label to query values for,required
- `matches` (null|array): series selector arguments to filter label values
- `start_time` (string): start timestamp for the query. Accepts: Unix epoch seconds, RFC3339, or a duration string relative to now (e.g. 5m, 1h30m, etc). Defaults to 5m ago.
- `truncation_limit` (integer): truncation limit for query response in number of lines/entries, set to -1 to disable truncation

### `list_alerts` (~14 tokens)

List all active alerts

### `list_rules` (~19 tokens)

List all alerting and recording rules that are loaded

### `list_targets` (~16 tokens)

Get overview of Prometheus target discovery

### `metric_metadata` (~50 tokens)

Returns metadata about metrics currently scraped by the metric name.

Input parameters:

- `limit` (string): maximum number of metrics to return
- `metric` (string): metric name to retrieve metadata for, all metrics if empty

### `query` (~111 tokens)

Execute an instant query against the Prometheus datasource

Input parameters:

- `query` (string, required): the PromQL query to execute
- `timestamp` (string): evaluation timestamp for the instant query. Accepts: Unix epoch seconds, RFC3339, or a duration string relative to now e.g. 5m, 1h30m, etc. Defaults to current time.
- `truncation_limit` (integer): truncation limit for query response in number of lines/entries, set to -1 to disable truncation

### `quit` (~23 tokens)

Management API endpoint that can be used to trigger a graceful shutdown of Prometheus.

### `range_query` (~202 tokens)

Execute a range query against the Prometheus datasource

Input parameters:

- `end_time` (string): end timestamp for the query. Accepts: Unix epoch seconds, RFC3339, or a duration string relative to now (e.g. 5m, 1h30m, etc). Defaults to current time.
- `query` (string, required): the PromQL query to execute
- `start_time` (string): start timestamp for the query. Accepts: Unix epoch seconds, RFC3339, or a duration string relative to now (e.g. 5m, 1h30m, etc). Defaults to 5m ago.
- `step` (string): query resolution step width in Go duration format (e.g. '30s', '5m', '1h'), auto-set if unspecified
- `truncation_limit` (integer): truncation limit for query response in number of lines/entries, set to -1 to disable truncation

### `ready` (~31 tokens)

Management API endpoint that can be used to check Prometheus is ready to serve traffic (i.e. respond to queries.)

### `reload` (~27 tokens)

Management API endpoint that can be used to trigger a reload of the Prometheus configuration and rule files.

### `runtime_info` (~14 tokens)

Get Prometheus runtime information

### `series` (~169 tokens)

Finds series by label matches

Input parameters:

- `end_time` (string): end timestamp for the query. Accepts: Unix epoch seconds, RFC3339, or a duration string relative to now (e.g. 5m, 1h30m, etc). Defaults to current time.
- `matches` (null|array, required): series selector arguments that select the series to return,required
- `start_time` (string): start timestamp for the query. Accepts: Unix epoch seconds, RFC3339, or a duration string relative to now (e.g. 5m, 1h30m, etc). Defaults to 5m ago.
- `truncation_limit` (integer): truncation limit for query response in number of lines/entries, set to -1 to disable truncation

### `snapshot` (~51 tokens)

creates a snapshot of all current data into snapshots/<datetime>-<rand> under the TSDB's data directory and returns the directory as response.

Input parameters:

- `skip_head` (boolean): skip data present in the head block

### `targets_metadata` (~67 tokens)

Returns metadata about metrics currently scraped by the target

Input parameters:

- `limit` (string): maximum number of targets to match
- `match_target` (string): label selectors to match targets, all targets if empty
- `metric` (string): metric name to retrieve metadata for, all metrics if empty

### `tsdb_stats` (~20 tokens)

Get usage and cardinality statistics from the TSDB

### `wal_replay_status` (~16 tokens)

Get current WAL replay status

## Diagnostics

Captured diagnostic sections: Provenance. The full working is on the page: https://verifymcp.io/servers/tjhop-prometheus-mcp-server/ghcr-io-tjhop-prometheus-mcp-server-0-18-0#diagnostics

## Score history

- 2026-08-03: 37
- 2026-08-02: 34
- 2026-08-01: 34
- 2026-07-31: 34
- 2026-07-30: 38
- 2026-07-29: 38
- 2026-07-28: 38
- 2026-07-27: 38
- 2026-07-26: 5

## Links

- Changelog RSS feed: https://verifymcp.io/servers/tjhop-prometheus-mcp-server/ghcr-io-tjhop-prometheus-mcp-server-0-18-0/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/tjhop-prometheus-mcp-server/ghcr-io-tjhop-prometheus-mcp-server-0-18-0/changelog.json
- HTML version of this page: https://verifymcp.io/servers/tjhop-prometheus-mcp-server/ghcr-io-tjhop-prometheus-mcp-server-0-18-0
