
Prometheus MCP Server
by pab1it0io.github.pab1it0/prometheus-mcp-serverv1.6.2
MCP server providing Prometheus metrics access and PromQL query execution for AI assistants
context tax
not measurable
security
97/100
cold start
pending
freshness
Active31d ago
Our reading of Prometheus, from the data
Prometheus is a database MCP server from pab1it0, listed in the official MCP Registry.
We haven't measured its tool list yet, so its token cost is unknown.
Maintenance is active: the last public signal was 31 days ago (2026-10-11). For comparison, 63% of database servers are active or maintained.
With 519 GitHub stars it ranks #44 of 1,397 database servers we index.
It runs locally on your machine over stdio and needs 2 secrets (PROMETHEUS_PASSWORD, PROMETHEUS_TOKEN); use a scoped, least-privilege key.
Install Prometheus MCP server
Install in Claude Code
claude mcp add prometheus -e PROMETHEUS_URL='<prometheus-url>' -e PROMETHEUS_PASSWORD='<prometheus-password>' -e PROMETHEUS_TOKEN='<prometheus-token>' -- docker run -i --rm -e PROMETHEUS_URL -e PROMETHEUS_PASSWORD -e PROMETHEUS_TOKEN ghcr.io/pab1it0/prometheus-mcp-server:1.6.2Install in Cursor
{
"mcpServers": {
"prometheus": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PROMETHEUS_URL",
"-e",
"PROMETHEUS_PASSWORD",
"-e",
"PROMETHEUS_TOKEN",
"ghcr.io/pab1it0/prometheus-mcp-server:1.6.2"
],
"env": {
"PROMETHEUS_URL": "<prometheus-url>",
"PROMETHEUS_PASSWORD": "<prometheus-password>",
"PROMETHEUS_TOKEN": "<prometheus-token>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"prometheus": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PROMETHEUS_URL",
"-e",
"PROMETHEUS_PASSWORD",
"-e",
"PROMETHEUS_TOKEN",
"ghcr.io/pab1it0/prometheus-mcp-server:1.6.2"
],
"env": {
"PROMETHEUS_URL": "<prometheus-url>",
"PROMETHEUS_PASSWORD": "<prometheus-password>",
"PROMETHEUS_TOKEN": "<prometheus-token>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"prometheus": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PROMETHEUS_URL",
"-e",
"PROMETHEUS_PASSWORD",
"-e",
"PROMETHEUS_TOKEN",
"ghcr.io/pab1it0/prometheus-mcp-server:1.6.2"
],
"env": {
"PROMETHEUS_URL": "<prometheus-url>",
"PROMETHEUS_PASSWORD": "<prometheus-password>",
"PROMETHEUS_TOKEN": "<prometheus-token>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"prometheus": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PROMETHEUS_URL",
"-e",
"PROMETHEUS_PASSWORD",
"-e",
"PROMETHEUS_TOKEN",
"ghcr.io/pab1it0/prometheus-mcp-server:1.6.2"
],
"env": {
"PROMETHEUS_URL": "<prometheus-url>",
"PROMETHEUS_PASSWORD": "<prometheus-password>",
"PROMETHEUS_TOKEN": "<prometheus-token>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test ghcr.io/pab1it0/prometheus-mcp-server:1.6.2 --env PROMETHEUS_URL
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| PROMETHEUS_URL | yes | — | Prometheus server URL (e.g., http://localhost:9090) |
| PROMETHEUS_URL_SSL_VERIFY | — | — | Set to False to disable SSL verification |
| PROMETHEUS_DISABLE_LINKS | — | — | Set to True to disable Prometheus UI links in query results (saves context tokens in MCP clients) |
| PROMETHEUS_USERNAME | — | — | Username for Prometheus basic authentication |
| PROMETHEUS_PASSWORD | — | yes | Password for Prometheus basic authentication |
| PROMETHEUS_TOKEN | — | yes | Bearer token for Prometheus authentication |
| ORG_ID | — | — | Organization ID for multi-tenant Prometheus setups |
| PROMETHEUS_CLIENT_CERT | — | — | Path to client certificate file for mutual TLS authentication |
| PROMETHEUS_CLIENT_KEY | — | — | Path to client private key file for mutual TLS authentication |
| PROMETHEUS_MCP_SERVER_TRANSPORT | — | — | MCP server transport type (stdio, http, or sse) |
| PROMETHEUS_MCP_BIND_HOST | — | — | Host address for HTTP/SSE transport (default: 127.0.0.1) |
| PROMETHEUS_MCP_BIND_PORT | — | — | Port number for HTTP/SSE transport (default: 8080) |
| PROMETHEUS_MCP_STATELESS_HTTP | — | — | Enable stateless HTTP mode for multi-replica support (default: false) |
| PROMETHEUS_CUSTOM_HEADERS | — | — | Custom headers as JSON string to include in Prometheus requests |
Security signals
97/100 — no known issues found as of 2026-10-19, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
- No security policy (SECURITY.md)-3
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ○Package metadata (install scripts, provenance) — pending
- ○Tool descriptions (prompt-injection and hidden-text heuristics) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Active — last maintenance signal 31d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-11 · 31d ago · GitHub
Latest release
2026-08-03 · 3mo ago · GitHub · v1.6.2
Package published
no data · npm/PyPI
Registry entry updated
2026-08-03 · 3mo ago · official registry · v1.6.2
How it compares in Database
Against the most-starred database servers we index. Token cost is per model turn, measured from each server's live tool list.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| Prometheus (this) | 519 | — | not measured | Active | local |
| Screenpipe | 21,982 | — | not measured | Active | — |
| Genai Toolbox | 16,679 | — | not measured | Active | hosted |
| Convex Backend | 12,716 | — | not measured | Active | — |
| Kubeshark | 12,100 | — | not measured | Active | local |
| Baserow | 6,174 | — | not measured | Active | — |
FAQ
›How do I install the Prometheus MCP server in Claude Code?
Run: claude mcp add prometheus -e PROMETHEUS_URL='<prometheus-url>' -e PROMETHEUS_PASSWORD='<prometheus-password>' -e PROMETHEUS_TOKEN='<prometheus-token>' -- docker run -i --rm -e PROMETHEUS_URL -e PROMETHEUS_PASSWORD -e PROMETHEUS_TOKEN ghcr.io/pab1it0/prometheus-mcp-server:1.6.2. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Prometheus require an API key?
Yes. It expects PROMETHEUS_URL, PROMETHEUS_PASSWORD, PROMETHEUS_TOKEN, of which 2 are secrets.
›Can I use Prometheus as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Prometheus in the official MCP registry?
Yes, as io.github.pab1it0/prometheus-mcp-server.
Sources and method
- Official MCP Registry entry
- updated 2026-08-03
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Security signals, computed by us
- 2026-10-19
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.
Alternatives to Prometheus
Other database MCP servers.