WellPulse
AI-powered wellbeing insights with real-time benchmarks and alerts.
Wellness Pulse MCP
Plug your AI into real wellbeing intelligence.
One connection gives your AI credible public benchmarks (CDC PLACES) plus institution-specific wellness signals — trends, snapshots, and alert checks — from your WellPulse data, returned in plain JSON.
Why teams add this
| Instant narrative | Your AI can explain "what changed" without a human analyst |
| Benchmarks that sell | CDC county mental distress context for marketing and reports |
| Institution signals | Daily trends + alert checks to catch issues early |
| One integration | Add the MCP once; reuse across copilots, agents, dashboards |
How it works
AI app / agent
│ (MCP tools)
▼
WellPulse MCP (this server)
├─ Public benchmarks (CDC PLACES)
└─ Institution data (your DB)
▼
Plain-English insights + structured JSON
Designed for fast "ask → answer" loops in copilots and automations.
What you can ask
- "What's our wellness trend for the last 90 days?"
- "Did we drop week-over-week? Why might that matter?"
- "What's the CDC mental distress benchmark for this ZIP?"
- "Write a short exec update with numbers and context."
Available Tools
| Tool | Description |
|---|---|
get_mental_health_benchmark | CDC PLACES frequent mental distress (FMD) for a zip or county_fips; returns scope, values, optional national_percentile_rank, and marketing_copy |
get_sector_snapshot | Sector-level snapshot over a window; returns institutions_with_responses, total_responses, avg_wellness_score |
get_basic_alert_guidance | Default alert thresholds by org_size and location_type |
get_institution_snapshot | Counts, avg_wellness_score, last_response_at for an institution over a window |
get_institution_trend_daily | Daily series of { day, avg_wellness, responses } |
get_institution_alert_check | Compares last 7d vs prior 7d; returns drop_pct and alert flag |
Endpoints
| Transport | URL |
|---|---|
| HTTP Stream | https://wellpulse.org/mcp |
| SSE | https://wellpulse.org/sse |
Use JSON-RPC. For HTTP streaming, include: Accept: application/json, text/event-stream
Quickstart (cURL)
1 — Initialize session
curl -s https://wellpulse.org/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {
"protocolVersion": "2025-03-26",
"capabilities": {},
"clientInfo": { "name": "example", "version": "1.0.0" }
}
}'
Capture the mcp-session-id response header for subsequent calls.
2 — List tools
curl -s https://wellpulse.org/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "mcp-session-id: <SESSION_ID>" \
-d '{ "jsonrpc": "2.0", "id": 2, "method": "tools/list", "params": {} }'
3 — Call a tool
curl -s https://wellpulse.org/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "mcp-session-id: <SESSION_ID>" \
-d '{
"jsonrpc": "2.0",
"id": 3,
"method": "tools/call",
"params": {
"name": "get_mental_health_benchmark",
"arguments": { "zip": "94597" }
}
}'
Running locally
Prerequisites
- Node.js 18+
- PostgreSQL database with the WellPulse schema (
pulseschema,search_pathset accordingly)
Setup
# 1. Install dependencies
npm install
# 2. Configure environment
cp .env.example .env
# Edit .env with your real DB credentials and preferred port
# 3. Start the server
npm start
The server starts at http://localhost:8383 by default (configurable via MCP_PORT in .env).
Environment variables
| Variable | Description | Default |
|---|---|---|
DB_HOST | PostgreSQL host | localhost |
DB_PORT | PostgreSQL port | 5432 |
DB_NAME | Database name | (required) |
DB_USER | Database user | (required) |
DB_PASSWORD | Database password | (required) |
MCP_PORT | Port the MCP server listens on | 8383 |
Project structure
wellpulse-mcp/
├── .env.example ← environment variable template
├── .gitignore
├── package.json
└── src/
├── index.js ← entry point
├── db.js ← shared PostgreSQL pool
└── tools/
├── mentalHealthBenchmark.js
├── sectorSnapshot.js
├── basicAlertGuidance.js
├── institutionSnapshot.js
├── institutionTrendDaily.js
└── institutionAlertCheck.js
Notes
- ZIP codes are resolved to county FIPS automatically via public APIs (zippopotam.us + FCC).
- If county-level CDC data is unavailable, responses include a national fallback with
scope: "national_fallback". - Institution tools require a valid
institution_idpresent in your database.
© 2026 Wellness Pulse
Máy chủ liên quan
MCP Organizze
Organizze Finance Manager MCP Server. Create transactions, consult balances, and manage goals.
Microsoft Office (PowerPoint & Excel)
Automate Microsoft PowerPoint and Excel on Windows using AI-powered COM automation.
UBI MCP server
University Business Incubators MCP server for assessments
PostalForm MCP
Mail real letters from agents: PDF → checkout → status.
Umbraco MCP
Interact with the Umbraco CMS Management API for administrative tasks.
Awesome Agent Skills MCP Server
A Model Context Protocol (MCP) server that provides access to 100+ curated AI agent skills from the VoltAgent Awesome Agent Skills collection.
Qingma Yizhan Auto Answer
An MCP server that provides an automatic answering function for the Qingma Yizhan platform.
Spotify MCP Server
Control Spotify with natural language. Enables search, playback control, queue management, and device control using conversational commands.
Mesh Scanner
A simple, self-contained notes system with resources, tools, and prompts, implemented as an MCP server.
Bookstack MCP
An MCP server for interacting with Bookstack, built with the mcp-framework for Node.js.