# Better Stack MCP

Connects AI assistants to Better Stack Uptime via an offline SQLite cache. It helps inspect outages and detect gaps in on-call schedules directly inside chat.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed · ★ 63
- Author: Servosity
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Servosity/msp-skills/tree/HEAD/skills/betterstack
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/better-stack-mcp

## What it does

This server connects your AI agent to Better Stack Uptime and maintains an offline SQLite copy of fleet metrics. It answers cross-resource questions that the raw API cannot handle alone, such as locating unassigned on-call shifts or tracking flapping monitors.

The package bundles the `betterstack-cli` binary together with the `betterstack-mcp` server. Your agent interacts with these executables locally through the stdio transport.

Do not run the HTTP mode with `--transport http`. That mode lacks authentication and listens on every network interface. Stdio transport remains the only safe operational choice.

## Requirements
- Environment variables: `BETTERSTACK_API_TOKEN`, `BETTERSTACK_BASE_URL` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- Track ongoing service outages and notify active on-call staff
- Detect unmonitored infrastructure assets and missing shift coverage
- Calculate incident response metrics such as MTTA and MTTR from local mirrors
- Pinpoint flapping status alerts and outdated status-page entries

## Example prompts
- Check Better Stack to see which endpoints are down and who was paged
- Query the local SQLite mirror to compute our average MTTR for this week
- Audit the on-call rota for next weekend and highlight unassigned shifts

## Similar
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33989
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81163
- [Oh My Posh Validator](https://affpapa.org/en/nevibecode/mcp/oh-my-posh-validator.md) — MCP server · ★ 23654
- [Keploy](https://affpapa.org/en/nevibecode/mcp/keploy.md) — MCP server · ★ 18779
- [Coder](https://affpapa.org/en/nevibecode/mcp/coder.md) — MCP server · ★ 17191
- [mcp](https://affpapa.org/en/nevibecode/mcp/kubeshark-mcp.md) — MCP server · ★ 12110

From the same set: [servosity/msp-skills](https://affpapa.org/en/nevibecode/by/servosity/msp-skills.md) — 73 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
