
A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

A Model Context Protocol server implementation in Haskell that provides Claude Desktop with access to Prometheus metrics and queries.
MCP Prometheus Server is cataloged as an MCP server attributed to drewstreib. A Model Context Protocol server implementation in Haskell that provides Claude Desktop with access to Prometheus metrics and queries. It is categorized under cloud devops. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: BSD 3-Clause. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP Prometheus Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It can be set via the PROMETHEUS_URL environment variable or the --prometheus-url command line option.
It is written in Haskell.
README.md · 6f86a91e2927 · Fetched 2026-11-13 12:04:48 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
A production-ready Model Context Protocol (MCP) server implementation in Haskell that provides Claude Desktop with access to Prometheus metrics and queries. Built with Haskell best practices including proper exception handling, strict evaluation patterns, and comprehensive error recovery.
"The Adeon Special" - v1.0.1 incorporates advanced Haskell techniques to avoid common footguns and ensure thread-safe, robust operation.
git clone https://github.com/drewstreib/mcp-prom-haskell.git
cd mcp-prom-haskell/mcp-prometheus-server
./testbin/mcp-prometheus-server --prometheus-url http://your-prometheus-server:9090
make build
# Binary will be in testbin/mcp-prometheus-server
# Start test Prometheus instance
docker-compose up -d prometheus
# Build and run
docker build -t mcp-prometheus-server .
docker run -it --rm \
--network mcp-prometheus-server_mcp-network \
-e PROMETHEUS_URL=http://prometheus:9090 \
mcp-prometheus-server
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/claude/claude_desktop_config.json
{
"mcpServers": {
"prometheus": {
"command": "/path/to/mcp-prom-haskell/mcp-prometheus-server/testbin/mcp-prometheus-server",
"args": [
"--prometheus-url",
"http://your-prometheus-server:9090"
]
}
}
}
Replace /path/to/ with your actual path to the repository.
prometheus_queryExecute instant PromQL queries at a specific point in time.
Example: "What's the current CPU usage?"
rate(node_cpu_seconds_total[5m])
prometheus_query_rangeExecute queries over a time range for trending and analysis.
Example: "Show me memory usage over the last hour"
node_memory_Active_bytes
prometheus_seriesFind time series matching specific label selectors.
Example: "What metrics are available for the node-exporter job?"
prometheus_metricsList all available metric names in the system.
Example: "What metrics can I query?"
prometheus_labelsDiscover all label names used across metrics.
Example: "What labels are available for filtering?"
This server showcases production-ready Haskell practices:
SomeException anti-pattern - Only catches specific, recoverable exceptionsIOException for I/O operations - Handles stdin/stdout failures gracefullyHttpException for network calls - Provides detailed Prometheus connection errorscurl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
git clone https://github.com/drewstreib/mcp-prom-haskell.git
cd mcp-prom-haskell/mcp-prometheus-server
make build
docker-compose run --rm mcp-prometheus-server-test
# Unit tests only
cabal test
# With integration tests (requires Prometheus)
export PROMETHEUS_URL=http://your-prometheus-server:9090
cabal test
PROMETHEUS_URL - URL of your Prometheus server (default: http://your-prometheus-server:9090)mcp-prometheus-server --prometheus-url http://prometheus:9090
mcp-prometheus-server/
├── app/ # Main executable
├── src/ # Library source code
│ ├── MCP/ # MCP protocol implementation
│ └── Prometheus/ # Prometheus client
├── test/ # Test suites
├── Dockerfile # Docker image definition
└── docker-compose.yml # Development environment
src/Prometheus/Client.hssrc/MCP/Server.hstest/IntegrationSpec.hsContainer exits immediately: The MCP server expects stdio interaction. Use -it flags:
docker run -it --rm mcp-prometheus-server:latest
Cannot connect to Prometheus: Ensure containers are on the same network:
docker network create mcp-net
docker run --network mcp-net ...
Cabal dependency errors: Update your package index:
cabal update
GHC version mismatch: Use GHCup to install the correct version:
ghcup install ghc 9.6.4
ghcup set ghc 9.6.4
We welcome contributions! See ROADMAP.md for planned features.
BSD 3-Clause License - see LICENSE file for details.
This release represents production-ready Haskell code that avoids common pitfalls:
SomeException anti-patternsClaim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP Prometheus Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-prom-haskell)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

An MCP server that exposes the Coolify v4.3.1 REST API so AI clients can manage applications, databases, services, servers, deployments, and more.

A deprecated Model Context Protocol server for interacting with Kong Konnect APIs, enabling AI assistants to query and analyze Kong Gateway configurations, traffic, and analytics.