npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

babylitics-mcp

v0.11.1

Published

MCP server for Babylitics — Connect AI agents to your baby tracking data

Downloads

186

Readme

babylitics-mcp

MCP (Model Context Protocol) server for Babylitics — connect AI agents to your baby tracking data.

Installation

npx babylitics-mcp

Setup

Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "babylitics": {
      "command": "npx",
      "args": ["babylitics-mcp"]
    }
  }
}

Claude Code

claude mcp add babylitics -- npx babylitics-mcp

Cursor

Add to your Cursor MCP settings:

{
  "mcpServers": {
    "babylitics": {
      "command": "npx",
      "args": ["babylitics-mcp"]
    }
  }
}

Authorization

On first use, the agent will ask you to authorize via your browser:

🔐 Authentication required to access Babylitics.

Please visit: https://api.babylitics.io/oauth/device Enter this code: ABCD-1234

Once you've approved access, try your request again.

Tokens are cached locally at ~/.babylitics/tokens.json and refresh automatically. You only need to re-authorize when the refresh token expires (after 30 days).

Available Tools

Read Tools (always available)

| Tool | Description | |------|-------------| | list_babies | List all tracked babies | | get_dashboard | Dashboard summary for a baby (defaults to today, pass date for past days) | | get_feedings | Feeding records with optional date or start_date/end_date filter | | get_feeding_stats | Feeding statistics and averages with optional date filter | | get_feeding_vs_guideline | Compare feeding intake against age-appropriate guidelines | | get_sleeps | Sleep records with optional date range filter | | get_sleep_stats | Sleep statistics with optional date or start_date/end_date filter | | get_sleep_vs_guideline | Compare sleep against age-appropriate guidelines | | get_weights | Weight records with optional date range filter | | get_weight_stats | Weight statistics (current, birth, gain, growth velocity) | | get_weight_vs_guideline | Weight compared to WHO growth standards | | get_lengths | Length/height records with optional date range filter | | get_length_stats | Length statistics (current, birth, growth, velocity) | | get_length_vs_guideline | Length compared to WHO growth standards | | get_temperatures | Temperature records with optional date range filter | | get_temperature_stats | Temperature statistics (current, average, highest, fever status) | | get_temperature_guidelines | AAP fever/hypothermia thresholds by age range | | get_diapers | Diaper change records with optional date or start_date/end_date filter |

Write Tools (requires read:write scope)

| Tool | Description | |------|-------------| | log_feeding | Log a formula, breast, or solid feeding | | log_sleep | Log a nap or night sleep session | | log_weight | Log a weight measurement | | log_length | Log a length/height measurement | | log_temperature | Log a temperature measurement | | log_diaper | Log a diaper change (wet, dirty, or mixed) |

Medical Guidelines

The guideline tools return evidence-based pediatric data from WHO and AAP sources. Agents can use these to compare a baby's actual data against age-appropriate recommendations.

| Tool | Source | Reference | |------|--------|-----------| | get_weight_vs_guideline | WHO | WHO Child Growth Standards | | get_length_vs_guideline | WHO | WHO Child Growth Standards | | get_feeding_vs_guideline | AAP/WHO/NHS | AAP Formula Feeding | | get_sleep_vs_guideline | AAP | AAP Sleep Recommendations | | get_temperature_guidelines | AAP | AAP Fever Guidelines | | get_diaper_guidelines | AAP | AAP Diaper Guidelines |

Disclaimer: These guidelines are for informational purposes only and should not replace professional medical advice.

Configuration

| Environment Variable | Default | Description | |---------------------|---------|-------------| | BABYLITICS_API_URL | https://api.babylitics.io | API base URL |

Development

npm install
npm run build
npm run dev    # watch mode
npm test

License

MIT