healthchecks-mcp
An MCP server for Healthchecks.io that lets clients inspect scheduled-job health and manage checks, with safe read/write controls.
List and inspect checks, including by tag, slug, or status, and fetch full details by UUID or read-only
unique_key.Read recent pings and retrieve ping bodies/output to diagnose failed jobs (requires a read-write API key).
View check status flips, notification integrations, project/tag badge URLs, instance status, and API-key capabilities.
Create and update checks: schedules or timeouts, grace periods, tags, notification channels, and ping keyword filters.
Pause and resume checks; delete checks via a two-step confirmation token or client approval dialog.
Restrict tool exposure with read-only mode or allow/deny tool filters, and use hosted or self-hosted Healthchecks instances.
Never ping checks, preventing a model from falsely marking a dead job as healthy.
healthchecks-mcp
A Model Context Protocol (MCP) server for Healthchecks, the dead man's switch for cron jobs and scheduled tasks — it alerts you when a job stops checking in. Works against the hosted service and against a self-hosted instance alike.
Lets MCP clients like Claude Code, Claude Desktop or Codex see which scheduled jobs are healthy, read the output the failing one reported, and create or adjust checks — with the irreversible operations behind a confirmation token and the write tools switchable off entirely.
Fourteen tools is the ceiling, not the floor:
HEALTHCHECKS_ALLOW_TOOLS=essential registers a curated seven instead, and a
model picks the right tool far more reliably from seven than from fourteen — see
choosing which tools load.

