babylitics-mcp 0.10.0 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +25 -19
  2. package/dist/index.js +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -48,19 +48,16 @@ Add to your Cursor MCP settings:
48
48
 
49
49
  ## Authorization
50
50
 
51
- On first launch, the server will prompt you to authorize via your browser:
51
+ On first use, the agent will ask you to authorize via your browser:
52
52
 
53
- ```
54
- [babylitics-mcp] Authorization required.
55
-
56
- Visit: https://babylitics.io/device
57
- Enter code: ABCD-1234
58
-
59
- [babylitics-mcp] Waiting for authorization...
60
- [babylitics-mcp] Authorized successfully!
61
- ```
53
+ > 🔐 Authentication required to access Babylitics.
54
+ >
55
+ > Please visit: https://api.babylitics.io/oauth/device
56
+ > Enter this code: **ABCD-1234**
57
+ >
58
+ > Once you've approved access, try your request again.
62
59
 
63
- Tokens are cached locally at `~/.babylitics/tokens.json` and refresh automatically.
60
+ 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).
64
61
 
65
62
  ## Available Tools
66
63
 
@@ -69,15 +66,23 @@ Tokens are cached locally at `~/.babylitics/tokens.json` and refresh automatical
69
66
  | Tool | Description |
70
67
  |------|-------------|
71
68
  | `list_babies` | List all tracked babies |
72
- | `get_dashboard` | Today's summary (last feeding, sleep, etc.) |
73
- | `get_feedings` | Feeding records with optional date filter |
74
- | `get_feeding_stats` | Feeding statistics and averages |
75
- | `get_sleeps` | Sleep records with optional date filter |
76
- | `get_sleep_stats` | Sleep statistics and averages |
77
- | `get_weights` | Weight records with optional date filter |
69
+ | `get_dashboard` | Dashboard summary for a baby (defaults to today, pass `date` for past days) |
70
+ | `get_feedings` | Feeding records with optional `date` or `start_date`/`end_date` filter |
71
+ | `get_feeding_stats` | Feeding statistics and averages with optional date filter |
72
+ | `get_feeding_vs_guideline` | Compare feeding intake against age-appropriate guidelines |
73
+ | `get_sleeps` | Sleep records with optional date range filter |
74
+ | `get_sleep_stats` | Sleep statistics with optional `date` or `start_date`/`end_date` filter |
75
+ | `get_sleep_vs_guideline` | Compare sleep against age-appropriate guidelines |
76
+ | `get_weights` | Weight records with optional date range filter |
77
+ | `get_weight_stats` | Weight statistics (current, birth, gain, growth velocity) |
78
78
  | `get_weight_vs_guideline` | Weight compared to WHO growth standards |
79
- | `get_lengths` | Length/height records with optional date filter |
80
- | `get_temperatures` | Temperature records with optional date filter |
79
+ | `get_lengths` | Length/height records with optional date range filter |
80
+ | `get_length_stats` | Length statistics (current, birth, growth, velocity) |
81
+ | `get_length_vs_guideline` | Length compared to WHO growth standards |
82
+ | `get_temperatures` | Temperature records with optional date range filter |
83
+ | `get_temperature_stats` | Temperature statistics (current, average, highest, fever status) |
84
+ | `get_temperature_guidelines` | AAP fever/hypothermia thresholds by age range |
85
+ | `get_diapers` | Diaper change records with optional `date` or `start_date`/`end_date` filter |
81
86
 
82
87
  ### Write Tools (requires `read:write` scope)
83
88
 
@@ -88,6 +93,7 @@ Tokens are cached locally at `~/.babylitics/tokens.json` and refresh automatical
88
93
  | `log_weight` | Log a weight measurement |
89
94
  | `log_length` | Log a length/height measurement |
90
95
  | `log_temperature` | Log a temperature measurement |
96
+ | `log_diaper` | Log a diaper change (wet, dirty, or mixed) |
91
97
 
92
98
  ## Configuration
93
99
 
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ const diapers_js_1 = require("./tools/diapers.js");
14
14
  async function main() {
15
15
  const server = new mcp_js_1.McpServer({
16
16
  name: "babylitics",
17
- version: "0.10.0",
17
+ version: "0.10.1",
18
18
  });
19
19
  // Register all tools — auth happens lazily on first tool call.
20
20
  // If auth is needed, the tool returns login instructions for the user.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylitics-mcp",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "MCP server for Babylitics — Connect AI agents to your baby tracking data",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",