Antrenör MCP
MCP Тренера — Экспериментальный / Обучающий проект
Это не производственная версия. Это побочный проект, созданный для экспериментов с версией MCP (Model Context Protocol) основного приложения Тренера. Цель: изучить архитектуру MCP, показать, как она могла бы выглядеть при интеграции в основной проект.
Архитектура
mcp_servers/data/demo.db (SQLite — uydurma seed veri)
↑ ↑
MCP server'lar Streamlit
(Claude Desktop) (localhost:8501)Ключевая идея: один источник данных, два разных клиента — один диалоговый (Claude Desktop + MCP), другой визуальный (Streamlit).
Related MCP server: fitness-mcp-server
Отличие от основного проекта
Основной проект (производственный) | Этот эксперимент | |
Доступ к модели | Модель push — Worker вставляет контекст в prompt | Модель pull — Claude извлекает из MCP-серверов |
Клиент | iOS + Streamlit | Claude Desktop + Streamlit |
Развертывание | Cloudflare Workers + D1 | Локальный Python |
Источник данных | Реальный API Garmin | Фиктивный SQLite seed |
Цель | Приносить пользу пользователю | Изучить/продемонстрировать архитектуру |
MCP-серверы
garmin — История активности, самочувствие, распределение по пульсовым зонам, недельная нагрузка (из SQLite)
pain — История боли + логирование новой боли (INSERT в SQLite)
coach-rules —
coach-principles.md+pain-rubric.mdкак шаблон prompt
Подробности и API: mcp_servers/README.md
Быстрый старт
# 1. Bağımlılıklar
python3.11 -m venv .venv
.venv/bin/pip install -r requirements.txt
# 2. DB seed
.venv/bin/python -m mcp_servers.data.seed
# 3. Claude Desktop config kur
cp mcp_servers/claude_desktop_config.example.json \
"$HOME/Library/Application Support/Claude/claude_desktop_config.json"
# 4. Claude Desktop'ı restart (Cmd+Q sonra yeniden aç)
# 5. Streamlit dashboard (opsiyonel, görsel demo için — port 8502, ana projenin 8501 ile çakışmaz)
.venv/bin/streamlit run streamlit_demo/app.py --server.port 8502Демо-сценарий
Для 3 сценариев и последовательности, используемых в презентации: DEMO.md
Структура папок
antrenör_mcp/
├── mcp_servers/
│ ├── garmin/server.py Aktivite + wellness + zone MCP
│ ├── pain/server.py Ağrı geçmişi + log_pain tool
│ ├── coach_rules/server.py Prensipler + rubric prompt template
│ ├── data/seed.py DB seed script
│ ├── data/demo.db SQLite (git'e girmez)
│ └── claude_desktop_config.example.json
├── streamlit_demo/app.py 3 tab dashboard
├── docs/
│ ├── coach-principles.md Zone 2, shin, deload kuralları
│ └── pain-rubric.md 0-10 ağrı ölçeği
├── DEMO.md Sunum senaryosu
└── requirements.txtThis server cannot be deployed
Maintenance
Related MCP Connectors
Talk to your own gym log. Reps is a free workout tracker for iPhone and Android; connect it to Claude, ChatGPT or any MCP client and ask about your workout history, personal records, exercise progression, weekly summaries, routines and training plan. The assistant can also save a new routine, edit one, save a whole plan, add custom exercises and exercise notes, always after you confirm in the chat. It cannot log a workout or delete your history. Requires a free Reps account created in the app; you sign in with a one-time email code.
Pace is a remote MCP server that exposes wearable and fitness data to Claude via the Model Context Protocol. It connects to Garmin, Oura, Whoop, Polar, Fitbit and 20+ devices and provides 15 tools for querying sleep, activity, recovery, and training data. Hosted on Google Cloud Run, OAuth 2.1 authentication, Streamable HTTP transport. Instructions: First you need to create an account at: https://pacetraining.co and connect your wearables. After that you can connect the remote Server via Custom Connector in Claude and OAuth 2.1 Flow startet.
- SomviaOAuthapp.somvia
Apple Health training load, recovery, HRV and workout detail for Claude, ChatGPT and any MCP client.
Adaptive running coach MCP server — training data, plans, and recovery for AI assistants.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables Claude to access and query your Garmin Connect data, including sleep, activities, training load, and health metrics, through a set of read-only MCP tools.28160 PyPI2MIT
- FlicenseNot gradedqualityDmaintenanceProvides MCP servers for Claude to access fitness data from Strava and intervals.icu, enabling natural language queries for activity analysis, advanced training metrics, and wellness tracking.1-
- FlicenseNot gradedqualityDmaintenanceEnables users to query WHOOP health data including recovery, sleep, workouts, and cycles through Claude Desktop using MCP tools.-
- FlicenseNot gradedqualityDmaintenanceEnables workout tracking and coaching within Claude conversations, managing exercise configs, logs, streaks, and health metrics via an MCP server with PostgreSQL.-