prom-mcp
What it does
Prometheus MCP server for AI agents: PromQL queries, alert explanations, series discovery.
- Connects 내 컴퓨터에서 실행
- Account or key Needs PROM_TOKEN
- Category 개발자 도구
설치
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
검사 3/3 통과 · 내 컴퓨터에서 실행돼요
먼저: 어떤 AI를 쓰시나요?
쓰는 앱을 고르면 아래에 단계가 나옵니다.
Claude에 연결할 수 있지만 먼저 준비가 필요해요
키 필요 없음, 설치 필요 없음 · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요
파일을 두 번 클릭한 뒤 컴퓨터용 Claude 앱에서 Install 누르기
해 보기
prom-mcp을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Claude가 prom-mcp을 쓰고 있다고 하거나 답에 prom-mcp 도구 이름이 나오면 연결된 거예요
메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
ChatGPT는 아직 prom-mcp에 연결할 수 없어요
prom-mcp는 내 컴퓨터에 설치해서 쓰지만 ChatGPT는 웹에서 도는 서버만 연결할 수 있어요
대신 이렇게 할 수 있어요
A · prom-mcp에 연결되는 앱 쓰기
- 키 필요 없음, 설치 필요 없음 · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요
B · 개발자 도구에서 ChatGPT에 연결되는 다른 서버
같은 분류에서 많이 쓰는 것 중 키 없이 주소만으로 연결되는 것을 골랐어요
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
Claude Code는 아직 prom-mcp에 연결할 수 없어요
제작자가 컴퓨터용 Claude 앱 설치 파일만 제공해요
대신 이렇게 할 수 있어요
A · prom-mcp에 연결되는 앱 쓰기
- 키 필요 없음, 설치 필요 없음 · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요
Cursor는 아직 prom-mcp에 연결할 수 없어요
제작자가 컴퓨터용 Claude 앱 설치 파일만 제공해요
대신 이렇게 할 수 있어요
A · prom-mcp에 연결되는 앱 쓰기
- 키 필요 없음, 설치 필요 없음 · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요
VS Code는 아직 prom-mcp에 연결할 수 없어요
제작자가 컴퓨터용 Claude 앱 설치 파일만 제공해요
대신 이렇게 할 수 있어요
A · prom-mcp에 연결되는 앱 쓰기
- 키 필요 없음, 설치 필요 없음 · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요
개발자용: 터미널 명령과 JSON 설정
직접 입력할 값
PROM_URLenvBase URL of your Prometheus server.PROM_TOKEN비밀 envBearer token for an auth-protected Prometheus. Leave empty if not needed.PROM_TIMEOUTenvTimeout for Prometheus requests, e.g. 15s or 30s.
이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
한눈에 보기
- 주간 다운로드i
- npm/PyPI에 없음
- 연결 방식
- 내 컴퓨터에서 실행
- 최신 버전i
- 0.2.0
- 레지스트리 공개i
- 2026년 10월 10일
- 코드 마지막 변경i
- 2026년 10월 15일
- 제작자
- aniketatgithub
- 패키지
mcpb: …/prom-mcp_v0.2.0_linux_amd64.mcpbmcpb: …/prom-mcp_v0.2.0_linux_arm64.mcpbmcpb: …/prom-mcp_v0.2.0_darwin_amd64.mcpb- 웹사이트
- github.com
- 레지스트리 상태
- 활성
어떤 앱에서 쓸 수 있나요
이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.
내 컴퓨터에서 실행하는 앱
ClaudeGooseLM StudioMsty StudioCherry StudioVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
할 수 있는 일
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
기본 점검i
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 12일 점검
- ✓ 통과
제작자와 저장소 일치
레지스트리 이름이 GitHub 계정 aniketatgithub 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
- ✓ 통과
계속 관리되고 있음
코드 마지막 변경: 28일 전
- ✓ 통과
라이선스 있음
MIT 사용
- – 해당 없음
엔드포인트 응답
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
- – 해당 없음
OAuth로 로그인
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
- … 아직 점검 안 함
도구 설명에 숨겨진 지시 없음
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
토론
질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.
사용자 리뷰
아직 리뷰가 없어요
개발자 도구 카테고리의 다른 서버와 비교i
- 이 카테고리의 다른 서버 5802개 중 0%보다 스타가 많아요
- 이 카테고리의 다른 서버 5802개 중 48%보다 최근에 레지스트리에 공개됐어요
- 기본 점검 결과가 이 카테고리의 다른 서버 5802개 중 100%와 같거나 더 좋아요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
자주 묻는 질문
prom-mcp, 안전한가요?
해당하는 기본 점검 3개 중 3개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
어떤 키나 코드가 필요한가요?
입력해야 할 값: PROM_TOKEN
내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
아직 관리되고 있나요?
GitHub 저장소는 마지막으로 28일 전 변경됐고, 최신 버전(0.2.0)은 33일 전 레지스트리에 올라왔어요.
어떤 앱에서 쓸 수 있나요?
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 MCPB도 있어야 해요.
대신 쓸 수 있는 건 뭐가 있나요?
같은 카테고리에는: REA, GitHub, Serena MCP: the IDE for your agent
같은 카테고리의 다른 것
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Serena MCP: the IDE for your agent
A powerful toolkit for coding, providing semantic retrieval and editing capabilities.
제작자의 README
README 열기
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
prom-mcp — Prometheus MCP Server for AI Agents (Claude Code, Cursor)
prom-mcp is a Prometheus MCP server (Model Context Protocol) that gives AI agents production-grade eyes on your metrics. Connect Claude Code, Cursor, or any MCP client to Prometheus and let the agent run PromQL queries, explain firing alerts with their rule definitions, and discover which series actually exist before querying — so it investigates instead of guessing.
Built by a production engineer who works on-call, so the output reads like a triage note, not a raw JSON dump.
5 tools • 2 resources • 1 triage prompt • single Go binary • zero dependencies • stdio
Install
Claude Desktop (MCPB, no toolchain needed)
Download the bundle for your platform, then open it or drag it into Claude Desktop (Settings → Extensions). You will be asked for your Prometheus URL, which defaults to http://localhost:9090.
| Platform | MCPB bundle |
|---|---|
| macOS (Apple silicon) | prom-mcp_v0.2.0_darwin_arm64.mcpb |
| macOS (Intel) | prom-mcp_v0.2.0_darwin_amd64.mcpb |
| Linux (x86_64) | prom-mcp_v0.2.0_linux_amd64.mcpb |
| Linux (arm64) | prom-mcp_v0.2.0_linux_arm64.mcpb |
Claude Code
With the binary on your PATH (release download or go install, see below):
claude mcp add prom -- prom-mcp
Set PROM_URL in your shell first if your Prometheus is not at http://localhost:9090, or pass --env PROM_URL=... to the command. More variants in examples/claude-code.md.
Cursor
Add to ~/.cursor/mcp.json (same file as examples/cursor-mcp.json):
{
"mcpServers": { "prom": { "command": "prom-mcp", "env": { "PROM_URL": "http://localhost:9090" } } } }
VS Code
Add to .vscode/mcp.json (same file as examples/vscode-mcp.json):
{
"servers": { "prom": { "command": "prom-mcp", "env": { "PROM_URL": "http://localhost:9090" } } } }
Go install / build from source
go install github.com/aniketatgithub/prom-mcp@latest
git clone https://github.com/aniketatgithub/prom-mcp && cd prom-mcp
go build -o prom-mcp ./cmd/prom-mcp
Plain binaries for all four platforms are also on the v0.2.0 release, next to the MCPB bundles above.
What to ask
| You ask | prom-mcp does |
|---|---|
| "Why is NodeDown firing?" | prom_alerts_explain returns the active alert joined with its rule expression, group, for, labels, and annotations. |
| "What jobs and instances actually exist?" | prom_series_discover and prom_label_values list real series and label values before any query is written. |
| "Is this getting worse?" | prom_query_range summarizes the window per series: points, first, last, min, max. |
See it in action
Alert triage: why is the node down?
Discover what exists before querying:
Check the trend: is node1 getting worse?
What it looks like
Ask your agent *"why is the node down?"* and the alert tool answers in triage shape:
1 active alert(s)
[firing] NodeDown (since 2026-10-08T10:00:00Z, value 0) labels: {alertname="NodeDown", instance="node1:9100", job="node", severity="critical"} summary: Node node1:9100 is down description: Scrapes failing for 5m rule: up{job="node"} == 0 group: node.rules for: 5m0s
Plus a built-in triage prompt template that walks the agent through alerts, discovery, and trend checks in order.
Tools
| Tool | What it does |
|---|---|
prom_query | Instant PromQL query, rendered as compact labelled series and values. |
prom_query_range | Range query over the last N minutes; per-series points, first, last, min, max. |
prom_alerts_explain | Active alerts joined with alerting-rule expressions, rule group, for duration, and annotations. |
prom_label_values | Lists real values of a label (optionally scoped), so the agent learns actual job/instance names. |
prom_series_discover | Checks which series exist for a label matcher, so the agent stops hallucinating metric names. |
Resources: prometheus://alerts (explained alerts), prometheus://config. Prompt: triage.
Try it with no server
prom-mcp demo # fixture-backed self-test: query, alert explanation, series discovery
prom-mcp query 'up' # one-shot CLI query against $PROM_URL
Configuration
| Setting | Env var | Config file key |
|---|---|---|
| Prometheus base URL | PROM_URL | base_url |
| Bearer token (auth-protected Prometheus) | PROM_TOKEN | token |
| Request timeout | PROM_TIMEOUT (e.g. 30s) | timeout_seconds |
| Config file path | PROM_CONFIG |
Config file is JSON, looked up at $PROM_CONFIG, then ./prom-mcp.json, then ~/.prom-mcp.json:
{ "base_url": "https://prometheus.example.com", "token": "…", "timeout_seconds": 30 }
Env vars override the file. No config at all defaults to http://localhost:9090.
Why not just give the agent raw API access?
Agents drown in raw Prometheus JSON and invent metric names that do not exist. prom-mcp returns terse, labelled, triage-shaped text and makes the agent discover before querying. That is the difference between an agent that guesses and an agent that investigates.
Single Go binary, zero dependencies, works fully offline against your own Prometheus.
Comparing servers? See docs/comparison.md for an honest side-by-side with pab1it0/prometheus-mcp-server and the Prometheus org's prometheus/prometheus-mcp.
FAQ
Which AI clients work with prom-mcp? Any MCP client: Claude Code, Cursor, Windsurf, Zed, and custom agents. It speaks newline-delimited JSON-RPC 2.0 over stdio.
How do I connect prom-mcp to a remote Prometheus? Set PROM_URL to your Prometheus base URL (for example http://localhost:9090 or your internal endpoint) when adding the server.
Can an AI agent explain why a Prometheus alert is firing? Yes. prom_alerts_explain joins active alerts with the rule that fired them (expression, summary, description), so the agent can reason about the cause instead of reporting raw JSON.
Does prom-mcp need any API keys or cloud services? No. It is a single local binary talking only to your Prometheus.
How does prom-mcp compare to the other Prometheus MCP servers? See docs/comparison.md. Short version: prom-mcp is the focused alert-triage option with 5 tools; the others cover more of the Prometheus API or ship more deployment machinery.
How is this different from exposing the Prometheus HTTP API to an agent? Raw API access returns nested JSON the agent must parse and invites invented metric names. prom-mcp renders compact labelled text, joins alerts with the rules that fired them, caps long outputs, and nudges discovery before querying. It also retries transient failures and supports bearer-token auth.
Does it work with a remote or auth-protected Prometheus? Yes: set PROM_URL and PROM_TOKEN (or a JSON config file). See Configuration.
Which Prometheus versions are supported? Any server exposing the standard HTTP API (/api/v1/query, query_range, alerts, rules, series, label/ /values).
License
MIT. See LICENSE.