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)
- Requests hit
/api/status(or/api/status/{type}) with host/port inputs. - Java pings are cached in Redis for
CACHE_TTL_SECONDS; Bedrock bypasses cache. - Each lookup upserts the server record and stores a snapshot in Postgres.
/api/notifyreuses the same status payload and POSTs it to every webhook tied to the provided API key.
Jump in
- Start with the hosted API walkthrough in Getting started.
- Ready to self-host? Follow the deployment steps in Deploying on your own.
- Call the API using the ready-to-copy curl snippets in the API reference.
- Wire up alerts for your community or dashboards with the webhooks guide.
Docs map
- Download & install: grab the code, set env vars, and generate Prisma.
- Getting started: quick API and webhook smoke tests.
- API reference and webhooks: request shapes and delivery flows.
- Deployment: production checklists, systemd, Docker, and environment guidance.