Observability MCP logo

Observability MCP

Unifies observability backends for AI-assisted metric, log, health, anomaly, and topology analysis.

Install Observability MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "observability-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@thotischner/observability-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

observability-mcp connects AI agents to observability backends through one MCP endpoint, normalizing data from pluggable connectors such as Prometheus and Loki. Its read-only tools discover sources and services, query metrics and logs, calculate service health, detect anomalies, and inspect infrastructure topology. A web UI configures connections, while server-side filtering and aggregation return summarized results instead of raw data. Use it for incident triage when an agent needs cross-backend context or topology-based blast-radius analysis.

Use cases

  • Triage incidents across Prometheus and Loki
  • Score service health from metrics and logs
  • Detect cross-signal anomalies for monitored services
  • Trace infrastructure blast radius through host relationships
  • Inspect merged topology during dependency analysis

Key features

  • Unified MCP access to pluggable observability connectors
  • Server-side metric and log summaries
  • Combined 0–100 service health scores
  • Median/MAD and trend-based anomaly detection
  • Merged, filterable infrastructure topology
  • `RUNS_ON` blast-radius analysis

Tools8

What Observability MCP lets your agent do. Expand a tool for its parameters.

Self-reported~174 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

25/26 checks healthy over the last 111d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 11d ago via OSV.dev · @thotischner/observability-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars7Stargazers on the source repository.
npm downloads1kPackage downloads in the last 30 days.
Last commit6d agoMost recent push to the default branch.
Tools exposed8Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Observability MCP works

What observability-mcp does

observability-mcp provides a unified MCP interface for observability data. It is designed for teams that want an AI agent to work across multiple monitoring backends without exposing a separate MCP endpoint and query language for each system. Prometheus and Loki can be configured as sources, and the connector model supports additional backend types.

The server turns backend data into service-oriented responses. Agents can discover available sources and monitored services, retrieve summarized metrics and logs, assess service health, identify anomalies, and inspect relationships between infrastructure resources. All exposed tools are read-only, so the server is intended for investigation and analysis rather than making changes to monitored systems.

How it works

The process starts with configured connectors. Source discovery reports the available backends and their connection status, while service discovery combines monitored services across those sources. Metric and log queries are processed server-side, including summary statistics, error and warning counts, and common log patterns.

Health scoring combines metric and log signals into a value from 0 to 100. Anomaly detection uses median and median absolute deviation analysis together with trend information, allowing the server to compare signals without requiring the agent to reconstruct the analysis from raw results.

Topology-capable connectors contribute resources and edges to a merged infrastructure graph. The topology tools can filter this graph by source, resource kind, or scope. Blast-radius analysis follows the common RUNS_ON relationship, supporting dependency questions such as which pods share a node, which virtual machines share a hypervisor, or which containers share a host.

Setup and configuration

Run the package with npx:

Terminal
npx @thotischner/observability-mcp

The default startup also provides the configuration UI on port 3000. The MCP endpoint is available at http://localhost:3000/mcp when using the documented local setup. Claude Code can connect with:

Terminal
claude mcp add observability --transport http http://localhost:3000/mcp

Claude Desktop and Cursor can use the same streamable HTTP endpoint through an MCP server configuration. The server starts without configured sources. Add Prometheus and Loki connections in the web UI or set PROMETHEUS_URL and LOKI_URL before startup.

For interactive inspection, the package includes an inspector-config command that can be passed to the MCP Inspector. Container and Helm deployment options are also part of the project’s distribution materials.

Tools and capabilities

The available read-only capabilities include:

  • List configured sources and connection status.
  • List monitored services across backends.
  • Query metrics with precomputed summary statistics.
  • Query logs with error, warning, and top-pattern summaries.
  • Calculate a combined service health score from 0 to 100.
  • Detect anomalies across signals using robust statistics and trend analysis.
  • Merge and filter infrastructure topology data.
  • Calculate RUNS_ON-based blast radius for hosts and their dependents.

Limitations and notes

The server’s value depends on the connectors and sources configured for the deployment. A fresh installation has no sources until Prometheus, Loki, or another supported connector is added. Topology and blast-radius results require topology-capable connector data and relationships that use the RUNS_ON model.

The exposed tools are for reads and analysis; they do not mutate observability backends. Topology analysis is most relevant to graph-shaped dependency questions, while direct single-metric investigations use the metric query path instead. Optional access-control, audit, rate-limit, OIDC, and OPA configurations are available for multi-user deployments, but the basic local setup runs with those controls disabled.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Observability MCP

observability-mcp is an MCP server that connects AI agents to observability backends such as Prometheus and Loki. Its main tools discover sources and services, query summarized metrics and logs, calculate service health, detect anomalies, and analyze merged topology and host-based blast radius through read-only operations.

Run `npx @thotischner/observability-mcp` to start it locally. The server provides a configuration UI on port 3000 and exposes its MCP endpoint at `/mcp`. Add Prometheus or Loki through the UI or configure their URLs with environment variables.

Yes, observability-mcp works with Cursor through its streamable HTTP MCP endpoint. Start the server, then add `http://localhost:3000/mcp` as an MCP server in Cursor’s configuration.

Yes, it can calculate blast radius by following the `RUNS_ON` relationship in topology data. This supports questions involving pods and nodes, virtual machines and hypervisors, or containers and hosts, provided a topology-capable connector supplies those relationships.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewObservability MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/observability-mcp?style=directory)](https://allmcps.com/mcp/observability-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/observability-mcp"><img src="https://allmcps.com/api/badge/observability-mcp?style=directory" alt="Observability MCP on AllMCPs" /></a>