pab1it0/prometheus-mcp-server
by Various
A Model Context Protocol (MCP) server that enables AI agents and LLMs to query and analyze Prometheus metrics through standardized interfaces.
MCP
pab1it0/prometheus-mcp-server
Added 1 June 2026
Overview
An MCP server that lets AI agents and LLMs query Prometheus metrics through a standardized interface. It exposes PromQL queries as tools, enabling natural language interaction with monitoring data. Built in Python, it bridges the gap between LLM workflows and observability infrastructure.
Best for
Best for
Developers building AI agents that need real-time access to Prometheus metrics
Use cases
- Query Prometheus metrics from AI agents or chat interfaces
- Automate incident response by feeding live metrics into LLM analysis
- Integrate monitoring data into natural language dashboards or reports
How to use
Install
uv pip install -e . Tools exposed
PROMETHEUS_URLPROMETHEUS_URL_SSL_VERIFYPROMETHEUS_DISABLE_LINKSPROMETHEUS_REQUEST_TIMEOUTPROMETHEUS_USERNAMEPROMETHEUS_PASSWORDPROMETHEUS_TOKENPROMETHEUS_CLIENT_CERTPROMETHEUS_CLIENT_KEYREQUESTS_CA_BUNDLEORG_IDPROMETHEUS_MCP_SERVER_TRANSPORTPROMETHEUS_MCP_BIND_HOSTPROMETHEUS_MCP_BIND_PORTPROMETHEUS_MCP_STATELESS_HTTPPROMETHEUS_CUSTOM_HEADERSTOOL_PREFIXhealth_checkexecute_queryexecute_range_query
Tested with
Claude Desktop, Claude Code, Cursor, Windsurf, VS Code
Example client config
{\n "mcpServers": {\n "prometheus": {\n "command": "docker",\n "args": [\n "run",\n "-i",\n "--rm",\n "-e",\n "PROMETHEUS_URL",\n "ghcr.io/pab1it0/prometheus-mcp-server:latest"\n ],\n "env": {\n "PROMETHEUS_URL": "<your-prometheus-url>"\n }\n }\n }\n} Notes
An MCP server that lets AI agents and LLMs query Prometheus metrics through a standardized interface. It exposes PromQL queries as tools, enabling natural language interaction with monitoring data. Built in Python, it bridges the gap between LLM workflows and observability infrastructure.
450 stars on GitHub. Last updated 2026-05-19. Licensed MIT.
Use cases
- Query Prometheus metrics from AI agents or chat interfaces
- Automate incident response by feeding live metrics into LLM analysis
- Integrate monitoring data into natural language dashboards or reports
Pros
- Standard MCP protocol makes integration with existing AI frameworks straightforward
- Leverages PromQL for powerful, flexible metric queries
- Active open-source project with 450 stars and community contributions
Cons
- Requires a running Prometheus instance and network access to it
- Limited to read-only queries; cannot modify alert rules or configuration
- MCP ecosystem is still evolving, so client support may vary
Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.
Pros
- Standard MCP protocol makes integration with existing AI frameworks straightforward
- Leverages PromQL for powerful, flexible metric queries
- Active open-source project with 450 stars and community contributions
Cons
- Requires a running Prometheus instance and network access to it
- Limited to read-only queries; cannot modify alert rules or configuration
- MCP ecosystem is still evolving, so client support may vary
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
Cline
Cline
Open-source autonomous coding agent that lives inside VS Code. BYO model key, watch it work.
Claude Code
Anthropic
Anthropic's terminal-native coding agent. Reads your repo, edits files, runs tests, ships PRs.
Continue
Continue.dev
Open-source AI code assistant for VS Code and JetBrains. Customisable, BYO model, built for enterprise.
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.