Prometheus MCP
UnclaimedMCP server for LLMs to interact with Prometheus
Install
docker run --rm -i ghcr.io/tjhop/prometheus-mcp-server:latest --prometheus.url "https://$yourPrometheus:9090"Set up this server
More in Developer Tools
Browse the full directoryUnclaimed listing
Is this your MCP server?
This listing was auto-indexed from the public record. Claim it to edit the page, set compatibility and unlock growth tools. Takes under two minutes.
Claim this serverSecurity profile
Claimed and verified servers get a weekly static scan that shows what the code can reach: external services, environment variables, shell commands, agent configuration folders, plus any dependencies with known advisories. Claim this listing to get one. How the security profile works
30 of 30 tools
Documented tools (30)
From project documentation. A server handshake does not verify each tool’s description or behavior.
alertmanagers
Get overview of Prometheus Alertmanager discovery
build_info
Get Prometheus build information
clean_tombstones
Removes the deleted data from disk and cleans up the existing tombstones
delete_series
deletes data for a selection of series in a time range
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
Performs a query for exemplars by the given query and time range
flags
Get runtime flags
healthy
Management API endpoint that can be used to check Prometheus health
label_names
Returns the unique label names present in the block in sorted order by given time range and matchers
label_values
Performs a query for the values of the given label, time range and matchers
list_alerts
List all active alerts
list_rules
List all alerting and recording rules that are loaded
list_targets
Get overview of Prometheus target discovery
metric_metadata
Returns metadata about metrics currently scraped by the metric name
prometheus
n/a
query
Execute an instant query against the Prometheus datasource, returning one value per series at a single point in time
quit
Management API endpoint that can be used to trigger a graceful shutdown of Prometheus
range_query
Execute a range query against the Prometheus datasource, returning values over a time window
ready
Management API endpoint that can be used to check Prometheus is ready to serve traffic (i.e. respond to queries
reload
Management API endpoint that can be used to trigger a reload of the Prometheus configuration and rule files
runbooks_list
List the runbooks embedded in this server: guided workflows (Agent Skills) for common Prometheus tasks
runbooks_read
Read the named runbook by skill name (e.g. check-system-health)
runtime_info
Get Prometheus runtime information
series
Finds series by label matchers
snapshot
creates a snapshot of all current data into snapshots/<datetime>-<rand> under the TSDB's data directory and returns the directory as response
targets_metadata
Returns metadata about metrics currently scraped by the target
tsdb_stats
Get usage and cardinality statistics from the TSDB
wal_replay_status
Get current WAL replay status
Tool change history
FAQ
Questions about Prometheus MCP Server
- How do I connect Prometheus MCP Server to Claude?
- The listing records `docker run --rm -i ghcr.io/tjhop/prometheus-mcp-server:latest --prometheus.url "https://$yourPrometheus:9090"` as its setup step. Run it, then follow the repository's instructions for the client configuration; the listing names Claude Code, Cursor and Claude Desktop as compatible clients.
- Is Prometheus MCP Server free?
- The listed licence is Apache-2.0. Check the upstream terms for permitted use and commercial requirements; a public repository does not by itself mean the software is free or open source. Connected APIs and hosted services may have separate charges.
- What can Prometheus MCP Server do?
- Prometheus MCP Server documents 30 tools to the agent, including alertmanagers, build_info, clean_tombstones. The descriptions above come from project documentation. A live handshake does not test individual tool behavior.