Skip to content

Get told when your site goes down, set up from your AI assistant

Ask your assistant to watch your site or API. ClickRuntime requests it on a schedule, checks the status code, response time and a word that should be on the page, and alerts you once when it's down and once when it's back.

Your assistantClickRuntime connected
Create a ClickRuntime automation: every 5 minutes, check https://app.example.com/health. If it fails twice in a row, post to #ops in Slack. Tell us when it's back.
I'll check the health endpoint every 5 minutes, alert #ops after two failures in a row and post again when it recovers.
App uptime checkLive
When
Every 5 minutes
Uses
app.example.com, Slack #ops
RunsClickRuntime dashboard
  • 09:35✓ App uptime check · SucceededLast run09:35 · 200 in 182 ms

Can ChatGPT or Claude tell me when my website is down?

Not on their own: they only check when you ask, and they can't message you at night. With ClickRuntime connected, your assistant sets up a check that requests your site every 5 minutes or slower, counts failures in a row and alerts you in Slack or by email, then again when it recovers.

Why the assistant can’t do this on its own

  • Downtime happens when nobody is chatting. A check has to run on a timer, outside the conversation.
  • One failed request is often a blip. Alerting after two or three failures in a row needs a count kept between checks, which a chat doesn't have.
  • “It's back up” needs to know it was down. The automation's state holds that.

Set it up from your AI assistant

The same steps work in ChatGPT, Claude, Cursor and any assistant that supports MCP connectors.

  1. Step 1Connect ClickRuntime to your assistantAdd ClickRuntime as a connector (MCP server) in ChatGPT, Claude, Cursor or another MCP client, using https://clickruntime.com/api/mcp. You sign in with Google or email; there is no API key to copy. This is done once per assistant.
  2. Step 2Paste the promptStart a new chat and paste: “Create a ClickRuntime automation: every 5 minutes, check https://app.example.com/health. It's down if the status isn't 200, it takes longer than 5 seconds, or the body doesn't contain "ok". After 2 failures in a row post to #ops in Slack, and post again when it's back up with how long it was down.” Change the details (times, channels, addresses) to yours.
  3. Step 3Read the draftThe assistant restates what will happen, asks for anything missing, such as your timezone or which channel to post to, and saves a draft automation. A draft never runs on its own, so nothing happens until you agree.
  4. Step 4Connect accounts and save keysAlerts to Slack use the workspace notifications Slack: the assistant gives you a link to connect it once in the ClickRuntime dashboard and asks for the channel. Email alerts need nothing. If the endpoint needs a token, save it as a secret in the ClickRuntime dashboard.
  5. Step 5Test itThe assistant runs it once and shows the status and response time. To see an alert without real downtime, it can run a test against a URL that returns an error, then switch back.
  6. Step 6Turn it onThe assistant tells you what will run, when, and which services it will contact, then asks your permission to turn it on. From then on it runs on ClickRuntime's servers, and you can close the chat.
  7. Step 7Check it in the ClickRuntime dashboardEach run shows the status code and time, for example “200 in 182 ms”. Failed checks show the reason. State holds the failure count and when the outage started. The run history doubles as a simple uptime log.
Prompt to copy.txt

“Create a ClickRuntime automation: every 5 minutes, check https://app.example.com/health. It's down if the status isn't 200, it takes longer than 5 seconds, or the body doesn't contain "ok". After 2 failures in a row post to #ops in Slack, and post again when it's back up with how long it was down.”

Connector setup for each assistant: ChatGPT, Claude, Claude Code, Cursor, and other assistants.

What the assistant writes

A typical script for this job. Yours matches your pages, accounts and wording, and you can read every version in the ClickRuntime dashboard.

