PulseTone-95: GhostLine
Provides caregiver paging via Motorola POCSAG alphanumeric pager telemetry, including urgent 2400 Hz alert chirps and capcode-style messages.
Enables autonomous prescription refills and family-wallet settlements through PayPal Vault, with under-$50 purchases settled automatically and over-$50 purchases escalated to a caregiver via pager or invoice.
Provides a SQLite WAL-backed clinical-financial ledger for persisting dose logs, vitals, prescription safety checks, refill settlements, and caregiver escalation records.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PulseTone-95: GhostLinelog my 2pm dose and page Sarah if it interacts with warfarin"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π PulseTone-95: GhostLine
Resurrecting 1995 ITU-T Q.23 DTMF Landline Signaling & Motorola POCSAG Pager Telemetry for Autonomous Agentic Healthcare
Kiroween 2026 Hackathon β Track: Resurrection
Best Kiro Crew App Bonus Contender
β‘ What Dead Tech Was Resurrected & Why?
The Dead Tech
1995 ITU-T Q.23 Touch-Tone DTMF Signaling: The iconic dual-frequency matrix signaling standard (
697β941 Hzlow group $\times$1209β1633 Hzhigh group) that powered Bell System landline telephones throughout the late 20th century.1995 Motorola POCSAG Alphanumeric Pagers: The 1200-baud radiopaging protocol radiating compact capcode messages (
[CAP:0995-MED]) and piercing 2400 Hz acoustic chirps that kept on-call physicians and emergency responders connected prior to mobile internet.
Why Resurrect It in 2026?
Modern smartphone healthcare apps fail the patients who need them most:
Eleanor Vance (Age 78) suffers from advanced Parkinsonβs disease with resting intention tremors and macular degeneration. She cannot reliably tap tiny capacitive glass buttons, dismiss iOS permission modals, or navigate multi-factor authentication (2FA) SMS codes.
However, Eleanor possesses 50+ years of physical landline telephone muscle memory. She knows the tactile geometry of a 12-key telephone keypad by heart.
PulseTone-95: GhostLine resurrects 1995 landline DTMF macros (
1#,2#,3#,0#,9#) and Motorola POCSAG pager telemetry as the primary physical control surface for an autonomous Model Context Protocol (MCP) healthcare and commerce engine.Behind the scenes, dual-frequency sine waves synthesized mathematically via the browser's native Web Audio API trigger real-time AI agents that log doses, audit prescriptions against the 2023 AGS Beers Criteria, settle autonomous refills via PayPal Vault, and page her daughter Sarah Connor when clinical intervention is required.
Related MCP server: CareCircle MCP Server
ποΈ End-to-End System Architecture
+---------------------------------------------------------------------------------------+
| Next.js 15 Client Interface |
| |
| +--------------------------------+ +----------------------------------------+ |
| | 1995 ITU-T Q.23 DTMF Pad | | 1995 Motorola POCSAG Pager LCD | |
| | - Pure Web Audio OscillatorDSP | | - 2400 Hz Quad-Chirp Synthesizer | |
| | - Exact Dual-Tone Synthesis | | - 1200-Baud Alphanumeric Frame Stream | |
| | - Senior Muscle-Memory Macros | | - Real-time Carrier & Frequency Readout| |
| +--------------------------------+ +----------------------------------------+ |
| \ / |
| v v |
| AG Grid v36 Clinical-Financial Ledger |
+------------------------------------------+--------------------------------------------+
| HTTP JSON / SSE Turn Stream
v
+---------------------------------------------------------------------------------------+
| Node.js 22 MCP Server (`backend-mcp`) |
| |
| +-------------------------------+ +---------------------------------------+ |
| | /api/agent/turn Engine | <-----> | ITU-T Q.23 Decoding & Telemetry | |
| +-------------------------------+ +---------------------------------------+ |
| | | |
| v v |
| +-------------------------------+ +---------------------------------------+ |
| | 2023 AGS Beers Criteria Safe | | Autonomous Family Wallet ($50 Cap) | |
| | Drug Interaction Checker | | - Under $50: PayPal Vault Settlement | |
| | (Warfarin, Aspirin, Diazepam)| | - Over $50: Caregiver Pager / Invoice | |
| +-------------------------------+ +---------------------------------------+ |
| | | |
| +-----------------------+----------------------+ |
| v |
| +-----------------------------------------+ |
| | SQLite WAL Clinical-Financial Store | |
| +-----------------------------------------+ |
+---------------------------------------------------------------------------------------+ποΈ 1995 DTMF Macro Reference & Audio Signal Processing
All telecom signaling in PulseTone-95 is synthesized purely mathematically using browser AudioContext sine oscillators (zero external MP3/WAV assets, 100% offline resilient, zero copyright liabilities).
$$s(t) = A_1 \sin(2\pi f_{\text{low}} t) + A_2 \sin(2\pi f_{\text{high}} t)$$
DTMF Macro | Low Group ($f_{\text{low}}$) | High Group ($f_{\text{high}}$) | Decoded Intent & MCP Action | Telemetry Payload |
| 697 Hz | 1209 Hz | Log Morning Dose: |
|
| 697 Hz | 1336 Hz | Auto-Refill Rx: |
|
| 697 Hz | 1477 Hz | Log Vitals: |
|
| 941 Hz | 1336 Hz | Beers Safety Check: |
|
| 852 Hz | 1477 Hz | Page Caregiver: | Motorola POCSAG 2400 Hz Alert Chirp |
π 1995 Killer Hardware Subsystems
Live Microphone Acoustic Coupler & 8-Band Goertzel Oscilloscope:
Real-time acoustic reception via
navigator.mediaDevices.getUserMediaand Web AudioAnalyserNode(fftSize = 4096, $\approx 10.77\text{ Hz}$ bin resolution).Live spectrum visualizer monitoring 4 row frequencies ($697, 770, 852, 941\text{ Hz}$) and 4 column frequencies ($1209, 1336, 1477, 1633\text{ Hz}$) with active SNR meter and Goertzel tone lock.
Allows users to play physical DTMF phone tones or sound clips into the laptop microphone to automatically drive MCP clinical & commerce actions!
PSTN Landline 300Hzβ3400Hz Voice Filter & Mechanical Relay Clicks:
Native Web Audio biquad filter chain (Highpass $300\text{ Hz}$ + Lowpass $3400\text{ Hz}$) recreating authentic plain old telephone service (POTS) copper wire voice frequency response.
Synthesizes realistic 1995 Bell System handset plunger relay clicks ($15\text{ ms}$ noise burst + $180\text{ Hz} / 120\text{ Hz}$ resonant thud) on off-hook and on-hook events.
1995 Pharmacy Thermal Fax Receipt Drawer (ITU-T T.30):
Synthesizes authentic pharmacy thermal fax paper-feed stepper motor acoustics ($28\text{ Hz}$ pulsed white noise through an $1800\text{ Hz}$ bandpass filter + $1400\text{ Hz}$ completion beep).
Renders a collapsible 200 DPI monospaced thermal fax slip complete with Beers Criteria safety clearance and autonomous PayPal Vault settlement proof.
π How We Used Kiro (Kiroween 2026 Technical Write-Up)
Kiroween 2026 evaluates projects across 8 technical dimensions. Below is the detailed breakdown of how Kiro powered the resurrection of PulseTone-95:
1. Kiro IDE, CLI & Kiro Crew Workflow
We utilized the Kiro toolchain to build and coordinate specialized AI agents that executed our development pipeline with deterministic rigor. The system was structured into multi-workspace configurations (frontend and backend-mcp), leveraging Kiro tasks and background process orchestrators to execute builds, typechecks, and tests concurrently.
2. Custom Agents (/.kiro/agents/kiro-crew.json)
For the Best Kiro Crew App bonus prize, we configured a specialized 3-agent Kiro Crew:
telecom-dsp-architect: Specialized in 1990s telephony DSP, Goertzel filter calculations, and ITU-T Q.23 frequency synthesis using Web Audio API without third-party audio dependencies.geriatric-beers-auditor: Pharmacological specialist enforcing the 2023 American Geriatrics Society (AGS) Beers Criteria knowledge base across 20 clinical interaction rules.mcp-commerce-orchestrator: Healthcare financial logic agent managing PayPal Vault 1-click settlements, caregiver escrow invoicing, and SQLite WAL ledger persistence.
3. Agent Hooks (/.kiro/hooks/)
We deployed automated Kiro Agent Hooks to protect clinical and schema invariants:
clinical-pbt-guard.json: Triggersnpm run test --workspace=backend-mcpon file save whenever files inbackend-mcp/src/services/are edited, ensuring no clinical rule can drift.mcp-schema-sync.json: Validates tool definitions against Model Context Protocol standards whenever files inbackend-mcp/src/tools/orserver.tschange.
4. Spec-Driven Development (/.kiro/specs/) vs. Vibe Coding
Rather than unbounded "vibe coding", the entire resurrection was executed against formal specifications in /.kiro/specs/dtmf-pocsag-resurrection/:
requirements.md: Authored in Easy Approach to Requirements Syntax (EARS) format (WHEN [trigger] THE SYSTEM SHALL [response]) defining strict behavioral criteria.design.md: Mathematical formulation of ITU-T dual-sine wave generation and POCSAG alphanumeric telemetry frames.tasks.md: Execution-constrained, verifiable implementation checklist mapped to automated test suites.
5. Steering Docs (/.kiro/steering/)
Persistent steering directives guided every architectural choice:
product.md: Anchored development around Eleanor Vance (78, Parkinson's) and Sarah Connor (caregiver), enforcing 0-frustration landline muscle memory interfaces.tech.md: Mandated pure mathematical DSP in Web Audio API with zero copyrighted sound files.clinical-and-ui-guardrails.md: Strictly locked the existing visual styling, color palette, and typography of PulseTone-95: GhostLine while enforcing the $50 autonomous wallet cap.
6. Model Context Protocol (MCP) Server Architecture
The Node.js 22 MCP server implements the complete tri-pillar specification:
Tools:
orderRefill(PayPal Vault),checkDrugInteractions(Beers Criteria),logDoseStatus,recordVitals,clinicalAdvisor.Resources: Streamable JSON resources (
pulsetone95://patient/eleanor-vance/adherence-30d,pulsetone95://clinical/prescriptions/active).Prompts: Standardized clinical negotiation and emergency escalation prompt templates.
7. Property-Based Testing (PBT) Invariants & Edge Cases Caught
Using fast-check in backend-mcp/tests/kiroweenPbt.test.ts, we verified 4 core invariants with 100+ random iterations per property:
Property 1 (DTMF Frequency Determinism & Noise Rejection):
Edge Case Caught by PBT: Fast-check discovered that a $-8.1%$ frequency perturbation on digit
'0'($941\text{ Hz} \times (1 - 0.081) \approx 864.7\text{ Hz}$) inadvertently collided with the upper tolerance window of digit'8'($852\text{ Hz} \times 1.015 = 864.78\text{ Hz}$), since both digits share the identical column frequency ($1336\text{ Hz}$). PBT led us to implement exact inter-tone guard band verification ($+2%$ to $+6%$) to guarantee line noise rejection.
Property 2 (2023 AGS Beers Criteria Safety Invariant):
Proved that arbitrary casing (
wArFaRiN,aSpIrIn), leading/trailing whitespace, and dosage variations NEVER bypass detection. Proved that high-risk benzodiazepines (Diazepam) are strictly flagged asAVOIDin seniors.
Property 3 (Autonomous Family Wallet $50 Cap Invariant):
Proved that for any refill price $P \in [$0.01, $500.00]$ and current spend $S \in [$0.00, $50.00]$, autonomous Vault capture is permitted IF AND ONLY IF $S + P \le $50.00$; any transaction over $$50.00$ escalates to a caregiver invoice and POCSAG alert.
Property 4 (Goertzel / FFT Spectral Bin Orthogonality at 44.1kHz & 48kHz):
Proved that all 8 ITU-T Q.23 DTMF tones ($697, 770, 852, 941, 1209, 1336, 1477, 1633\text{ Hz}$) map to strictly unique FFT bins with a minimum separation of $\ge 6$ bins across both $44.1\text{ kHz}$ and $48\text{ kHz}$ audio sample rates with up to $\pm 1.5%$ frequency drift.
8. Kiro Powers & Bundled Best Practices
We utilized Kiro Powers to enforce zero-trust security (preventing accidental credential leaks), maintain ACID compliance across SQLite WAL transactions, and ensure full WCAG AAA contrast accessibility for geriatric usability.
π§ͺ Test Verification Suite
All 109 Vitest tests (98 original regression tests + 11 Property-Based Tests) pass with 100% success:
β tests/kiroweenPbt.test.ts (11 tests)
β Property 1: ITU-T Q.23 DTMF Encoding/Decoding Determinism & Noise Rejection (4 tests)
β proves bijectivity: for any sequence of valid DTMF digits, encoding and decoding returns exact sequence without collision
β proves noise tolerance within +/- 1.2% in-band jitter: decoding remains 100% deterministic
β proves out-of-band rejection: frequencies in inter-tone guard band (+2% to +6%) are rejected as line noise
β proves that any frequency deviation outside +/- 1.5% never decodes to the original digit
β Property 2: 2023 AGS Beers Criteria Clinical Safety Invariants (3 tests)
β proves Warfarin + Aspirin always triggers a CRITICAL bleeding warning across arbitrary casing and whitespace
β proves Lisinopril + Potassium always triggers a HIGH hyperkalemia warning across arbitrary casing and whitespace
β proves Diazepam (high-risk benzodiazepine) in geriatric patients is NEVER silently approved
β Property 3: Autonomous Family Wallet $50.00 Spending Cap Invariant (2 tests)
β proves autonomous Vault capture is permitted IF AND ONLY IF S + P <= $50.00
β proves exact boundary condition at $50.00 threshold
β Property 4: ITU-T Q.23 Goertzel / FFT Spectral Bin Orthogonality (44.1kHz & 48kHz) (2 tests)
β proves that all 8 DTMF tones map to mutually orthogonal FFT bins with zero collision and min separation >= 6 bins
β proves frequency deviation up to +/-1.5% maintains bin separation without collision
β tests/tools.test.ts (14 tests)
β tests/agenticCommerce.test.ts (7 tests)
β tests/agentTurn.test.ts (13 tests)
β tests/mcpPrimitives.test.ts (10 tests)
β tests/bedrockEnterprise.test.ts (22 tests)
β tests/scheduleAndTemporal.test.ts (6 tests)
β tests/medicineCrud.test.ts (3 tests)
β tests/paypalService.test.ts (11 tests)
β tests/authMultiUser.test.ts (6 tests)
Test Files 10 passed (10)
Tests 109 passed (109)π Quickstart & Reproduction
Prerequisites
Node.js 22+
npm 10+
Installation & Test Execution
# 1. Clone repository
git clone <repo-url>
cd PulseTone-MD
# 2. Install dependencies
npm install
# 3. Run complete test suite (Vitest + Fast-Check PBT)
npm run test --workspace=backend-mcp
# 4. Typecheck frontend
npx tsc --noEmit --project frontend/tsconfig.json
# 5. Launch application
npm run devOpen http://localhost:3000 in your browser. Tap [1#], [2#], or [9#] to experience 1995 ITU-T Q.23 dual-tone synthesis and watch the autonomous MCP healthcare agent respond!
This server cannot be deployed
Maintenance
Related MCP Connectors
Phone, SMS and email for AI agents. One remote MCP endpoint, OAuth login, zero install.
Give any AI agent a phone: make and answer calls, get through phone menus, and send texts.
Give AI agents a phone layer for consent-based calls, transcripts, summaries, and outcomes.
Give your AI agent a phone: place calls, navigate IVRs, wait on hold, get structured answers.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables eldercare coordination through medication reminders with safety guardrails, daily voice check-ins with symptom escalation, and a family caregiver dashboard.8MIT
- AlicenseNot gradedqualityBmaintenanceEnables older adults to log medication doses by voice, receive double-dose and safety alerts, record mood check-ins, request help, and exchange family messages, while giving caregivers multilingual AI digests, adherence reports, refill forecasts, and proactive notifications.MIT
- AlicenseNot gradedqualityCmaintenanceEnables older adults to manage their medicines by voice β adding prescriptions, hearing what is due, logging doses and symptoms, and getting refill and adherence reports β with built-in double-dose and emergency safeguards. It also keeps distant family informed through Bedrock-written daily summaries and SMS or email alerts for urgent events.MIT
- AlicenseNot gradedqualityBmaintenanceEnables families to care for an aging parent by voice, handling medication check-ins, appointments, daily summaries, missed-dose escalation, and parent-controlled sharing. Writes are tiered and confirmed by the user through MCP elicitation, and each session exposes only the tools of the caller's role.3 npmMIT