AI fitness coaching with Gemini CLI
Gemini in your terminal, with your Memory.fit one tool call away. Connect Memory.fit once and Gemini CLI coaches you from your real training, fueling and recovery.
Memory.fit works with the AI you already use. It isn't a coaching app, and it doesn't connect to one.
Developer setup
Read 12 weeks of workouts and fuel logs from Memory.fit. Here's the page, with your long rides highlighted.
Saved to Memory.fit by Gemini CLI
Setup
How to connect Gemini CLI to Memory.fit in 3 steps
- 01
In the Memory.fit app, open Settings → AI agents → Gemini CLI and create your key.
- 02
Add the block to ~/.gemini/settings.json (httpUrl, not url).
- 03
On Antigravity CLI (its successor for personal accounts), use ~/.gemini/config/mcp_config.json and serverUrl instead.
{
"mcpServers": {
"memory-fit": {
"httpUrl": "https://api.memory.fit/mcp",
"headers": { "Authorization": "Bearer mem_pat_your_key" }
}
}
}Your Memory.fit link is api.memory.fit/mcp. No passwords are shared with Gemini CLI; you can disconnect it at any time.
Coaching
What can Gemini CLI do with Memory.fit?
Read your real data
Gemini CLI can pull your workouts, sleep, daily metrics, trends and Fuel Score as tool calls.
Build your own dashboards
Chart a season of long rides, weekly volume or carbs per hour without exporting a single file.
Write plans back
Sessions, week intent, meal plans and fueling timelines written by code show up in the Memory.fit app.
Fueling from the engine
Ask for a session fuel plan and get targets from Memory.fit's sports-science engine, not a guess.
Log in bulk
Import meals or weigh-ins from another tool, each one marked with who logged it and how.
Scoped and revocable
Your key carries only the permissions you chose. Revoke it in the app and it stops working at once.
Try it
What can I ask Gemini CLI?
Build a dashboard
“Build me a page that charts my weekly bike hours and average carbs per hour over the last 12 weeks.”
Find a pattern
“Compare my sleep with my next-day session quality over the last two months. Anything I should change?”
Import history
“Read this CSV of last year's weigh-ins and log each one to Memory.fit.”
Script the week
“Write a script that plans next week's sessions from my race date and saves them to Memory.fit.”
About Gemini CLI
What is Gemini CLI?
Gemini CLI is Google's agent in your terminal. Add Memory.fit as an MCP server and your training data is one tool call away.
What is Memory.fit?
Memory.fit is the data and memory layer for the AI you already use. It connects Apple Health, Withings and TrainingPeaks (and shows Strava in the app), keeps your goals, plans and fueling, and shows it all in the Memory.fit app. Your AI does the talking; Memory.fit does the remembering.
Good to know
Pricing, privacy and troubleshooting
What does it cost?
Memory.fit is $9 a month or $69 a year, with 7 days free. Gemini CLI's own plan is separate.
Prices shown for your region. Your store shows the final price.
See pricingIs my data safe?
Stored in the EU and encrypted. You choose what Gemini CLI may change, every action shows in your feed, and you can disconnect it in one tap.
Something not working?
- Unauthorized or 401. The key was mistyped or revoked. Create a new one in the Memory.fit app and paste it again.
- Too many calls. Each connection has an hourly limit. Wait for the time Memory.fit gives you and try again.
- Gemini CLI doesn't use Memory.fit. Mention Memory.fit in your message ("check Memory.fit", "use my Memory.fit data"), or switch the connector on for the chat if Gemini CLI asks.
- The numbers look old. Memory.fit shows what your apps have synced. Open your watch's app and Apple Health once, then check Settings → Health data in the Memory.fit app.
Free tools
Free tools to hand to Gemini CLI.
Work out a number, then copy the prompt or open it in Gemini CLI with your result filled in.
- Race Fuel PlannerCarbs, fluid and sodium per hour for your race.
- AI Prompt BuilderA ready prompt for your AI to plan your next two weeks.
- Sweat Rate CalculatorYour sweat rate from two weigh ins.
Questions
Gemini CLI and Memory.fit, in short.
3 steps: In the Memory.fit app, open Settings → AI agents → Gemini CLI and create your key. Add the block to ~/.gemini/settings.json (httpUrl, not url). On Antigravity CLI (its successor for personal accounts), use ~/.gemini/config/mcp_config.json and serverUrl instead.
No. Gemini CLI is the coach. Memory.fit gives it your training data, your plans, your fueling and a lasting memory of you, and shows it all in the Memory.fit app.
Your workouts, sleep, daily metrics, fuel log, goals and plans. You choose what it can change: reading is always on, changing your plan is opt-in.
Only if you allow it. Every change shows in the app with Gemini CLI's reason, and you can undo it in one tap.
Memory.fit is $9 a month or $69 a year, with 7 days free.
Garmin, COROS, Polar, Suunto, Wahoo, WHOOP, Oura, Withings, Apple Health, Health Connect, intervals.icu and TrainingPeaks connect directly. Nutrition apps like MyFitnessPal and Cronometer arrive through Apple Health and Health Connect. Strava shows inside the Memory.fit app only, because Strava doesn't allow its data in AI tools.
Yes. Connect as many as you like. They read and write the same memory, so nothing is lost when you switch.
In the Memory.fit app, open Settings → AI agents → Gemini CLI and tap Disconnect. Access stops immediately.
AI Coaches
Use Memory.fit with other AI coaches
Always-on agents
Coding agents
Build your own
Your next chapter starts with everything you've learned.
On Android now. iPhone is coming: join the waitlist and we'll email you the day Memory.fit is on the App Store.
No spam. One email when it's ready.