Skip to main content
Glama
Baby Routine MCP

Baby Routine MCP

by Tiago-Salles

Baby Routine MCP

MCP server (built on mcp 2.1.1, the official Python SDK) that exposes a baby's routine to any MCP client — Claude Desktop, Claude Code, or your own agent.

The server is deliberately thin: the API owns the tool contract (POST /api/assistant/tools/{name}), so this project is a transport adapter with no business rules to keep in sync.

Tools

Tool

What it answers / does

describe_resources

Which record types exist and what fields they take

log_record

Create a feeding, sleep, diaper, bath, dose, purchase, clothing item…

update_record / delete_record

Fix or remove a record

search_records

"Which bodies size S do I have?"

medication_report

"How much did I spend on this medication two months ago, and how many doses per day?"

routine_report

Per-day counts and averages for the routine

today_overview

Age, today's counts, medication adherence, active alerts

Related MCP server: healthCare

Configure

cp .env.example .env

Variable

Meaning

BABY_ROUTINE_API_URL

Where the API lives (http://localhost:8010)

BABY_ROUTINE_SERVICE_TOKEN

Must match MCP_SERVICE_TOKEN in the API

BABY_ROUTINE_USER_ID

Firebase uid this server acts for

BABY_ROUTINE_ID_TOKEN

Alternative: a Firebase ID token

BABY_ROUTINE_TRANSPORT

stdio (local client) or streamable-http (remote)

Run

Local (stdio), from Claude Desktop or Claude Code — claude_desktop_config.json:

{
  "mcpServers": {
    "baby-routine": {
      "command": "baby-routine-mcp",
      "env": {
        "BABY_ROUTINE_API_URL": "http://localhost:8010",
        "BABY_ROUTINE_SERVICE_TOKEN": "change-me",
        "BABY_ROUTINE_USER_ID": "dev-user"
      }
    }
  }
}

Or with Claude Code: claude mcp add baby-routine -- baby-routine-mcp.

Remote (streamable HTTP), served by nginx at /mcp/:

make up          # http://localhost:8020
make logs
make stdio       # run on stdio, as a local MCP client would
make down

Tests

make test

They drive real MCP tool calls against a mocked API transport, asserting the outgoing HTTP request, the credentials and the error mapping.

Available Tools

8 tools
delete_recordC

Delete a record the mother asked to remove.

Inputs: id (required), resource (required).

describe_resourcesA

List the record types this baby app stores and the JSON fields each accepts.

Call it before writing a record whose fields you are unsure about. Resources: babies, feedings, sleep_sessions, diaper_changes, baths, growth_measurements, observations, medications, medication_doses, medication_purchases, clothing_items, attachments.

Inputs: resource.

log_recordB

Create one record.

resource is one of the known record types; data follows its schema (see describe_resources). Omit baby_id when the mother has a single baby. Example: log_record("feedings", {"started_at": "2026-03-15T14:00:00Z", "feeding_type": "bottle", "volume_ml": 120}).

Inputs: data (required), resource (required).

medication_reportC

Cost and adherence per medication in a period.

Returns how much was spent, how many units were bought, how many doses were given, on how many days, and the average doses per day.

Inputs: end_date (required), start_date (required), medication_name.

routine_reportC

Per-day counts and period averages for feedings, diapers, sleep and baths.

Inputs: end_date (required), start_date (required), resources.

search_recordsB

Read records of one resource, filtered by date range (YYYY-MM-DD) and exact fields.

Example: search_records("clothing_items", filters={"size": "S", "category": "body"}) answers "which bodies size S do I have?".

Inputs: resource (required), limit, filters, end_date, +1 more.

today_overviewC

Today's snapshot: age, counts so far, medication adherence and active alerts.

Inputs: no named parameters.

update_recordB

Update fields of an existing record, e.g. marking a clothing item as too_small.

Inputs: id (required), changes (required), resource (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 8 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes: CRUD operations (log/update/delete/search), schema discovery, and specialized reports. However, routine_report and today_overview both return daily counts for feedings/diapers/sleep, so an agent might need to read descriptions carefully to pick the right one.

    Naming Consistency4/5

    The majority of tools follow a verb_noun pattern (describe_resources, log_record, update_record, delete_record, search_records), but the reporting tools break this with noun_noun names (routine_report, medication_report, today_overview). The convention is otherwise consistent and readable.

    Tool Count5/5

    Eight tools is well-scoped for a baby routine tracker: generic CRUD via log/update/delete/search, a schema explorer, and three reporting/overview tools. Each tool serves a distinct need without redundancy.

    Completeness5/5

    The generic log/update/delete/search surface covers all twelve resource types listed by describe_resources, so no record type is a dead end. Reporting covers routine events, medications, and a daily snapshot, and missing analytics like growth charts are not core to the stated purpose.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables MCP clients to ingest documents and notes, retain facts with their validity periods, and answer questions as of any point in time using bitemporal queries.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables local-first personal health management with encrypted storage and scoped MCP tools for tracking vitals, medications, activities, emotions, sleep, encounters, and more.
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables MCP clients to read and modify a user's nutrition-tracking account: the full diary across foods, exercise, notes, biometrics and targets, plus coverage-aware nutrient totals that report unreported values as an "at least" floor instead of zero. Writes such as logging, editing, deleting or copying entries require per-action approval, with deletes needing explicit confirmation and an optional read-only mode that removes them entirely.
      99 npm
      MIT