1. Conduid
  2. Data
  3. pab1it0/prometheus-mcp-server
MCP server · Data

pab1it0/prometheus-mcp-server

A Model Context Protocol (MCP) server that enables AI agents and LLMs to query and analyze Prometheus metrics through standardized interfaces.

78Good

Scored 20 hours ago · breakdown

About pab1it0/prometheus-mcp-server

pab1it0/prometheus-mcp-server is an MCP server published by pab1it0 in the Data category: a Model Context Protocol (MCP) server that enables AI agents and LLMs to query and analyze Prometheus metrics through standardized interfaces. Conduid read 6 tools from its source: execute_query, execute_range_query, get_metric_metadata, get_targets, health_check and list_metrics. No package is published for it, so it installs from a source checkout.

The repository has 526 stars and 106 forks, is licensed MIT, and its last commit was on 14 Nov 2026. The latest release is v1.6.2 (3 Aug 2026). It follows v1.6.1 (1 May 2026), and the 5 most recent releases go back to v1.5.2 (17 Dec 2025). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include prometheus, monitoring and metrics.

Install

From source
git clone https://github.com/pab1it0/prometheus-mcp-server

Tools (6)

execute_queryExecute a PromQL instant query against Prometheus
ParameterTypeDescription
query *stringPromQL query string
timestringOptional RFC3339 or Unix timestamp (default: current time)
execute_range_queryExecute a PromQL range query with start time, end time, and step interval
ParameterTypeDescription
end *stringEnd time as RFC3339 or Unix timestamp
query *stringPromQL query string
start *stringStart time as RFC3339 or Unix timestamp
step *stringQuery resolution step width (e.g., '15s', '1m', '1h')
get_metric_metadataGet metadata for one metric or bulk metadata with optional filtering
ParameterTypeDescription
filter_patternstringOptional substring filter on metric name and descriptions.
limitintegerMaximum number of metrics to return in bulk mode.
metricstringOptional metric name. If provided, returns legacy list format.
offsetintegerNumber of metrics to skip in bulk mode.
get_targetsGet scrape targets, with server-side `state`/`scrape_pool` filtering and optional pagination
ParameterTypeDescription
limitintegerMaximum number of targets to return per category (default: all)
offsetintegerNumber of targets to skip for pagination (default: 0)
scrape_poolstringOptional scrape pool name to restrict results to, applied server-side by Prometheus.
statestringWhich targets to request from Prometheus - "active" (default), "dropped", or "any". This is applied server-side by Prometheus.
health_checkHealth check endpoint for container monitoring and status verification
list_metricsList all available metrics in Prometheus with pagination and filtering support
ParameterTypeDescription
filter_patternstringOptional substring to filter metric names (case-insensitive)
limitintegerMaximum number of metrics to return (default: all metrics)
offsetintegerNumber of metrics to skip for pagination (default: 0)
refresh_cachebooleanForce a cache refresh to pick up newly scraped metrics (default: False)

Security checks

Static checks derived from the repository 3 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.0K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by uv.lock.
  • ✓No dynamic code executionScanned 4 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdiosrc/prometheus_mcp_server/server.py:764
Starts other programs
No calls that start other programs
Outbound network calls
2 callssrc/prometheus_mcp_server/server.py:204, src/prometheus_mcp_server/server.py:225
Writes or deletes files
No file writes or deletes
Lockfile
uv.lock

Pattern matches on the source text of 4 files: places to read, not proof of what the code does at run time.

Releases

v1.6.2v1.6.2 · 3 Aug 2026What's Changed chore(chart): bump to 1.1.0 and require version bump in CI by @pab1it0 in https://github.com/pab1it0/prometheus-mcp-server/pull/162 ci(helm): support chart-v* tags for chart-only releases by @pab1it0 in…
v1.6.1v1.6.1 · 1 May 2026What's Changed feat: add Helm chart with OCI registry publishing by @pab1it0 in https://github.com/pab1it0/prometheus-mcp-server/pull/138 chore(deps): upgrade MCP Python SDK to 1.26.0 by @pab1it0 in…
v1.6.0v1.6.0 · 7 Mar 2026What's Changed docs: refactor README for better user experience by @pab1it0 in https://github.com/pab1it0/prometheus-mcp-server/pull/125 feat: add bulk metric metadata retrieval with filtering and pagination by @Yb2411 in…
v1.5.3v1.5.3 · 21 Jan 2026What's Changed Apply latest MCP registry changes by @pab1it0 in https://github.com/pab1it0/prometheus-mcp-server/pull/113 feat: add TOOL_PREFIX env var for multi-instance support by @bmonsalvatge-alpaca in…
v1.5.2v1.5.2 · 17 Dec 2025Full Changelog: https://github.com/pab1it0/prometheus-mcp-server/compare/v1.5.1...v1.5.2

README

The repository's README runs to about 1.0K words, fetched 3 days ago. The original in the repository is authoritative.

Read full README
Questions

About pab1it0/prometheus-mcp-server

How do I install pab1it0/prometheus-mcp-server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is pab1it0/prometheus-mcp-server safe to use with an AI agent?

Its trust score is 78 out of 100 (good). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 4 source files found that it serves MCP over stdio and makes outbound network calls (2 calls). Its dependencies are pinned by uv.lock. It has no ConduID identity yet, so agent calls to it are not receipted.

Is pab1it0/prometheus-mcp-server still maintained?

Yes — the latest release is v1.6.2 (3 Aug 2026), and the last commit was 17 days ago. The repository has 526 stars and 6 open issues.

What tools does pab1it0/prometheus-mcp-server provide?

Conduid read 6 tools from the source: execute_query, execute_range_query, get_metric_metadata, get_targets, health_check and list_metrics. 5 of them publish their parameters, listed under Tools above.

What license is pab1it0/prometheus-mcp-server released under?

The repository declares the MIT license. That applies to the latest release, v1.6.2, as well.