nightscout-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GLUCOSE_LOW | No | TIR lower bound (auto-detects units: <30 = mmol) | 3.9 |
| GLUCOSE_HIGH | No | TIR upper bound (auto-detects units: <30 = mmol) | 7.8 |
| GLUCOSE_UNITS | No | Display units: mmol or mgdl | mmol |
| NIGHTSCOUT_URL | Yes | Nightscout URL (can include token: https://token@site.com) | |
| NIGHTSCOUT_API_SECRET | No | API secret (optional if using token in URL) |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| glucose_currentA | Get the current blood glucose reading from Nightscout |
| glucose_historyB | Get blood glucose history for a specified time period |
| analyzeA | Analyze glucose patterns for any date range. Supports dates (YYYY-MM-DD), months (YYYY-MM), or relative periods (7d, 2w, 3m, 1y) |
| analyze_monthlyA | Analyze glucose data broken down by month. Great for yearly reviews. |
| treatmentsC | Get recent treatments (insulin doses, carbs, etc.) |
| statusA | Get Nightscout server status and settings |
| devicesB | Get status of connected devices (pump, CGM, phone) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Tools are mostly distinct, but 'glucose_history' and 'analyze' both support time ranges, which could cause misselection. However, descriptions clarify that one returns raw data and the other analyzes patterns.
Tool names mix noun-based (glucose_current, treatments) and verb-based (analyze) conventions. There's no consistent verb_noun pattern, though names are still readable and predictable.
7 tools is a well-scoped set for a Nightscout server, covering monitoring, analysis, and status without bloat.
The surface covers current glucose, history, analysis, treatments, devices, and status—core Nightscout interactions. Minor gaps like write operations or detailed alerts exist, but the read-only monitoring workflow is complete.