observability-mcp
MCP server by ThoTischner Community
observability-mcp is a unified observability gateway for AI agents. It connects to backends such as Prometheus and Loki through pluggable connectors and adds anomaly detection. It is aimed at SRE and platform teams that use AI agents for incident triage.
Install observability-mcp
Built from the published package, never by AI.
claude mcp add observability-mcp -- npx -y @thotischner/observability-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"observability-mcp": {
"args": [
"-y",
"@thotischner/observability-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"observability-mcp": {
"args": [
"-y",
"@thotischner/observability-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"observability-mcp": {
"args": [
"-y",
"@thotischner/observability-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add observability-mcp -- npx -y @thotischner/observability-mcp{
"mcpServers": {
"observability-mcp": {
"args": [
"-y",
"@thotischner/observability-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add observability-mcp npx -y @thotischner/observability-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the observability-mcp block.
About
observability-mcp is one MCP server that connects AI agents to observability backends such as Prometheus and Loki. It uses pluggable connectors to normalize data from different query languages, then runs cross-signal analysis and anomaly detection on it. A web UI on port 3000 handles sources, services and configuration. The server offers twelve read-only tools and returns filtered, aggregated numbers rather than raw data.
It is aimed at SRE and platform teams that run Prometheus and Loki and use an AI agent for incident triage. The project says its value is largest with smaller or local models that cannot write PromQL or LogQL reliably. The source reports a benchmark where a local 8B model went from 0 of 10 to 10 of 10 on a blast-radius question once it had topology tools. The server starts with no sources, so backends must be added through the UI or environment variables.
Written from the project's README and checked against it.
Tools it gives your assistant
get_topologyReturns the service topology so the agent can see how services connect.get_blast_radiusLists what else is affected if a given service or node fails.
What you need
- Node.js (to run via npx)
- A Prometheus or Loki backend to connect
- Docker (only for the full demo stack)
| Setting | Needed | What it is |
|---|---|---|
MCP_Environment variable | Optional | Set to 'stdio' when an MCP client spawns the package directly (the npx default starts the HTTP gateway + Web UI on :3000 instead). |
PROMETHEUS_Environment variable | Optional | Prometheus base URL to connect as a metrics source (optional; sources are also configurable via the Web UI / sources.yaml). |
LOKI_Environment variable | Optional | Loki base URL to connect as a logs source (optional). |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Which other pods share a node with payment-service?
- What falls over if this node goes down? Use the blast radius tool.
- Are there any anomalies in my service metrics right now?
Good to know
- All twelve tools are read-only.
- The server starts with zero sources until you add backends.
- Multi-user access control, SSO and OPA are opt-in and off by default.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to observability-mcp
All alternatives →Azure MCP Server bundles all Azure MCP tools into one local MCP server. It connects AI agents to Azure services and can be used alone or with the GitHub Copilot for Azure extension in VS Code.
Manages monitors, status pages, incidents and maintenances in an openstatus workspace from Claude, ChatGPT, or Cursor. It suits teams that run uptime monitoring and status pages and want their AI assistant to update them.
SmartBear MCP gives AI assistants access to SmartBear's testing and monitoring tools, including BugSnag, Reflect, Swagger, PactFlow and QTM4J. It is aimed at teams that already use these products. Products are reached through remote servers or a local npm package.
Lets AI assistants manage Fettle uptime monitoring, including monitors, incidents, heartbeats, maintenance windows and status page incidents. Built for developers and operations teams who use Fettle and want to work from Claude, Cursor or Codex.
Superlog is an open-source agentic telemetry system that ingests traces, logs and metrics and groups noisy signals into incidents. It is aimed at teams debugging production systems with OpenTelemetry data.
Microsoft Learn MCP gives AI assistants direct access to official Microsoft documentation and code samples through a remote MCP endpoint. It is for developers who use MCP-compatible clients and want answers based on current Microsoft docs.
Compare with Azure MCP Server, openstatus or SmartBear MCP
observability-mcp: common questions
Does observability-mcp work with backends other than Prometheus and Loki?
The source describes pluggable connectors for any query language, naming PromQL, LogQL, Flux and KQL as examples. The setup examples in the source focus on Prometheus and Loki.
Can the agent change anything in my observability backends?
No. The source states that all twelve tools are marked read-only with readOnlyHint set to true.
Is this only useful with large cloud AI models?
The source says the gateway helps most with smaller or local models that cannot reliably write PromQL or LogQL. A strong frontier model can query raw backends on its own, where the value is mainly consistency and the analysis engine.
How do I install observability-mcp?
In Claude Code run claude mcp add observability-mcp -- npx -y @thotischner/observability-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is observability-mcp the official server?
observability-mcp is a community project by ThoTischner, not verified by a company domain.
Is observability-mcp free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is observability-mcp safe to use?
It scores 79 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to observability-mcp?
Similar MCP servers: Azure MCP Server, openstatus, SmartBear MCP, Fettle.
Does observability-mcp work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
