Skip to main content
KB API v1.5 • Streamable HTTP MCP • EN/ZH Safety RouterSelf-Serve Specs • Non-SaMD Educational Retrieval

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.

01 • PUBLIC KNOWLEDGE BASE API v1.5 • READ-ONLY REST

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.

Inspect live /api/kb JSON manifest →
MethodEndpoint PathPurpose
GET/api/kbOpenAPI-style manifest, schema list & live examples
GET/api/kb/query?q=...&locale=US|CA|Global&limit=3Ranked quick answer, urgency metadata, citations & llm_fallback flag
GET/api/kb/foods?locale=US|CA&age=6-12%20months&risk=highBaby food textures, choking risk, BLW vs puree prep & allergens
GET/api/kb/rules?locale=US|CAStructured do/don’t safety boundaries with agency citations
GET/api/kb/guides?type=allergen|nutrition|scenarioPathway & scenario guides filtered by locale and type
GET/api/kb/faqs?topic=feeding-foundations&locale=CAPublished FAQ pairs joined to authoritative source records
Copy-Ready Request (cURL)
curl -s "https://www.momaiagent.com/api/kb/query?q=can+my+6+month+old+have+honey&locale=CA&limit=3"
Sample JSON Response
{
  "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.
02 • DETERMINISTIC GUARDRAIL • BILINGUAL EN / ZH

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.

Review editorial & escalation policy →
MethodEndpoint PathPurpose
POST/api/assistant/routeBody: { "text": "..." } or { "query": "..." } (3–700 chars)
GET/api/assistant/routeHealth check, router version & active backend status
Copy-Ready Request (cURL)
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"}'
Sample JSON Response
{
  "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.
03 • AI AGENT PROTOCOL • STREAMABLE HTTP MCP + CLAWHUB SKILL

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.

Open full MCP Server Documentation →
MethodEndpoint PathPurpose
POST/mcpPrimary Streamable HTTP MCP endpoint (no auth for free tier)
POST/api/mcpAlias Streamable HTTP MCP endpoint with identical tool catalog
GET/mcp-server-docsFull setup walkthrough, tool safety annotations & troubleshooting
Copy-Ready Request (cURL)
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":{}}'
Sample JSON Response
{
  "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.
04 • STRUCTURED DATASET LICENSING • CC BY-NC 4.0 BOUNDARY

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.

Read Data Use & Licensing Posture →
MethodEndpoint PathPurpose
GET/api/ai-training-dataAuthenticated export (Authorization: Bearer <token>) — commercial license required
GET/api/ai-feed-v2?format=enhanced&limit=50Public AEO feed with quick answers, FAQs & citations (CC BY-NC 4.0)
Copy-Ready Request (cURL)
curl -s "https://www.momaiagent.com/api/ai-training-data" \
  -H "Authorization: Bearer $MOMAI_DATASET_TOKEN"
Sample JSON Response
{
  "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.
TRANSPARENT B2B LICENSING • SELF-SERVE INBOUND

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.

Non-Commercial & Evaluation

Free Open / AEO Tier

$0/month

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
Commercial Apps

Startup API Tier

$149/month

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
Most Popular B2B

Enterprise Guardrail & White-Label

$1,000/month

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
AI Labs & Eval Teams

Annual Safety-Eval Dataset License

Custom/year

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
CapabilityFree Open / AEO ($0)Startup API ($149/mo)Enterprise ($1,000/mo)Annual Eval Dataset
License ScopeCC BY-NC 4.0 (Non-commercial)Commercial App ProductionCommercial + White-LabelCommercial AI Training / Eval
KB API v1.5 & MCP ServerPublic limitsDedicated X-API-KeyHigh-volume SLABulk JSON / NDJSON snapshots
EN/ZH Safety Triage RouterEvaluation burst (30 req/5m)Production API quotaCustom escalation tuning + SLALabeled red-flag eval set
/api/ai-training-data ExportNot includedNot includedOptional add-onIncluded (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.