mcp-server-prometheus
by loglmhq·★ 17·Score 34
MCP server that bridges Claude with Prometheus metrics and data.
Overview
This MCP server provides a bridge between Claude and Prometheus, allowing users to access and interact with Prometheus metrics through the Model Context Protocol. It implements a TypeScript-based interface to query Prometheus metrics, offering features like listing available metrics, accessing detailed metric information, and supporting basic authentication for secured instances. The server handles resource listing with JSON mime types and provides access to statistical information about each metric.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this for Prometheus integration if you need basic metric access and metadata retrieval through MCP.
When NOT to choose this
Avoid if you need complex metric querying, time series analysis, or advanced Prometheus features not yet implemented.
Tools this server exposes
2 tools extracted from the READMElist_metricsList all available Prometheus metrics with descriptions
get_metric_infoGet detailed information about a specific Prometheus metric
Comparable tools
Installation
Installation
- Install dependencies:
npm install- Build the server:
npm run build- Configure for Claude Desktop:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"mcp-server-prometheus": {
"command": "/path/to/mcp-server-prometheus/build/index.js",
"env": {
"PROMETHEUS_URL": "http://your-prometheus-instance:9090"
}
}
}
}FAQ
- What authentication methods does this server support?
- The server supports basic authentication for secured Prometheus instances using PROMETHEUS_USERNAME and PROMETHEUS_PASSWORD environment variables.
- How do I debug the MCP server?
- The server recommends using the MCP Inspector for debugging. Run 'npm run inspector' which provides a URL to access debugging tools in your browser.
Compare mcp-server-prometheus with
Last updated · Auto-generated from public README + GitHub signals.