Wraps the entire Prometheus HTTP API for metrics querying, alerting, configuration management, and TSDB operations. You get instant queries, range queries, series lookups, label exploration, metadata inspection, alert and rule management, plus target discovery details all through MCP tools. It includes optional TSDB admin endpoints for deleting series and creating snapshots if you explicitly enable them with a flag. The server also bundles Prometheus documentation search so your LLM can reference best practices on metric naming or query syntax. Built in Go, supports TOON encoding for token efficiency, and lets you truncate API responses to control context size. Ideal when you need an LLM to investigate slow queries, analyze high cardinality metrics, suggest recording rules, or generate PromQL on the fly.
claude mcp add --transport stdio tjhop-prometheus-mcp-server uvx prometheus-mcp-server