OpenGym Coach
Enables ChatGPT to manage fitness routines, guided sessions, workout history, body weight tracking, and statistics through a remote authenticated MCP server with read and write tools.
README
OpenGym Coach for ChatGPT Sites
Adaptación completa de openGym para ChatGPT Sites, Cloudflare D1, MCP remoto y Android. El Site público vive en opengym-coach.alexcocl.chatgpt.site.
Capacidades
- Catálogo abierto de más de 1300 ejercicios con filtros, medios, instrucciones y ejercicios personalizados.
- Editor integral de rutinas, plan semanal, excepciones diarias, superseries y plan compartible/imprimible.
- Sesiones guiadas de repeticiones, tiempo y cardio; cronómetro de trabajo, descanso correcto por superserie, precarga, RIR/RPE, wake lock y marcas personales.
- Progresión por rutina y por ejercicio: manual, lineal, Greyskull LP, doble y temporal, con rangos, estancamientos y descargas.
- Historial editable, unidades kg/lb, peso corporal con objetivo, curva/calculadora de 1RM, heatmap anual y mapa muscular frontal/posterior por periodo.
- Coach mediante OpenAI Responses API o motor local: diseña y revisa planes, presenta cambios discretos, exige aceptación y conserva una instantánea reversible.
- Administración con actividad en curso, historial reciente, bloqueo, borrado y registro sólo por invitación.
- Temas claro/oscuro/sistema, ocho acentos y selector de 12 idiomas; los catálogos oficiales de UI e instrucciones se cargan bajo demanda desde el commit openGym fijado.
- Importación de JSON, Gym Coach, Strong, Hevy, FitNotes y Apple Health; exportación JSON completa.
- PWA offline y Android Capacitor autónomo: interfaz empaquetada, datos locales sin backend, copias en Documentos, notificaciones por plan/descanso y compartir nativo.
- Persistencia D1 por usuario con revisión optimista, OAuth 2.0/Auth0 y MCP Streamable HTTP.
Configuración
La aplicación usa las variables de runtime documentadas en .env.example. En producción, AUTH0_AUDIENCE debe ser exactamente la URL MCP terminada en /mcp/; el Audience de Auth0, el parámetro OAuth resource y la metadata del recurso protegido deben coincidir literalmente. OPENAI_API_KEY es opcional y nunca se envía al navegador.
Desarrollo
npm install
npm test
npm run typecheck
npm run build
Para generar el APK de depuración:
npm run android:apk
android:apk construye primero la aplicación web autónoma en native-dist, la copia al proyecto Capacitor y ensambla el APK. El artefacto queda en android/app/build/outputs/apk/debug/app-debug.apk. Un APK de distribución requiere una firma propia y no debe reutilizar la clave de depuración.
Licencia y atribución
GNU AGPL-3.0. Esta obra se basa en openGym, creado originalmente por Duarte Santos y mantenido en el fork de referencia por Alex Costa. Consulta LICENSE y NOTICE.md para los avisos completos.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.