Skip to content
InfratoApp
InfratoApp / Resources / MCP servers / prometheus-mcp-server

prometheus-mcp-server

prometheus-mcp-server is an MCP server, listed under cloud & infrastructure. It reaches prometheus. It needs PROMETHEUS_PASSWORD to authenticate. Its repository has 519 GitHub stars and is licensed under MIT; we last read it on 2026-10-22.

This server implements the Model Context Protocol (MCP) to allow AI agents and LLMs to query and analyze Prometheus metrics using standardized interfaces.

Install

Read from prometheus-mcp-server’s own README, close to verbatim -- not written by us, and not guessed.

claude mcp add prometheus --env PROMETHEUS_URL=http://your-prometheus:9090 -- docker run -i --rm -e PROMETHEUS_URL ghcr.io/pab1it0/prometheus-mcp-server:latest

What it reaches, and what it needs

Reaches
prometheus
Credential
PROMETHEUS_PASSWORD

Maintenance

Stars
519
State
listed
Licence
MIT
From the repository

A Model Context Protocol (MCP) server that enables AI agents and LLMs to query and analyze Prometheus metrics through standardized interfaces.

What prometheus-mcp-server can do

6 tools documented in its README. An AI client calls these by name.

health_check
Health check endpoint for container monitoring and status verification
execute_query
Execute a PromQL instant query against Prometheus
execute_range_query
Execute a PromQL range query with start time, end time, and step interval
list_metrics
List all available metrics in Prometheus with pagination and filtering support
get_metric_metadata
Get metadata for one metric or bulk metadata with optional filtering
get_targets
Get scrape targets, with server-side `state`/`scrape_pool` filtering and optional pagination

Read from the README; names are kept only if the README contains them.

prometheus-mcp-server compared with similar servers

prometheus-mcp-server compared with the closest alternatives, by services reached, credentials, stars, last update and licence
ServerReachesNeedsStarsLast updateLicence
prometheus-mcp-server (this page)prometheusPROMETHEUS_PASSWORD5192026-10-19MIT
memoracloudflare, memora, openaiCLOUDFLARE_API_TOKEN, MEMORA_EMBEDDING_API_KEY, OPENAI_API_KEY7442026-10-24MIT
mcp-for-argocdargocdARGOCD_API_TOKEN, MCP_AUTH_TOKEN5962026-10-16Apache-2.0
agenticmailagenticmail, cloudflare, gmail, openai, relayAGENTICMAIL_API_KEY, AGENTICMAIL_INBOUND_SECRET, AGENTICMAIL_MASTER_KEY, CLOUDFLARE_API_TOKEN, GMAIL_PASSWORD, GMAIL_RELAY_APP_PASSWORD, OPENAI_API_KEY, RELAY_PASSWORD2392026-10-21MIT
opik-mcpopikOPIK_API_KEY2252026-10-22Apache-2.0
loki-mcpgrafana, lokiLOKI_PASSWORD, LOKI_TOKEN1762026-10-23—

Ranked by services in common with prometheus-mcp-server, then by stars. Figures are from each repository when we last read it.

Common questions about prometheus-mcp-server

What does prometheus-mcp-server do?
This server implements the Model Context Protocol (MCP) to allow AI agents and LLMs to query and analyze Prometheus metrics using standardized interfaces.
How do I install prometheus-mcp-server?
Its own README gives this command: claude mcp add prometheus --env PROMETHEUS_URL=http://your-prometheus:9090 -- docker run -i --rm -e PROMETHEUS_URL ghcr.io/pab1it0/prometheus-mcp-server:latest. Run it where your MCP client can launch the server, and check the README for any settings it asks for.
What does prometheus-mcp-server connect to, and what does it need?
It reaches prometheus. The credentials we found in its source are PROMETHEUS_PASSWORD.
Is prometheus-mcp-server official and is it maintained?
We found nothing naming it as a vendor’s official server. Its repository has 519 GitHub stars and its state in our directory is listed. Its last commit we recorded was on 2026-10-19.
What licence does prometheus-mcp-server use?
The repository declares the MIT licence.

More MCP servers for cloud & infrastructure

All cloud & infrastructure entries →

Learn this on Infrato