What makes it different
It reads the ping bodies. get_ping_body returns what a job actually printed
when it reported failure. Every other question — which check is down, since when,
how often — is one step away from that one, and it is the endpoint the other
Healthchecks MCP servers leave out.
Read-only API keys work properly. Healthchecks hands a read-only key a
different object: no uuid, no ping_url, no channels — a 40-character
unique_key instead. This server addresses checks by either, and
get_api_key_info tells you up front which kind of key you configured and which
tools it cannot reach, rather than leaving you with a 401 missing api key for a
key that was sent.
It never pings a check. Pinging is how a job reports that it ran. A tool that could ping would let a model make a dead job look alive, which is the one thing monitoring must not allow — see Not exposed, on purpose.
It knows where this API is sharp. timeout and schedule cannot be combined
because the upstream silently discards one of them; tags are validated against
their space separator and keywords against their comma; a new check is given
every integration unless you say otherwise, because the API's own default is a
check that alerts nobody.
Related MCP server: uptrack-mcp
Requirements
Node.js ≥ 24
A Healthchecks project API key — Project Settings → API Access. Keys are per project, not per account, and are exactly 32 characters long.
Configuration
Variable | Required | Description |
| yes | Project API key. A read-only key works for part of the tool surface — see below |
| no | Site root of a self-hosted instance, e.g. |
| no |
|
| no | Comma-separated tool names, |
| no | Same syntax; removed from whatever |
| no |
|
| no |
|
HEALTHCHECKS_URL is the site root, not the API root: https://hc.example.net,
not https://hc.example.net/api/v3. Both are accepted — the suffix is trimmed —
because the API documentation spells every example the long way.
Use
https://. Over plain http the API key travels unencrypted; the server prints a warning unless the host is local. For self-signed certificates prefer a proper internal CA overHEALTHCHECKS_INSECURE_TLS.
Without an API key the server still starts and lists its tools (so registries and
inspectors can introspect it), but every call except get_status fails with setup
instructions instead of reaching the API.
Read-only keys. Healthchecks gates three tools that only read — list_pings,
get_ping_body and list_integrations — behind a read-write key anyway. With a
read-only key those fail, along with all five write tools.
The failure does not look like a permission problem: the API answers
401 {"error": "wrong api key"}, which reads as if the key were wrong or
missing. It is not — those three tools translate it into what actually happened.
get_api_key_info reports which kind of key is configured, and
HEALTHCHECKS_DENY_TOOLS is the tidy way to stop offering them at all.
Choosing which tools load
HEALTHCHECKS_ALLOW_TOOLS and HEALTHCHECKS_DENY_TOOLS take comma-separated tool
names; a trailing * matches a whole family. essential is a curated preset —
list_checks, get_check, list_pings, list_flips, create_check,
update_check and resume_check — marked as such in the
tool reference.
HEALTHCHECKS_ALLOW_TOOLS=essential
HEALTHCHECKS_ALLOW_TOOLS=list_*,get_check
HEALTHCHECKS_DENY_TOOLS=delete_check,pause_checkAn entry that matches no tool aborts startup and names it, so a typo cannot silently
hide a tool — an absent tool is not something anyone traces back to an environment
variable. A filtered tool is never registered, so it is absent from tools/list and
unknown to tools/call alike, exactly like a write tool under
HEALTHCHECKS_READ_ONLY.
If you run several of these servers at once, mcp-hub is
the other answer — its /hub endpoint replaces every server's tools with six
meta-tools.
Installation
Claude Code
claude mcp add healthchecks-mcp -- npx -y healthchecks-mcpClaude Desktop
{
"mcpServers": {
"healthchecks-mcp": {
"command": "npx",
"args": ["-y", "healthchecks-mcp"],
"env": {
"HEALTHCHECKS_API_KEY": "…"
}
}
}
}Codex
[mcp_servers.healthchecks-mcp]
command = "npx"
args = ["-y", "healthchecks-mcp"]
env = { HEALTHCHECKS_API_KEY = "…" }Docker
docker run --rm -i \
-e HEALTHCHECKS_API_KEY=… \
ghcr.io/ni-c/healthchecks-mcpAdd -e HEALTHCHECKS_URL=https://hc.example.net for a self-hosted instance.
Through mcp-hub
A client that cannot spawn a local process — ChatGPT connectors, Claude on the web,
Cursor, LibreChat — reaches healthchecks-mcp through mcp-hub: one
container serves many stdio MCP servers over Streamable HTTP, with an OAuth 2.1 login
behind a single password and long-lived tokens for the clients that cannot do OAuth. Its
/hub endpoint puts every server behind six meta-tools, so one connector reaches all of
them without N×tool schemas in the model's context, and it speaks both protocol revisions
— a question this server asks travels through it to the person at the far end.
Its /config/mcp.json uses Claude Code's format, so the entry is the one you already
have:
{
"mcpServers": {
"healthchecks-mcp": {
"command": "npx",
"args": ["-y", "healthchecks-mcp"],
"env": {
"HEALTHCHECKS_URL": "https://hc.example.net",
"HEALTHCHECKS_API_KEY": "…",
"HEALTHCHECKS_ALLOW_TOOLS": "essential"
},
"denyTools": ["delete_check,pause_check"]
}
}
}allowTools and denyTools there are the hub's own per-server filter, which is not
the same thing as *_ALLOW_TOOLS in env — the difference, and the mistake it invites,
are in the client guide.
Tools
Read tools are always registered. 🔑 marks the ones Healthchecks requires a read-write key for even though they only read; 👤 marks the ones that ask for a confirmation token before acting.
Tool | Description |
| Checks in the project, with |
| One check with every field, by UUID or |
| Recent pings of a check, newest first |
| The body a job POSTed with one ping — its output |
| Up/down transitions of a check, with a time window |
| Notification integrations and the UUIDs the write tools accept |
| Status badge URLs, per tag and for the project |
| Whether the instance is reachable — needs no API key at all |
| Which instance, which kind of key, and what that key cannot do |
Write tools are registered unless HEALTHCHECKS_READ_ONLY=true.
Tool | Description |
| Creates a check. Notifies every integration unless |
| Changes the given fields. |
| Stops the check expecting pings — and alerting. |
| Puts a paused check back into the |
| Deletes a check. The UUID is not recoverable |
Structured output
Every tool declares an outputSchema and answers with structuredContent
alongside the text block, so a client can use the result without parsing prose:
{
"untrusted": true,
"source": "healthchecks",
"checks": [{ "id": "…", "name": "Nightly Backup", "status": "up" }],
"total_in_project": 12,
}Every tool that reports anything from the instance carries untrusted: true
and source: "healthchecks" as fields — a check name, a description and above
all a logged ping body are written by whoever pinged, and a ping URL sits in a
cron job on every monitored host. get_api_key_info is without it, and
get_status carries it only when the instance answered something other than
OK: a plain OK is this server's own sentence, and a marker on everything is
a marker that means nothing.
Fields this server builds are described exactly; a check record is left open,
because normalizeCheck passes through whatever a self-hosted release chose to
add and the SDK validates every result against its schema before it goes out.
Not exposed, on purpose
Pinging. The server never calls a ping URL. Pinging is how a job says it ran; a tool that could ping would let a model — or text a model read — report success for a job that never executed, and a monitoring system that can be talked into a green status is worse than none.
Ping keys. They are not readable through the Management API, and this server does not ask for one.
Creating integrations. The API has no endpoint for it; they are configured in the web UI.
list_integrationsreads them.The
uniqueupsert as a default.create_checkaccepts it and says loudly in its result when it was used, because it turns a create into a silent update of a check that already exists.
Safety
delete_checkasks a person. Where the client supports MCP elicitation it raises a real dialog that the model cannot answer on its behalf; where it does not, it falls back to a short-lived token bound to that exact check and that exact operation, and says so rather than implying somebody approved.pause_checkis deliberately not asked about —resume_checkputs it back and nothing is lost in between, and a dialog in front of a reversible change is how people learn to tick without reading. See Asking a person.Confirmation prompts never quote content from Healthchecks — a check's name and description are free text this server does not control, and that text is read by a model.
Ping bodies and check descriptions are marked as untrusted data, because anything that can ping a check can write into them.
Error bodies are truncated, HTML error pages are dropped, and every response has a byte ceiling enforced while it streams — the Management API paginates nothing.
HEALTHCHECKS_READ_ONLY=truedoes not register the write tools at all, andHEALTHCHECKS_DENY_TOOLScuts finer along the same line — a filtered tool is never built, not refused at call time.The API key is deleted from
process.envonce it has been read, and never travels in a request body.
Documentation
The full guide, tool reference and security notes live at
healthchecks-mcp.ni-c.de (source in docs/).
Development
npm install
npm run lint && npm run build && npm run test:coverageReleasing
Add the CHANGELOG entry and bump
package.json.npm run lint && npm run build && npm run test:coverageCommit, then push a signed tag:
git tag -s vX.Y.Z -m "vX.Y.Z" && git push origin main vX.Y.Z
The release workflow publishes to npm (Trusted Publishing, with provenance), creates the GitHub release from the CHANGELOG section and updates the MCP Registry entry.
Contributing
Issues, discussions and pull requests are welcome — see CONTRIBUTING.md. For vulnerabilities please use private reporting rather than a public issue; the policy is in SECURITY.md.
License
MIT © Willi Thiel
Available Tools
14 toolscreate_checkCreate checkA
Creates a check. Pass either timeout (a simple period) or schedule (a cron or systemd OnCalendar expression), never both. Unless channels says otherwise, the new check notifies every integration in the project ("*"), because a check with no integrations never alerts anyone. Setting unique turns this into an upsert that may UPDATE an existing check.
Inputs: tz, desc, name, slug, +15 more. Returns: note, check, source, untrusted, +1 more
delete_checkDelete checkADestructiveIdempotent
Deletes a check permanently. Its UUID is not recoverable, so every deployed script pinging that URL breaks. Two-step: the first call returns a confirmation token, the second call with that token deletes.
Inputs: check (required), confirm_token. Returns: note, source, deleted, untrusted
get_api_key_infoGet API key infoARead-onlyIdempotent
Reports which instance is configured, whether the API key works, and whether it is a read-only or a read-write key — which decides whether list_pings, get_ping_body and list_integrations can be used at all, and whether checks are identified by uuid or by unique_key.
Inputs: no named parameters. Returns: kind, note, error, api_key, +7 more
get_checkGet checkARead-onlyIdempotent
Fetches one check with all its fields, including the description and the keyword filters. Accepts a UUID, or the unique_key that a read-only API key returns in place of one.
Inputs: check (required). Returns: id, desc, name, tags, +6 more
get_ping_bodyGet ping bodyARead-onlyIdempotent
Returns the body that was POSTed with one ping — usually the output of the job that reported in, which is the fastest way to see why a check failed. Truncated at 64 KB. Note: Healthchecks requires a read-write API key for this endpoint even though it only reads. A read-only key is refused with HTTP 401 "wrong api key", which is not what it sounds like. Call get_api_key_info to check which kind is configured.
With a read-only key this tool cannot even be called correctly: it addresses a check by uuid, and a read-only key never sees one — list_checks answers with a 40-character unique_key instead. So the refusal you get first is about the argument, not the key. Neither is a mistake to fix: with a read-only key this endpoint is out of reach, and there is nothing to pass that would change it.
Inputs: n (required), check (required). Returns: body, ping, check, empty, +4 more
get_statusGet instance statusARead-onlyIdempotent
Checks that the configured Healthchecks instance is reachable and its database is answering. Needs no API key, so it is the tool to try first when something is not working.
Inputs: no named parameters. Returns: ok, answer, source, instance, +2 more
list_badgesList badgesARead-onlyIdempotent
Lists the status badge URLs of the project, one entry per tag plus "*" for the project as a whole. The plain variants treat a check in its grace period as up; the ones suffixed 3 report up, late and down separately.
Inputs: no named parameters. Returns: note, badges, source, untrusted
list_checksList checksARead-onlyIdempotent
Lists the checks in the project the API key belongs to, newest state first. API keys are per project, so this never spans projects. Descriptions are omitted here — call get_check for one.
Inputs: tag, slug, limit, status. Returns: note, checks, source, truncated, +2 more
list_flipsList status flipsARead-onlyIdempotent
Lists the up/down transitions of a check — the history behind its current status. The instance keeps the current month and the two before it. Accepts a UUID or a unique_key.
Inputs: check (required), end, limit, start, +1 more. Returns: note, flips, source, truncated, +2 more
list_integrationsList integrationsARead-onlyIdempotent
Lists the notification integrations of the project, with the UUIDs that create_check and update_check accept in their channels argument. Integrations themselves can only be created in the web UI. Note: Healthchecks requires a read-write API key for this endpoint even though it only reads. A read-only key is refused with HTTP 401 "wrong api key", which is not what it sounds like. Call get_api_key_info to check which kind is configured.
With a read-only key this tool cannot even be called correctly: it addresses a check by uuid, and a read-only key never sees one — list_checks answers with a 40-character unique_key instead. So the refusal you get first is about the argument, not the key. Neither is a mistake to fix: with a read-only key this endpoint is out of reach, and there is nothing to pass that would change it.
Inputs: no named parameters. Returns: note, source, truncated, untrusted, +1 more
list_pingsList pingsARead-onlyIdempotent
Lists recent pings of a check, newest first. The instance caps this at 100 pings on a free plan and 1000 on a paid one, and there is no pagination, so older pings cannot be reached at all. Note: Healthchecks requires a read-write API key for this endpoint even though it only reads. A read-only key is refused with HTTP 401 "wrong api key", which is not what it sounds like. Call get_api_key_info to check which kind is configured.
With a read-only key this tool cannot even be called correctly: it addresses a check by uuid, and a read-only key never sees one — list_checks answers with a 40-character unique_key instead. So the refusal you get first is about the argument, not the key. Neither is a mistake to fix: with a read-only key this endpoint is out of reach, and there is nothing to pass that would change it.
Inputs: check (required), type, limit. Returns: note, pings, source, truncated, +2 more
pause_checkPause checkAIdempotent
Pauses a check: it stops expecting pings and stops alerting. resume_check puts it back, and nothing is lost in between — so this is not asked about. It does mean a job that stops running goes unnoticed while the check is paused.
Inputs: check (required). Returns: note, check, source, untrusted
resume_checkResume checkAIdempotent
Resumes a paused check and puts it back into the "new" state, waiting for its next ping. Fails with HTTP 409 if the check is not paused.
Inputs: check (required). Returns: check, source, untrusted
update_checkUpdate checkADestructiveIdempotent
Updates a check. Fields that are not given stay unchanged. Two exceptions: channels REPLACES the integration list rather than adding to it, and setting schedule on a check that used timeout switches it over. Needs a UUID, which read-only API keys never see.
Inputs: check (required), tz, desc, name, +15 more. Returns: note, check, source, untrusted
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Every tool targets a distinct resource and action: checks, pings, flips, integrations, badges, API key info, and service status are cleanly separated. The only potentially adjacent pair, list_pings and list_flips, is clearly differentiated by description as recent pings versus up/down transitions.
All tools follow a consistent snake_case verb_noun pattern: list_*, get_*, create_*, update_*, delete_*, pause_*, resume_*. The get/list split consistently distinguishes single-resource fetches from multi-item listings.
14 tools is well within the ideal 3-15 range and appropriate for a Healthchecks project management surface. Each tool covers a meaningful API operation without padding or redundant alternatives.
The tool set covers the full check lifecycle: create, read, list, update, pause, resume, delete, plus historical data from pings and flips, integrations, badges, and API key diagnostics. No significant missing operation remains for the stated project-monitoring domain.
Maintenance
Related MCP Connectors
Manage cron/heartbeat checks, read pings and flips, pause/resume/delete on Healthchecks.io.
Pingstack monitors cron jobs and scheduled tasks with heartbeat checks, and checks websites, TCP ports, DNS records, SSL certificates and domain expiry. This MCP server lets your agent create, update, pause and delete checks, build dashboards and publish them as status pages, manage notification groups, and read incidents with their causes, uptime, run history and latency. Pause, delete and unpublish stay off until you turn them on. Browser sign-in, no API key needed.
MCP server for Uptrack uptime monitoring. Manage monitors and incidents from AI agents.
Cron, uptime, DNS, SSL and domain monitoring. Manage checks, dashboards and alerts; read incidents.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for CronAlert uptime monitoring — manage monitors, check results, and incidents from any MCP-compatible AI client.9MIT

uptrack-mcpofficial
AlicenseNot gradedqualityCmaintenanceMCP server for Uptrack uptime monitoring. Manage monitors and incidents from AI agents like Claude, ChatGPT, and Cursor.18 npmMIT- AlicenseAqualityFmaintenanceMCP server for monitoring health of MCP servers, GitHub Actions, GitLab pipelines, and HTTP endpoints with health history, TLS expiry, assertions, diagnostics, and alerts.2297 npm2MIT
- AlicenseAqualityCmaintenanceAn MCP server for the Healthchecks.io API that lets Claude manage checks, channels, badges, and send pings.11102 npmISC