uptime_check.pyexample
1import time
2from datetime import datetime, timezone
3from clickruntime import on_trigger, state, notify, http, log
4 
5URL = "https://app.example.com/health"
6MUST_CONTAIN = "ok"
7TIMEOUT = 5
8FAILS_BEFORE_ALERT = 2
9CHANNEL = "#ops"
10 
11def check():
12start = time.monotonic()
13try:
14r = http.get(URL, timeout=TIMEOUT)
15except Exception as e:
16return False, f"no response ({type(e).__name__})", None
17ms = int((time.monotonic() - start) * 1000)
18if r.status_code != 200:
19return False, f"status {r.status_code}", ms
20if MUST_CONTAIN not in r.text:
21return False, f"'{MUST_CONTAIN}' missing from body", ms
22return True, f"200 in {ms} ms", ms
23 
24@on_trigger
25def run(event):
26ok, detail, ms = check()
27fails = state.get("fails") or 0
28down_since = state.get("down_since")
29now = datetime.now(timezone.utc)
30 
31if ok:
32if down_since:
33minutes = int((now - datetime.fromisoformat(down_since)).total_seconds() // 60)
34notify.slack(f"{URL} is back up after about {minutes} min ({detail}).", channel=CHANNEL)
35state.set("fails", 0)
36state.set("down_since", None)
37state.increment_metric("checks_ok", ttl_days=30, bucket="day")
38return {"summary": detail}
39 
40fails += 1
41state.set("fails", fails)
42state.increment_metric("checks_failed", ttl_days=30, bucket="day")
43log.warning("Check failed", {"detail": detail, "fails": fails})
44if fails == FAILS_BEFORE_ALERT:
45state.set("down_since", now.isoformat())
46notify.slack(f"{URL} looks down: {detail}. Failed {fails} checks in a row.", channel=CHANNEL)
47return {"summary": f"failed: {detail}", "fails": fails}
  • Status, time and body are checked with plain code, so no AI tokens are used.
  • The failure counter in state stops one-off blips from alerting anyone.
  • One alert per outage and one when it recovers, because the outage start is kept in state.
  • Daily counters of good and failed checks let a weekly report work out uptime later.

A schedule, not a trigger link

Use a schedule, every 5 minutes for production sites. That is the shortest interval, so this suits knowing within about 10 minutes rather than second-by-second paging.

Each check is one run: every 5 minutes is about 8,640 runs a month, so pick a plan that covers it, or check every 30 minutes for a side project.

Limits

  • The shortest interval is every 5 minutes, and checks come from ClickRuntime's servers in one region.
  • Only HTTPS on port 443. Ping, other TCP ports and plain HTTP aren't available.
  • This is a check you own and can extend, not a status page or on-call rota. For paging with escalation, have the automation call your incident tool's API.

Troubleshooting

It alerts but the site looks fine to me.

Read the failed run's reason. A response slower than the timeout, or a firewall that blocks cloud addresses, are common. Ask your assistant to raise the timeout, or allow the request on your side.

Alerts don't reach Slack.

The run fails with a notify error when the notifications Slack isn't connected or no channel was set. Connect it in the ClickRuntime dashboard and invite the app to the channel.

Can it check several URLs?

Yes, one automation can loop over a list and keep a counter for each. Ask your assistant to add them.

What you can add next

The first version is rarely the last. Because the automation is a Python script with memory, AI and any API available, you grow it by asking your assistant for the change. Each change is a new version, and a failed deploy never replaces the working one.

  • Multi-step logic

    Check your site, API and checkout page in one automation

    “Change my uptime check so it also checks https://api.example.com/health and https://example.com/checkout, and names which one failed.”
  • Memory between runs

    A weekly uptime report from the daily counters

    “Add to my uptime check: every Monday at 9, email me last week's uptime percentage per day.”
  • Any app or API

    Open an incident in Linear when the site stays down

    “Add to my uptime check: if it's still down after 15 minutes, create an urgent issue in Linear with the failure details.”
  • Any app or API

    Text the on-call phone through Twilio

    “Change my uptime check so it also sends an SMS through Twilio to our on-call number when the site goes down.”
  • Built-in AI

    Explain the error page in plain words in the alert

    “Change my uptime check so when it gets an error page, it adds a one-line plain explanation of the error to the alert.”
  • Trigger links

    Let deploys mute the alerts for a few minutes

    “Add a trigger link to my uptime check that our deploy script calls to mute alerts for 10 minutes during a deploy.”
  • Schedules

    Check SSL expiry once a day alongside uptime

    “Add to my uptime check: once a day at 8, check the SSL certificate and alert #ops if it expires within 14 days.”

Can ChatGPT monitor my website's uptime?

Not on its own, because it acts only while you chat. With ClickRuntime connected, ChatGPT sets up a check that runs every 5 minutes or slower and alerts you in Slack or by email.

Can Claude check if my site is down?

Yes, through ClickRuntime. Claude writes the check and turns it on; it keeps running on ClickRuntime's servers after the chat is closed.

How quickly will I know?

With checks every 5 minutes and an alert after two failures, usually within about 10 minutes.

Does it replace a dedicated uptime service?

For a few sites and simple rules, often yes. Dedicated services check from many regions and run status pages; ClickRuntime is for checks with your own logic, such as reading a page's content or opening a ticket.

How many runs does it use?

One per check: about 8,640 a month at every 5 minutes, or 1,440 at every 30 minutes.

What can I add later?

More URLs, an incident ticket, SMS, a weekly uptime report or an SSL check. See the Extend it list.

Other use cases

Set up your first automation in ChatGPT or Claude

Free plan. No credit card.

Server URLhttps://clickruntime.com/api/mcp