1. Conduid
  2. Analytics
  3. Prometheus MCP Server
MCP server · Analytics

Prometheus MCP Server

prometheus-mcp-server is an MCP server that exposes summarized service health signals derived from Prometheus metrics for LLM-based analysis.

Unclaimed last commit 9 months ago analytics
45Fair

Scored yesterday · breakdown

About Prometheus MCP Server

Prometheus MCP Server is an MCP server published by polyglot-k in the Analytics category: prometheus-mcp-server is an MCP server that exposes summarized service health signals derived from Prometheus metrics for LLM-based analysis.

The repository has 2 stars and 0 forks, with the last commit 9 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/polyglot-k/prometheus-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Prometheus MCP Server

Powered by Claude · Grounded in docs

I know everything about Prometheus MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository yesterday. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • !License declaredNo license file. Legally you have no right to use it in a product.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.0.1v0.0.1

README

Prometheus MCP Server

English

Claude나 Gemini 같은 AI 모델이 Prometheus에 접속하여 메트릭을 조회하고 분석할 수 있게 해주는 MCP(Model Context Protocol) 서버입니다.

기능

  • 헬스 체크: 서버 및 프로메테우스 연결 상태 확인
  • 쿼리 실행: PromQL 쿼리 실행 (Instant & Range)
  • 메트릭 탐색: 사용 가능한 메트릭 목록 및 메타데이터 조회
  • 관리 기능: 활성 타겟, 경고(Alert), 설정 확인

설치 및 실행

필수 요구사항

  • Go 1.23+ (로컬 빌드 시)
  • Docker (도커 실행 시)
  • 실행 중인 Prometheus 서버 (연결 대상)

1. 로컬에서 실행하기

  1. 빌드

    make build
    

    prometheus-mcp.exe 파일이 생성됩니다.

  2. MCP 설정 (mcp_config.json)

    {
      "mcpServers": {
        "prometheus-mcp": {
          "command": "c:\\경로\\prometheus-mcp.exe",
          "args": [],
          "env": {
            "PROMETHEUS_URL": "http://localhost:9090"
          }
        }
      }
    }
    

2. Docker로 실행하기

GitHub Container Registry(GHCR)에서 최신 이미지를 받아 실행할 수 있습니다.

MCP 설정 (mcp_config.json)

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

참고: 직접 빌드하려면 make docker-build를 실행하세요.

문서 (Documentation)

더 자세한 사용법과 설정 방법은 아래 문서를 참고하세요.

예제 환경 실행

프로메테우스 서버가 없다면 example 폴더를 사용하여 테스트 환경을 띄울 수 있습니다.

cd example
docker-compose up -d
  • Prometheus: http://localhost:9090
  • Node Exporter: http://localhost:9100

README fetched from the repository yesterday. The original is authoritative.

Questions

About Prometheus MCP Server

How do I install Prometheus MCP Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Prometheus MCP Server safe to use with an AI agent?

Its trust score is 45 out of 100 (fair). It passes 3 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Prometheus MCP Server still maintained?

The last commit was 9 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.