Connect Babylitics to Claude AI with MCP

Imagine asking your AI assistant: "How did Emma do yesterday?" and getting a complete breakdown of feedings, sleep, diapers, and temperature — all from your actual tracking data. With the Babylitics MCP server, you can do exactly that.
What Is MCP?
MCP (Model Context Protocol) is an open standard that lets AI assistants like Claude connect to external tools and data sources. Think of it as giving Claude the ability to read and write to your Babylitics account — securely, with your permission.
Instead of copying data from Babylitics and pasting it into a chat, Claude can query your data directly and give you meaningful answers.
What Can You Do?
Once connected, you can ask Claude things like:
- "How many feedings did Noah have today?"
- "What was Ella's temperature trend this week?"
- "Log a formula feeding of 6oz for Emma"
- "How is Hugo's weight compared to WHO guidelines?"
- "Show me yesterday's diaper changes for Nora"
Claude has access to 24 tools covering all Babylitics features:
| Category | Read | Write | Guidelines |
|---|---|---|---|
| Feedings | ✅ Records + Stats | ✅ Log feeding | ✅ vs AAP |
| Sleep | ✅ Records + Stats | ✅ Log sleep | ✅ vs AAP |
| Weight | ✅ Records + Stats | ✅ Log weight | ✅ vs WHO |
| Length | ✅ Records + Stats | ✅ Log length | ✅ vs WHO |
| Temperature | ✅ Records + Stats | ✅ Log temp | ✅ AAP thresholds |
| Diapers | ✅ Records | ✅ Log diaper | ✅ AAP guidelines |
| Dashboard | ✅ Daily summary | — | — |
Setup Guide
Option 1: Claude Desktop (Mac/Windows)
- Install Claude Desktop if you haven't already
- Open the config file:
- Mac:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- Mac:
- Add the Babylitics MCP server:
{
"mcpServers": {
"babylitics": {
"command": "npx",
"args": ["babylitics-mcp"]
}
}
}
- Restart Claude Desktop
- On first use, Claude will ask you to authorize — visit the URL and enter the code shown
Option 2: Claude Code (Terminal)
If you use Claude Code in the terminal, it's even simpler:
claude mcp add babylitics -- npx babylitics-mcp
That's it. Next time you start a conversation, Claude will have access to your Babylitics data.
Option 3: Cursor IDE
Add to your Cursor MCP settings (.cursor/mcp.json):
{
"mcpServers": {
"babylitics": {
"command": "npx",
"args": ["babylitics-mcp"]
}
}
}
Authorization
The first time Claude uses a Babylitics tool, it will show you a login prompt:
🔐 Authentication required to access Babylitics.
Please visit: https://api.babylitics.io/oauth/device Enter this code: ABCD-1234
Visit the URL, enter the code, and sign in with your Babylitics account. Once approved, Claude remembers your session — you won't need to do this again for 30 days.
Example Conversation
Here's what a real conversation looks like:
You: "How did Emma do today?"
Claude: Emma had a busy day! Here's the summary:
- Feedings: 5 feedings today (11.5 oz formula, 18 min breastfeeding, 2 solid meals)
- Sleep: 8h 45m total (6h night + 2h 45m naps)
- Diapers: 6 changes (3 wet, 2 dirty, 1 mixed)
- Temperature: 98.4°F (Normal) — last checked at 3pm
You: "How does her weight compare to the WHO guidelines?"
Claude: Emma's current weight is 26.77 lb at 11 months. According to WHO growth standards, she's tracking between the 50th and 75th percentile — right on track!
You: "Log a formula feeding of 5oz for her"
Claude: Done! I've logged a 5oz formula feeding for Emma at 4:30 PM.
Privacy & Security
- Your data stays in your Babylitics account — Claude queries it on demand, nothing is stored by the AI
- Authentication uses secure OAuth with token rotation
- You can revoke access at any time by deleting the token file at
~/.babylitics/tokens.json - The MCP server is open source — you can inspect exactly what it does
Requirements
- Node.js 18+ (for running the MCP server via npx)
- A Babylitics account with an active plan or trial
- Claude Desktop, Claude Code, or Cursor with MCP support
Try Babylitics free for 15 days, then connect it to Claude AI — no credit card required.