
Mcp Prometheus
io.github.jeanlopezxyzPublished by GitHub account jeanlopezxyzv2.1.1Updated Oct 24, 2026
A Model Context Protocol (MCP) server for Prometheus monitoring
The publisher's own server: Prometheus MCP
Overview
A local MCP server that connects an assistant to Prometheus so it can run PromQL queries and diagnose Kubernetes/OpenShift cluster health.
- What you can do
- Run PromQL instant and range queries against Prometheus and compare metrics between two time periods. Inspect scrape targets, alerting and recording rules, and server version and runtime status. Get a cluster health overview and diagnose specific nodes or namespaces. Find top CPU, memory and network consumers and investigate individual pods.
- When to use it
- Useful when you want an assistant to answer questions about Prometheus metrics, cluster health, resource usage or pod problems in a Kubernetes or OpenShift environment without running kubectl or port-forwarding yourself.
- Requirements
- Runs locally via npx (Node.js) or a Go binary. Needs a reachable Prometheus endpoint, set through the PROMETHEUS_URL environment variable or the --url flag, or Kubernetes access via kubeconfig or in-cluster config for auto-connect through the K8s API service proxy. Namespace, service and port can be set with CLI flags.
Installation
In SourceWeft
- Open Mcp Prometheus in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Prometheus MCP Server (Go)
[License: MIT] [npm version] [Go] [GitHub release]
A Model Context Protocol (MCP) server for Prometheus integration. Native Go binary with built-in Kubernetes connectivity via client-go.
Installation
npx
MCP Client Configuration
Add to your MCP client configuration (VS Code, Cursor, Windsurf, etc.):
VS Code
Kubernetes Auto-Connect
Automatically connects to Prometheus running in OpenShift/Kubernetes via the K8S API service proxy. Uses native kubeconfig/in-cluster config via client-go. No kubectl or port-forwarding required.
Default: openshift-monitoring/prometheus-operated:9090
Binary
Download from GitHub Releases or build from source:
Configuration
Environment Variables
CLI Flags
Precedence: --url / PROMETHEUS_URL > K8S auto-connect
Connection strategy:
- Direct URL (if
--urlorPROMETHEUS_URLis set) - K8S API proxy (auto-detect kubeconfig or in-cluster config)
Tools (11)
Basic Queries
Cluster Diagnostics
Resource Analysis
Example Prompts
Development
Build
Container
Kubernetes / OpenShift Deployment
Container Image
The container image is available on GitHub Container Registry:
Helm Chart
Deploy using the included Helm chart:
Helm Values
Example with custom Prometheus
License
Source: README.md at commit 4b7c47b
Tools
0Version history
1- v2.1.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Prometheus integrations
Prometheus MCP
sv.prometheusOfficial publisher
A remote MCP endpoint from Prometheus that lets an AI assistant search, rate and review programming guides on a knowledge network for agents and creators.

Prometheus MCP Server
Published by GitHub account prometheus
An API-complete MCP server to manage Prometheus-compatible backends.

Prometheus MCP Server
Published by GitHub account tjhop
MCP server that lets an assistant query and inspect a Prometheus-compatible backend: PromQL queries, labels, series, rules, alerts, targets and docs.

Prometheus MCP Server
Published by GitHub account pab1it0
Connects an AI assistant to a Prometheus server so it can run PromQL instant and range queries and explore available metrics and scrape targets.

Prometheus Mcp
Published by GitHub account mshegolev
Read-only MCP server that lets an assistant query a Prometheus instance with PromQL, list metrics, inspect active alerts and check scrape targets.