Paw Pulse

com.dougalpawPublished by dougalpaw.comOfficial publisherv0.3.0Updated Oct 26, 2026

Heartbeat and tokens/sec monitoring for self-hosted LLM servers (Ollama etc.), with down alerts.

VerifiedStreamable HTTPWeb executableCloud & InfrastructureSecurity & Monitoring

Overview

AI-generated overview

Remote MCP server for Paw Pulse, a push-based heartbeat and tokens/sec monitor that alerts when a self-hosted LLM box goes down or slows.

What you can do
  • Create anonymous monitors and receive an ingest token and manage token once
  • Read a monitor's current status and list its recent heartbeats
  • Change a monitor's name, grace period, slow threshold, webhook or visibility
  • Permanently delete a monitor and all its heartbeats
  • Get shell commands to install the heartbeat script and run it from cron
When to use it
Useful when you run a self-hosted LLM server (Ollama, llama.cpp, vLLM or any OpenAI-compatible endpoint) or another cron-driven box and want an assistant to set up and manage uptime and throughput monitoring with down or slow alerts, without exposing the machine to inbound connections.
Requirements
A remote Streamable HTTP endpoint; no account or connection auth is needed. Monitors are identified by a random id plus an ingest token and a manage token, which tools that change a monitor take as an argument. The monitored machine runs a small client script from cron, and alerts are delivered to a webhook URL you configure.
Before you install
The ingest token and manage token are returned only once by create_monitor and cannot be recovered, so store them safely; anyone holding the manage token can change or delete the monitor. update_monitor and delete_monitor change or permanently remove data, and deletion cannot be undone. Webhook alerts send monitor name, state and timestamps to the third-party URL you choose.

Installation

In SourceWeft

  1. Open Paw Pulse in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/com.dougalpaw%2Fpawpulse/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "paw-pulse": {
      "type": "http",
      "url": "https://pulse.dougalpaw.com/mcp"
    }
  }
}

README

Paw Pulse

Push-based heartbeat and performance monitor for self-hosted LLM servers (Ollama, llama.cpp, vLLM, anything OpenAI-compatible). Know when your home AI box dies or slows down, without exposing it to the internet.

Live instance: https://pulse.dougalpaw.com

[Demo: Ollama fails, Paw Pulse posts a DOWN alert to Discord, then a recovery]

Built, deployed, and operated by Pup, an AI agent, as part of the Dougal Paw project. No accounts, no IP storage, no personal data: monitors are anonymous, identified only by a random id plus an ingest token and a manage token.

How it works

A tiny client script (pawpulse.sh) runs on the box hosting your LLM server and POSTs a heartbeat out to this service every few minutes. If heartbeats stop arriving within the configured grace period, the monitor flips to down. Your LLM server never accepts an inbound connection.

No LLM on the box? LLM_KIND=none sends a plain heartbeat, so the same alerts work for a NAS, a backup job or any cron task.

On Ollama it can also catch the quiet failures: set slow_tps_threshold to hear when generation crawls, or min_gpu_pct to hear when a model has fallen back from GPU to CPU (the client reads size_vram from /api/ps; needs jq).

Guides:

Stack

  • Cloudflare Workers (free tier) + D1 + Cron Triggers.
  • TypeScript, Hono as a thin router.
  • No other runtime dependencies.

Project layout

src/  index.ts       Hono app: routes, pages, cron entrypoint  service.ts     Business logic shared by REST and MCP  db.ts          D1 queries  state.ts       Pure state-machine logic (unit tested)  validation.ts  Pure input validation (unit tested)  cron.ts        Per-minute sweep: state transitions + alert dispatch  webhook.ts     Outbound alert delivery (Discord-aware, generic JSON fallback)  mcp.ts         Remote MCP server (Streamable HTTP, stateless)  openapi.ts     OpenAPI 3.1 document served at /openapi.json  llms.ts        /llms.txt content  templates.ts   HTML pages (/, /privacy, /s/:id)  badge.ts       Shields-style SVG badge renderer  static/        Served static assets (pawpulse.sh)migrations/      D1 schema (0001_init.sql)test/            node:test unit tests for state.ts and validation.ts

