Public-Health Evidence & Safety Guardrail Infrastructure for Maternal-Infant AI
Build trustworthy parenting, baby-tech, and caregiver AI products without scraping fragmented agencies from scratch. Query source-linked US & Canada feeding rules, run deterministic EN/ZH emergency red-flag triage, connect our live MCP server, or license structured safety-evaluation datasets.
Public Knowledge Base API v1.5
Retrieve structured, source-linked US (CDC/AAP/FDA/NIAID) and Canada (Health Canada/CPS/Alberta Health Services) feeding rules, 83+ baby food cut-size safety profiles, guides, FAQs, and evidence-qualified insights.
| Method | Endpoint Path | Purpose |
|---|---|---|
| GET | /api/kb | OpenAPI-style manifest, schema list & live examples |
| GET | /api/kb/query?q=...&locale=US|CA|Global&limit=3 | Ranked quick answer, urgency metadata, citations & llm_fallback flag |
| GET | /api/kb/foods?locale=US|CA&age=6-12%20months&risk=high | Baby food textures, choking risk, BLW vs puree prep & allergens |
| GET | /api/kb/rules?locale=US|CA | Structured do/don’t safety boundaries with agency citations |
| GET | /api/kb/guides?type=allergen|nutrition|scenario | Pathway & scenario guides filtered by locale and type |
| GET | /api/kb/faqs?topic=feeding-foundations&locale=CA | Published FAQ pairs joined to authoritative source records |
curl -s "https://www.momaiagent.com/api/kb/query?q=can+my+6+month+old+have+honey&locale=CA&limit=3"{
"query": "can my 6 month old have honey",
"locale": "CA",
"quick_answer": {
"kind": "rule",
"title": "No honey before 12 months",
"answer": "Do not give raw, pasteurized, or cooked/baked honey to any infant under 12 months due to Clostridium botulinum spore risk (infant botulism).",
"source_label": "Health Canada • CDC • AAP",
"confidence": "high",
"evidence_strength": {
"level": "high",
"rationale": "This answer comes from an authority-linked KB object."
},
"contraindications": [
"No raw or pasteurized honey under 12 months",
"No honey-baked crackers, bread, or sauces under 12 months"
],
"read_more_url": "https://www.momaiagent.com/childrens-food-safety-and-hygiene"
},
"safety": {
"escalate_now": false,
"urgency_level": "home-guidance-only",
"escalation_reason_codes": []
},
"meta": {
"surface": "query",
"public_read_only": true,
"answer_layer": "kb",
"match_strength": "strong"
}
}- Explicit US vs. Canada vs. Global locale filtering (e.g., whole cow’s milk 9–12m in CA vs. 12m in US; CA Priority 11 vs. US Top 9 allergens).
- Separates source-linked KB answers from exploratory llm_fallback eligibility so downstream LLMs never hallucinate official citations.
- Pairs with /api/kb/feed (JSON & NDJSON) and /api/kb/insights for RAG ingestion pipelines.
Bilingual EN/ZH Maternal & Infant Safety Triage Router
Drop-in pre-generation guardrail for pediatric, postpartum, and parenting AI applications. Classifies 15 intents and enforces deterministic emergency red-flag overrides in English and Simplified Chinese before your LLM generates a single token.
| Method | Endpoint Path | Purpose |
|---|---|---|
| POST | /api/assistant/route | Body: { "text": "..." } or { "query": "..." } (3–700 chars) |
| GET | /api/assistant/route | Health check, router version & active backend status |
curl -s -X POST "https://www.momaiagent.com/api/assistant/route" \
-H "Content-Type: application/json" \
-d '{"text":"My baby ate peanut butter and now has hives and swollen lips"}'{
"router": {
"intent": "allergy_or_food_reaction",
"age_band": "unknown",
"risk_level": "urgent",
"needs_professional_help": true,
"follow_up_questions": [],
"safe_response_strategy": "escalate_to_emergency_or_urgent_professional_guidance",
"retrieval_targets": [
"allergy_safety_rules",
"emergency_rules",
"red_flag_rules"
],
"refusal_or_escalation_reason": "possible urgent symptom or safety concern"
},
"source": "heuristic",
"safety_override": "minimal_fallback"
}- Deterministic minimal_fallback override catches newborn fever (≥38.0°C / 100.4°F), lip swelling / hives / anaphylaxis (in English and Simplified Chinese), silent choking, breathing distress, button battery ingestion, and postpartum self-harm or hemorrhage.
- Returns structured safe_response_strategy and retrieval_targets so your orchestrator cleanly blocks diagnostic requests (diagnosis_request) and out-of-scope prompts.
- Zero PHI persistence on the public route (Cache-Control: no-store) with rate-limit headers.
Live ChatGPT / OpenAI MCP Server & ClawHub Skill
Connect ChatGPT Apps, Claude Desktop, Cursor, OpenAI Agents SDK, or ClawHub workflows directly to Mom AI Agent’s source-linked public-health guidance and 700+ stage baby recipes via Streamable HTTP MCP.
| Method | Endpoint Path | Purpose |
|---|---|---|
| POST | /mcp | Primary Streamable HTTP MCP endpoint (no auth for free tier) |
| POST | /api/mcp | Alias Streamable HTTP MCP endpoint with identical tool catalog |
| GET | /mcp-server-docs | Full setup walkthrough, tool safety annotations & troubleshooting |
curl -s -X POST "https://www.momaiagent.com/mcp" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'{
"jsonrpc": "2.0",
"id": 1,
"result": {
"tools": [
{
"name": "search",
"description": "Search Parenting Hub source-linked guidance, foods, and safety rules",
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false,
"idempotentHint": true
}
},
{
"name": "search_recipes",
"description": "Search 700+ baby and toddler recipes by stage, meal type, and ingredients"
},
{
"name": "fetch",
"description": "Fetch full article takeaways or recipe ingredients, steps, allergens, and safety notes"
}
]
}
}- Every MCP tool declares readOnlyHint: true, openWorldHint: false, destructiveHint: false, and idempotentHint: true for enterprise agent safety reviews.
- ClawHub Skill (mom-ai-knowledge-base): read-only packaged skill bundle querying /api/kb/* surfaces with zero shell, filesystem, or write permissions.
- Machine-readable discovery also live at /llms.txt, /llms-full.txt, /feed.json, and /insight/<slug>.md.
Structured AI Evaluation & Evidence Dataset Licensing
Authenticated bulk JSON snapshot of public-health syntheses, structured safety rules, US vs. Canada guideline divergences, and Q&A pairs designed for LLM safety evaluation, RAG grounding, and maternal-infant benchmark suites.
| Method | Endpoint Path | Purpose |
|---|---|---|
| GET | /api/ai-training-data | Authenticated export (Authorization: Bearer <token>) — commercial license required |
| GET | /api/ai-feed-v2?format=enhanced&limit=50 | Public AEO feed with quick answers, FAQs & citations (CC BY-NC 4.0) |
curl -s "https://www.momaiagent.com/api/ai-training-data" \
-H "Authorization: Bearer $MOMAI_DATASET_TOKEN"{
"version": "1.0",
"site_info": {
"name": "JupitLunar",
"domain": "www.momaiagent.com",
"geographic_focus": "North America",
"authority_level": "Official guideline synthesis"
},
"structured_rules": [
{
"rule": "No honey before 12 months",
"reason": "Risk of infant botulism",
"age_range": "0-12 months",
"sources": ["CDC", "Health Canada"],
"category": "food_safety"
}
],
"faq_data": [
{
"question": "When should I start introducing solid foods to my baby?",
"category": "feeding_foundations",
"sources": ["CDC", "AAP", "Health Canada"]
}
],
"metadata": {
"authority_sources": ["CDC", "WHO", "AAP", "Health Canada", "CPS", "NIAID", "CSACI"]
}
}- Non-Commercial License Boundary (CC BY-NC 4.0): Public browsing, academic evaluation, and non-commercial attribution are permitted under CC BY-NC 4.0 with link-back to Mom AI Agent.
- Commercial model training, fine-tuning, proprietary benchmark redistribution, and commercial RAG ingestion require an active Startup/Enterprise API or Annual Safety-Eval Dataset License.
- Zero user PII included—datasets contain strictly public-health agency syntheses and curated kitchen/safety rules.
Commercial API, Guardrail & Dataset Licensing Tiers
Start free on our public AEO & MCP surfaces under CC BY-NC 4.0. Upgrade when shipping commercial apps, higher rate limits, white-label embeds, or AI safety evaluation pipelines.
Free Open / AEO Tier
Individual developers, open-source MCP clients, AI search crawlers, and academic prototypes.
- Public read-only /api/kb/* endpoints & /mcp Streamable HTTP
- Standard public IP rate limits (fair-use burst protection)
- CC BY-NC 4.0 non-commercial attribution required
- Access to /llms.txt, /llms-full.txt, /feed.json & ClawHub Skill
- No commercial SLA or bulk /api/ai-training-data export
Startup API Tier
Early-stage parenting apps, nutrition trackers, and smart baby hardware launching commercial features.
- Commercial production license for /api/kb/* & /api/assistant/route
- Dedicated X-API-Key authentication & elevated rate quotas
- US & Canada locale-aware food cut-size & allergen endpoints
- Deterministic EN/ZH emergency red-flag safety triage routing
- Schema changelog alerts & email engineering support
Enterprise Guardrail & White-Label
Femtech platforms, baby-tech hardware makers, telehealth companions, and multi-clinic digital portals.
- High-throughput SLA across KB API, MCP server & EN/ZH Safety Router
- White-label embeddable US/CA food-prep, allergen & safe-sleep cards
- Custom region coverage (US, Canada, UK NHS, WHO cross-mapping)
- Dedicated escalation rule tuning & bilingual EN/ZH output formats
- Quarterly public-health guideline update audit log
Annual Safety-Eval Dataset License
Foundation model labs, healthcare AI safety teams, and RAG evaluation platforms.
- Commercial license to authenticated /api/ai-training-data exports
- Normalized JSON/NDJSON snapshots (rules, foods, FAQs, citations)
- Bilingual EN/ZH pediatric & postpartum red-flag eval test cases
- US vs. Canada guideline divergence evaluation benchmark pack
- Clear IP provenance & CC BY-NC 4.0 commercial carve-out agreement
| Capability | Free Open / AEO ($0) | Startup API ($149/mo) | Enterprise ($1,000/mo) | Annual Eval Dataset |
|---|---|---|---|---|
| License Scope | CC BY-NC 4.0 (Non-commercial) | Commercial App Production | Commercial + White-Label | Commercial AI Training / Eval |
| KB API v1.5 & MCP Server | Public limits | Dedicated X-API-Key | High-volume SLA | Bulk JSON / NDJSON snapshots |
| EN/ZH Safety Triage Router | Evaluation burst (30 req/5m) | Production API quota | Custom escalation tuning + SLA | Labeled red-flag eval set |
| /api/ai-training-data Export | Not included | Not included | Optional add-on | Included (Bearer token) |
Non-SaMD Educational-Retrieval Terms & Attribution Boundary
Public-Health Guideline Retrieval — Not Software as a Medical Device (SaMD)
Non-Clinical Curation Scope
Mom AI Agent (operated by JupitLunar, Edmonton, AB, Canada) organizes official public-health guidelines from CDC, AAP, Health Canada, CPS, Alberta Health Services, NHS, and WHO. We do not employ physicians, pediatricians, or registered dietitians on staff, and our APIs never diagnose, prescribe, or replace licensed clinicians.
Integrator Safety Responsibilities
All endpoints—including /api/assistant/route—are educational retrieval and deterministic red-flag routing utilities, not SaMD. Downstream developers remain responsible for preserving urgent emergency escalation UX (911 / provincial 811 / clinician contact), avoiding PHI submission to public routes, and meeting applicable regional regulatory requirements.
