Prometheus MCP Server
io.github.tjhop/prometheus-mcp-server·v0.18.0·111 starsAn API-complete MCP server to manage Prometheus-compatible backends.
111 stars
Reviews
Write oneNobody has reviewed Prometheus MCP Server yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Prometheus MCP Server tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- –Code scanpackage could not be scannedn/a
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 1 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year9/10
How Prometheus MCP Server compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 90/100
- higher than 83% of 48,273 servers
- GitHub stars
- 111
- more than 95% of 28,534 servers
Install Prometheus MCP Server in Claude Code, Cursor or VS Code
claude mcp add prometheus-mcp-server -- docker run -i --rm ghcr.io/tjhop/prometheus-mcp-server:0.18.0
What the publisher says
From the Prometheus MCP Server repository's README, as published. We do not edit it. Read it on GitHub
Prometheus MCP Server
About
This is an MCP server to allow LLMs to interact with a running Prometheus instance via the API to do things like generate and execute promql queries, list and analyze metrics, etc.
Demos and Examples
Asking Claude to Investigate Slow Queries
The prompt used was:
querying my metrics is slow, can you help me figure out why?
Investigate metrics produced by the MCP server itself and suggest recording rules for SLOs
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
Summarize Prometheus metric/label naming best practices
The prompt used was:
summarize prometheus metric/label name best practices
Report on the health of the Prometheus instance that powers prometheus.demo.prometheus.io
The prompt used was:
please provide a comprehensive review and summary of the prometheus server.
review it's configuration, flags, runtime/build info, and anything else that
you feel may provide insight into the status of the prometheus instance,
including analyzing metrics and executing queries
Tools
The Prometheus HTTP API outputs JSON data, and the tools in this MCP server return that JSON to the LLM for processing as it's structured and well understood by LLMs.
LLMs and Token/Context Efficiency
This MCP server supports the following options which have the potential to reduce token/context usage:
TOON Encoding
If token/context usage is a concern, this MCP server also supports converting the API's JSON data to the Token-Oriented Object Notation (TOON) format. While it is not guaranteed to reduce token usage, it is designed with token efficiency in mind. As noted on TOON's documentation, it excels at uniform arrays of objects; non-uniform/complex objects may still be more token-efficient in JSON. Real world token usage will depend on usage patterns, please review common workflows to determine if TOON output may be beneficial. Please see Flags for more information on the available flags and their corresponding environment variables.
API Response Truncation
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Prometheus MCP Server: common questions
- Is Prometheus MCP Server safe?
- Yes, by our scan: it is graded A (90/100). Read the Prometheus MCP Server safety report
- How do I install Prometheus MCP Server?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Prometheus MCP Server need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Prometheus MCP Server maintained?
- The last commit was 36 days ago (2026-09-27). The latest release is v0.18.0.
- How does Prometheus MCP Server compare with other MCP servers?
- safety score 90/100 (higher than 83% of 48,273 servers); github stars 111 (more than 95% of 28,534 servers). Full comparison.