API

See /openapi.json for the full spec and /llms.txt for a terse summary.

  • POST /v1/monitors — create a monitor.
  • POST /v1/monitors/:id/beat — send a heartbeat (Authorization: Bearer <ingest_token>).
  • GET /v1/monitors/:id/status — current state; public monitors need no auth.
  • GET /v1/monitors/:id/heartbeats — recent heartbeats.
  • PATCH / DELETE /v1/monitors/:id — manage/remove (Authorization: Bearer <manage_token>).
  • GET /s/:id — public HTML status page. GET /badge/:id.svg — status badge.
  • GET /pawpulse.sh — the client script.
  • POST /mcp — remote MCP server (see below).

MCP

https://pulse.dougalpaw.com/mcp is a remote MCP server (Streamable HTTP). It is stateless: each POST carries one JSON-RPC message and gets a JSON response, with no sessions and no SSE stream, which the spec allows. It supports protocol versions 2025-06-18, 2025-03-26 and 2024-11-05.

Tools: create_monitor, setup_instructions, get_status, list_heartbeats, update_monitor, delete_monitor. They use the same service layer as the REST API. No auth is needed to connect; tools that change a monitor take its manage_token as an argument.

json
{ "mcpServers": { "pawpulse": { "type": "http", "url": "https://pulse.dougalpaw.com/mcp" } } }

Alerts

Set a monitor's webhook_url and you get a message when it goes down, gets slow or recovers. The format is picked from the URL: Discord, Slack, Microsoft Teams (Workflows), Telegram (https://api.telegram.org/bot<token>/sendMessage?chat_id=<id>) and Google Chat get native messages; any other https URL gets generic JSON (content, text, monitor_name, alert, state, timestamp). Self-hosters can switch all alerts off with ALERTS_ENABLED = "false" in wrangler.toml.

Development

pnpm installnpm test         # unit tests (node:test, no network/D1 needed)npm run typecheck

Deploy

npx wrangler d1 create pawpulse                 # once; copy the database_id into wrangler.tomlnpx wrangler d1 migrations apply pawpulse --remotenpx wrangler deploy

Cron runs every minute (* * * * *) and sweeps monitors for grace-period expiry and slow-tps thresholds, firing at most one webhook per state change and capping outbound webhook fetches per run to stay under the Workers free-tier 50-subrequest limit.

Privacy

See /privacy. No accounts, no cookies, no analytics, no IP logging — anywhere. DELETE /v1/monitors/:id permanently removes a monitor and all its heartbeats.

Licence

MIT. See LICENSE.

Source: README.md at commit f984c2a

Tools

6

create_monitor

Create monitor

Create a new anonymous Paw Pulse monitor. Returns ingest_token and manage_token exactly once — store them, they cannot be recovered.

Parametersnamepublicmin_gpu_pctwebhook_urlgrace_secondsslow_tps_threshold

get_status

Get monitor status

Get the current status of a monitor. Private monitors require manage_token.

Parametersidrequiredmanage_token

list_heartbeats

List recent heartbeats

List recent heartbeats for a monitor (newest first). Private monitors require manage_token.

Parametersidrequiredlimitmanage_token

update_monitor

Update monitor settings

Change a monitor's name, grace period, slow threshold, webhook or visibility. Only the fields you pass change.

Parametersidrequirednamepublicmin_gpu_pctwebhook_urlmanage_tokenrequiredgrace_secondsslow_tps_threshold

delete_monitor

Delete monitor

Permanently delete a monitor and all its heartbeats. Cannot be undone.

Parametersidrequiredmanage_tokenrequired

setup_instructions

Get setup instructions

Shell commands to install the heartbeat script on the box being monitored and run it from cron. Pass the id and ingest_token from create_monitor.

Parametersidrequiredllm_kindingest_tokenrequired

Version history

1
  1. v0.3.0LatestOct 20, 2026

Score

100% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts