Prometheus MCP Server
Prometheus MCP Server is an MCP server that manages Prometheus-compatible backends. It has 128 GitHub stars, is released under the Apache-2.0 license and runs locally with docker run -i --rm ghcr.io/tjhop/prometheus-mcp-server:0.18.0. It works with Claude Desktop, Claude Code, Cursor and VS Code.
github.com/prometheus/prometheus-mcp (opens in a new tab)
Data as of from the GitHub API and the official MCP registry; description from the project's repository. Report an error
Install Prometheus MCP Server
Generated from the server's MCP registry entry. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"prometheus-mcp-server-prometheus": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/tjhop/prometheus-mcp-server:0.18.0"
]
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --transport stdio prometheus-mcp-server-prometheus -- docker run -i --rm ghcr.io/tjhop/prometheus-mcp-server:0.18.0Cursor
{
"mcpServers": {
"prometheus-mcp-server-prometheus": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/tjhop/prometheus-mcp-server:0.18.0"
]
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"servers": {
"prometheus-mcp-server-prometheus": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/tjhop/prometheus-mcp-server:0.18.0"
]
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Tools (31)
Parsed from the Tools section of the README; check the repository for the current list.
alertmanagersGet overview of Prometheus Alertmanager discovery
build_infoGet Prometheus build information
configGet Prometheus configuration
docs_listList of Official Prometheus Documentation Files
docs_readRead the named markdown file containing official Prometheus documentation from the prometheus/docs repo
docs_searchSearch the markdown files containing official Prometheus documentation from the prometheus/docs repo
exemplar_queryPerforms a query for exemplars by the given query and time range
flagsGet runtime flags
healthyManagement API endpoint that can be used to check Prometheus health
label_namesReturns the unique label names present in the block in sorted order by given time range and matchers
label_valuesPerforms a query for the values of the given label, time range and matchers
list_alertsList all active alerts
list_rulesList all alerting and recording rules that are loaded
list_targetsGet overview of Prometheus target discovery
metric_metadataReturns metadata about metrics currently scraped by the metric name
queryExecute an instant query against the Prometheus datasource, returning one value per series at a single point in time
quitManagement API endpoint that can be used to trigger a graceful shutdown of Prometheus
range_queryExecute a range query against the Prometheus datasource, returning values over a time window
readyManagement API endpoint that can be used to check Prometheus is ready to serve traffic (i.e. respond to queries
reloadManagement API endpoint that can be used to trigger a reload of the Prometheus configuration and rule files
runbooks_listList the runbooks embedded in this server: guided workflows (Agent Skills) for common Prometheus tasks
runbooks_readRead the named runbook by skill name (e.g. check-system-health)
runtime_infoGet Prometheus runtime information
seriesFinds series by label matchers
targets_metadataReturns metadata about metrics currently scraped by the target
tsdb_statsGet usage and cardinality statistics from the TSDB
wal_replay_statusGet current WAL replay status
clean_tombstonesRemoves the deleted data from disk and cleans up the existing tombstones
delete_seriesdeletes data for a selection of series in a time range
snapshotcreates a snapshot of all current data into snapshots/- under the TSDB's data directory and returns the directory as…
prometheusn/a
About Prometheus MCP Server
The prompt used was: querying my metrics is slow, can you help me figure out why? The prompt used was: use the tools from the prometheus mcp server to investigate the metrics from the mcp server and suggest prometheus recording rules for SLOs
Similar MCP servers
More cloud & devops MCP servers
Evalview MCP
hidai25/eval-view
Regression testing for AI agents. Golden baselines, CI/CD, LangGraph, CrewAI, OpenAI, Claude.
Active · last commit Oct 16, 2026
Cloud & DevOpsPythonSigNoz MCP Server
SigNoz/signoz-mcp-server
SigNoz MCP server: access metrics, traces, logs, alerts, and dashboards via AI assistants.
Active · last commit Oct 24, 2026
OfficialCloud & DevOpsGoMagg
sitbon/magg
Aggregates and proxies other MCP servers, letting LLMs discover, add, and manage tools at runtime.
Active · last commit Sep 27, 2026
Cloud & DevOpsPythonTraceWeave
gokeshenzhen/TraceWeave
Portable MCP runtime for RTL logs and VCD; repository setup adds FSDB and site EDA integration.
Active · last commit Oct 13, 2026
Cloud & DevOpsPythonMCP Ts Core
cyanheads/mcp-ts-core
Agent-native TypeScript framework for building MCP servers.
Active · last commit Oct 26, 2026
Cloud & DevOpsTypeScriptAuth0 MCP Server
auth0/auth0-mcp-server
Auth0 MCP Server: Manage Auth0 applications, APIs, actions, logs, and forms using natural language.
Maintained · last commit Aug 13, 2026
OfficialCloud & DevOpsTypeScript
How do I install the Prometheus MCP Server MCP server?
Add the command docker run -i --rm ghcr.io/tjhop/prometheus-mcp-server:0.18.0 to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is Prometheus MCP Server free?
The server is open source under the Apache-2.0 license, so running it is free. It does not declare any required API key.
Is Prometheus MCP Server actively maintained?
The most recent commit was on Oct 16, 2026. The latest release is v0.18.0, published Apr 25, 2026. appsgit only lists MCP servers with a commit in the last six months.