How to connect Claude to your workout log
To connect Claude to your GainBrain workout log, add a custom connector in Claude with the address https://gainbrain.app/api/mcp, then sign in with your GainBrain account. There is nothing to install and no key to copy. Claude can then read your sessions, volume, records and trends, and answer questions about your own training rather than giving generic advice.
Updated
Claude on the web, desktop and mobile
Claude's web app, desktop app and mobile apps share one list of connectors, so you only do this once.
The quickest way: this button opens Claude with GainBrain's connector already filled in. Choose Add, then Connect, and skip to step 4.
Or add it by hand:
- In Claude, open Customize, then Connectors, and choose Add custom connector.
- Name it GainBrain and paste https://gainbrain.app/api/mcp. Leave the advanced settings empty: no client ID or secret is needed.
- Choose Add, then Connect. A GainBrain sign-in page opens.
- Sign in with the same email or username and password you use in GainBrain. Leave the write option unticked if you only want Claude to read your log.
- You return to Claude, connected. In a chat, make sure GainBrain is switched on under the connectors menu.
On a Claude Team or Enterprise plan, an organization owner adds the connector once, and then each person connects and signs in as themselves.
Claude Code
Claude Code connects to the same address with the same sign-in. Add the server, then authenticate from inside Claude Code:
claude mcp add --transport http gainbrain https://gainbrain.app/api/mcpRun /mcp, pick gainbrain and choose Authenticate. The GainBrain sign-in page opens in your browser.
Check that it worked
Ask Claude to list your last three training sessions. You should see real sessions with their dates and set counts. A new account with nothing logged correctly returns nothing, so log a session in GainBrain first.
What you can ask
GainBrain gives Claude 21 tools. You never call them by name; ask in plain language and Claude picks the right one. Some questions that work well:
- Is my bench press stalling, or was it just a bad few weeks?
- Which muscles have I under-trained over the last two weeks?
- What are my best estimated one-rep maxes right now?
- Which lifts have not progressed in six weeks?
- Fix the 1,000 kg typo in Tuesday's session.
- Build me a push day template from what I actually do.
Reading and writing
A connection is read-only unless you tick the write option when you sign in. With it, Claude can log a session, correct one, save and edit templates, set training targets and add your own exercises.
Every write is shown to you first. Claude sees exactly what would be saved, touching nothing, and saves only after you agree. Corrections change only what they name: fixing one weight leaves every other set, note and time as you logged it.
Privacy
- Claude sees only your own training. That is enforced on the server, not by convention.
- Claude never sees your password. You type it on a GainBrain page, and Claude receives a token that works only for your log.
- The connection renews itself while you use it and lapses after 90 days without use.
- Changing your password disconnects every connector you signed in with.
- Your training data is never used to train AI models.
Other AI assistants
GainBrain is a standard remote MCP server with OAuth sign-in, so other assistants that support MCP connectors may work with it. It is built and tested with Claude.

