nightscout-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@nightscout-mcpWhat's my current glucose?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Nightscout MCP Server
Access your CGM data from Nightscout in AI assistants like Claude, Cursor, etc.
Quick Start
uvx --from git+https://github.com/vgmakeev/nightscout-mcp nightscout-mcpRelated MCP server: Dexcom G7 MCP Server
Setup
Add to your MCP config (e.g. ~/.cursor/mcp.json):
{
"mcpServers": {
"nightscout": {
"command": "uvx",
"args": ["--from", "git+https://github.com/vgmakeev/nightscout-mcp", "nightscout-mcp"],
"env": {
"NIGHTSCOUT_URL": "https://YOUR_TOKEN@your-site.nightscout.com"
}
}
}
}Configuration
Variable | Description | Default |
| Nightscout URL (can include token: | Required |
| API secret (optional if using token in URL) | - |
| Display units: |
|
| TIR lower bound (auto-detects units: <30 = mmol) |
|
| TIR upper bound (auto-detects units: <30 = mmol) |
|
Example with custom TIR range
{
"nightscout": {
"command": "uvx",
"args": ["--from", "git+https://github.com/vgmakeev/nightscout-mcp", "nightscout-mcp"],
"env": {
"NIGHTSCOUT_URL": "https://TOKEN@your-site.nightscout.com",
"GLUCOSE_UNITS": "mmol",
"GLUCOSE_LOW": "4.0",
"GLUCOSE_HIGH": "10.0"
}
}
}Tools
Tool | Description |
| Current glucose reading |
| History for last N hours |
| TIR, CV, HbA1c for any date range |
| Monthly breakdown for a year |
| Insulin and carbs log |
| Nightscout server status |
| Pump, CGM, uploader status |
Examples
Ask your AI assistant:
"What's my current glucose?"
"Show my glucose history for the last 6 hours"
"Analyze my glucose control for December 2025"
"Give me a monthly breakdown for 2025"
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables AI assistants to query glucose data from health storage APIs, providing natural language access to glucose readings, trends, and statistics for diabetes management and health monitoring.Last updated3
- Flicense-qualityDmaintenanceProvides access to Dexcom G7 continuous glucose monitor data, enabling AI assistants to retrieve current glucose readings and historical data.Last updated12
- Alicense-qualityCmaintenanceConnects AI assistants to Nightscout for real-time glucose monitoring, analysis, and treatment logging, enabling natural language interaction with CGM data.Last updated4MIT
- Alicense-qualityBmaintenanceEnables Claude to access Abbott Freestyle Libre CGM data from multiple providers (LibreView, Terra, Thryve) to retrieve current glucose, history, and summaries via natural language.Last updated2MIT
Related MCP Connectors
Glucose readings from your LibreLink Up sensor: graph, logbook, stats and summaries (read-only). Sec
Garmin data in Claude & ChatGPT via the Garmin Health API. OAuth sign-in, no password sharing.
Renders interactive Chart.js charts and dashboards inline in AI conversations.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/vgmakeev/nightscout-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server