Skip to main content

mc-pulse

Official docs and the hosted API run from https://mc-pulse.vercel.app/ (no ports). The content here mirrors the same API surface while walking you through the self-hosted workflow.

mc-pulse is a lightweight Minecraft server status API with webhook fan-out. It can ping Java and Bedrock servers, cache responses in Redis, persist snapshots in Postgres, and notify your webhooks with the latest status.

Why mc-pulse?

  • One endpoint for both Java and Bedrock pings.
  • Redis-backed caching for Java lookups keeps latency low.
  • Postgres storage via Prisma tracks server history and webhooks.
  • API keys and webhook delivery out of the box; bring your own clients.

How it works (at a glance)

  1. Requests hit /api/status (or /api/status/{type}) with host/port inputs.
  2. Java pings are cached in Redis for CACHE_TTL_SECONDS; Bedrock bypasses cache.
  3. Each lookup upserts the server record and stores a snapshot in Postgres.
  4. /api/notify reuses the same status payload and POSTs it to every webhook tied to the provided API key.

Jump in

Docs map