Best for
- DevOps teams looking to integrate Prometheus metric querying into AI workflows.
- Users who want to query metrics directly in MCP clients like Claude Desktop.
- Scenarios requiring lightweight deployment via Docker or Helm.
This community-maintained server provides robust Prometheus integration, including querying, discovery, and authentication support. Installation is flexible with Docker and Helm. Risks involve data access exposure and require proper network and authentication configuration. Overall, it is suitable for developers and ops professionals looking to connect Prometheus metrics to AI assistants.
Strongest · Maintenance 15/20 Weakest · Reliability 11/20
Static review · not runListed 2026-08-07
Read the FMRS scoring method →Runtime:Docker
PROMETHEUS_URL
Prometheus server URL (e.g., http://localhost:9090); required, points to your own Prometheus instance.
PROMETHEUS_PASSWORD
Prometheus basic auth password, optional, secret; use your Prometheus credentials.
PROMETHEUS_TOKEN
Prometheus Bearer token, optional, secret, from your auth system.
PROMETHEUS_URL_SSL_VERIFY
Set to False to disable SSL verification, for self-signed certificates.
PROMETHEUS_DISABLE_LINKS
Set to True to disable Prometheus UI links in query results and save context tokens.
PROMETHEUS_REQUEST_TIMEOUT
Request timeout in seconds (default 30) to prevent hanging requests.
PROMETHEUS_USERNAME
Prometheus basic auth username, optional.
PROMETHEUS_CLIENT_CERT
Path to client certificate file for mutual TLS, optional.
PROMETHEUS_CLIENT_KEY
Path to client private key file for mutual TLS, optional.
REQUESTS_CA_BUNDLE
Path to CA bundle for verifying the server's TLS certificate (standard requests library variable).
ORG_ID
Organization ID for multi-tenant Prometheus setups, optional.
PROMETHEUS_MCP_SERVER_TRANSPORT
Transport mode: stdio, http, or sse; defaults to stdio.
PROMETHEUS_MCP_BIND_HOST
Bind host for HTTP/SSE transport, default 127.0.0.1.
PROMETHEUS_MCP_BIND_PORT
Bind port for HTTP/SSE transport, default 8080.
PROMETHEUS_MCP_STATELESS_HTTP
Set to True to enable stateless HTTP mode for multi-replica support.
PROMETHEUS_CUSTOM_HEADERS
Custom request headers supplied as a JSON string.
TOOL_PREFIX
Prefix for all tool names (e.g., staging yields staging_execute_query), useful for multiple instances.
docker run -i --rm -e PROMETHEUS_URL=<your-prometheus-url> ghcr.io/pab1it0/prometheus-mcp-server:latest.helm install prometheus-mcp-server oci://ghcr.io/pab1it0/charts/prometheus-mcp-server --version 1.1.1 --set prometheus.url="http://prometheus:9090".{
"mcpServers": {
"prometheus": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PROMETHEUS_URL",
"ghcr.io/pab1it0/prometheus-mcp-server:latest"
],
"env": {
"PROMETHEUS_URL": "<your-prometheus-url>"
}
}
}
}
Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"prometheus": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PROMETHEUS_URL",
"ghcr.io/pab1it0/prometheus-mcp-server:latest"
],
"env": {
"PROMETHEUS_URL": "<your-prometheus-url>"
}
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
claude mcp add prometheus -e 'PROMETHEUS_URL=<your-prometheus-url>' -- docker run -i --rm -e PROMETHEUS_URL ghcr.io/pab1it0/prometheus-mcp-server:latest
Run it in a terminal; replace any <…> placeholders with your own values first.
After startup, tools like execute_query and list_metrics should appear in your MCP client's tool list; calling health_check or running a simple PromQL query (e.g., up) and getting a result confirms the connection works.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
A Model Context Protocol (MCP) server that provides access to Prometheus metrics and queries through standardized MCP interfaces. It enables AI assistants to execute PromQL instant and range queries, discover metrics and metadata, retrieve scrape targets, and supports multiple authentication methods including basic auth, bearer token, and mutual TLS. The server can be deployed via Docker or Helm, offers configurable tools, and includes features to save context tokens.
Upstash's official server providing up-to-date third-party library docs for AI coding assistants
AI-powered NPM package analysis MCP server
An independent control layer that gives AI coding agents budgets, brakes, and receipts
GitHub's official MCP server for managing repos, issues, PRs, and workflows via natural language
Source revision 4c9b37796adf Data synced 2026-10-12 Read the FMRS scoring method