Peloton MCP服务器
用于Peloton锻炼数据的MCP服务器-通过与Dexcom CGM数据的锻炼相关性,为1型糖尿病管理而设计。
目的
此MCP服务器使AI助手(如Claude)能够访问您的Peloton锻炼历史,并将其与Dexcom CGM的血糖数据相关联。与Dexcom MCP服务器一起,您可以提出以下问题:
- “昨天我的自行车课对我的血糖有什么影响?”
- “我在力量训练中典型的血糖下降是多少?”
- “根据过去的模式,我应该在这次Peloton骑行前吃东西吗?”
- “哪些肌肉群导致最大的葡萄糖波动?”
特性
- 🏋️ 锻炼数据 -获取具有精确时间戳的锻炼,以进行葡萄糖相关性分析
- 💪 肌肉分析 -追踪哪些肌肉群在工作(影响胰岛素敏感性)
- 📊 统计 -按时间段汇总锻炼数据
- ⚖️ 训练平衡 -了解上下半身和有氧运动/力量分布
- 🩸 糖尿病整合 -所有数据都针对与葡萄糖模式的相关性进行了优化
安装
npm install
npm run build配置
创建一个 .env 文件:
PELOTON_USERNAME=your_username
PELOTON_PASSWORD=your_password用法
npm start可用工具
个人资料
peloton_test_connection-验证API连接peloton_get_profile-获取用户资料
锻炼(对糖尿病至关重要)
peloton_get_workouts-获取具有精确时间戳、持续时间和强度的锻炼
分析
peloton_muscle_activity-肌肉参与百分比peloton_muscle_impact-详细的肌肉冲击评分peloton_workout_stats-汇总统计数据peloton_training_balance-培训平衡分析
糖尿病使用案例
Dexcom和Peloton MCP服务器都在运行:
User: "How did my 30-minute cycling class affect my glucose?"
Claude:
[Peloton MCP] → 30-min cycling at 2:00 PM, 250 calories
[Dexcom MCP] → Glucose 140→85 during workout, stable after
Response: "Your cycling class caused a 55 mg/dL drop. Based on 10 similar
workouts, you typically drop 50-60 mg/dL during cycling. Your glucose
stabilized well afterward."许可证
麻省理工学院
