Labsco
MCP SERVER

Nestling - Smart Baby Tracker

by kparmesar

Read and log sleep, feeds, nappies and diary entries in the Nestling baby-tracking app — create-only writes, so nothing existing can be changed or deleted.

Health, Fitness & Wearables
Summary
It can add, and that is all it can do.

No update, no delete — a mis-parsed instruction can create a wrong entry you then fix in the app, but it cannot silently rewrite three weeks of sleep history. Access is user-scoped through row-level security using the anon key rather than a service role, and the long-lived token only bootstraps a session whose JWT expires after 1 hour. If your client is node-based, note the Bun requirement early; it is the thing most likely to stop a first attempt.

What it is

A client, CLI and MCP server for Nestling. It reads a baby's tracked history and logs new entries that sync back into the app, and it deliberately cannot update or delete anything that is already there.

What you get
  • What data sources and tools are available, for discovery — `get_capabilities`
  • Your account profile and the baby roster, whose ids every other tool takes — `get_user`, `list_babies`, `get_baby`
  • History for a baby over a date range: sleep sessions, feeds (breast, bottle, solids), nappy changes and diary entries — `list_sleep`, `list_feeds`, `list_nappies`, `list_diary`
  • New entries logged: a sleep session with start and end, a feed with type and amount, a nappy change, and a diary entry with text and tags — `create_sleep`, `create_feed`, `create_nappy`, `create_diary`
  • Flexible time input on the CLI side — ISO 8601, `today 3pm`, `yesterday 8:30pm`, `30m ago` — resolved against your configured timezone
Requirements

A Nestling account and an API token generated in the app under Settings > Data > API Token, supplied as `NESTLING_API_TOKEN`, with `NESTLING_TIMEZONE` optional. Bun 1.3+ — the package ships TypeScript source with no build step, so the launch command must be `bun` or `bunx`, not node or npx. The package is `nestling-ts` (0.3.0), providing the `nestling` and `nestling-mcp` binaries. Alternatively use the hosted endpoint at `https://mcp.nestling-app.com/mcp` as a custom connector and paste your token at sign-in, or self-host the HTTP mode behind HTTPS, where each request authenticates with its own bearer token.

Setup effort

One command plus a key — bun add -g nestling-ts, then supply credentials