Explore
Contribute
Sign In

Explore

  1. Explore
  2. /
  3. Monitoring & Observability
  4. /
  5. Prometheus

Prometheus

Prometheus

A Model Context Protocol (MCP) server that enables AI assistants to query and analyze Prometheus metrics through standardized interfaces. Connect to your Prometheus instance to retrieve metrics, perform queries, and gain insights into your system's performance and health.

6 Tools

Requires Configuration
Add to Docker Desktop

Version 4.43 or later needs to be installed to add the server automatically

OverviewTools (6)ConfigManual installation
Github repository⁠

Use cases

Execute a PromQL instant query against Prometheus

Execute a PromQL range query with start time, end time, and step interval

Get metadata for a specific metric

Get information about all scrape targets

Health check endpoint for container monitoring and status verification

List all available metrics in Prometheus

About

Prometheus MCP Server

A Model Context Protocol (MCP) server that enables AI assistants to query and analyze Prometheus metrics through standardized interfaces. Connect to your Prometheus instance to retrieve metrics, perform queries, and gain insights into your system's performance and health.

What is an MCP Server?⁠

MCP Info

AttributeDetails
Docker Imageghcr.io/pab1it0/prometheus-mcp-server⁠
Authorpab1it0⁠
Repositoryhttps://github.com/pab1it0/prometheus-mcp-server⁠

Image Building InfoDockerfile|https://github.com/pab1it0/prometheus-mcp-server/blob/main/Dockerfile⁠

Docker Image built by|pab1it0 Docker Scout Health Score|Not available Verify Signature|Not available Licence|MIT License

Available Tools (6)

Tools provided by this ServerShort Description
execute_queryExecute a PromQL instant query against Prometheus
execute_range_queryExecute a PromQL range query with start time, end time, and step interval
get_metric_metadataGet metadata for a specific metric
get_targetsGet information about all scrape targets
health_checkHealth check endpoint for container monitoring and status verification
list_metricsList all available metrics in Prometheus

Tools Details

Tool: execute_query

Execute a PromQL instant query against Prometheus

ParametersTypeDescription
querystring
timestringoptional

Tool: execute_range_query

Execute a PromQL range query with start time, end time, and step interval

ParametersTypeDescription
endstring
querystring
startstring
stepstring

Tool: get_metric_metadata

Get metadata for a specific metric

ParametersTypeDescription
metricstring

Tool: get_targets

Get information about all scrape targets

Tool: health_check

Health check endpoint for container monitoring and status verification

Tool: list_metrics

List all available metrics in Prometheus

Use this MCP Server

{
  "mcpServers": {
    "prometheus": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PROMETHEUS_URL",
        "ghcr.io/pab1it0/prometheus-mcp-server"
      ],
      "env": {
        "PROMETHEUS_URL": "http://host.docker.internal:9090"
      }
    }
  }
}

Why is it safer to run MCP Servers with Docker?⁠

Manual installation

You can install the MCP server using:

​

Installation for

Related servers

© 2025 Docker, Inc. All rights reserved. | Terms of Service | Subscription Service Agreement | Privacy | Legal