Context7
Feeds AI the latest docs for libraries and frameworks before it answers, so code it writes does not use outdated, removed functions.
Description from the maker (original English)
Save workouts, read training history and progress, search exercises, and log food in JustGains.
These three are never merged into one score: opinions, measurements and popularity are different things.
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
Pick the AI app you use, then copy the settings.
You need
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Works in Claude on the web, desktop and mobile:
https://justgains.com/connect/mcpRun this in your terminal
claude mcp add --transport http justgains https://justgains.com/connect/mcpPaste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"justgains": {
"url": "https://justgains.com/connect/mcp"
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Paste into .vscode/mcp.json in your project
{
"servers": {
"justgains": {
"type": "http",
"url": "https://justgains.com/connect/mcp"
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
ChatGPT connects only to servers on the internet:
https://justgains.com/connect/mcpMenu names can differ slightly by plan and over time.
Your choice stays on this device in a cookie; no account needed.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
We have not read this server’s tool list yet; we check endpoints in rotation.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 7, 2026
The registry name was verified against the domain justgains.com (the registry checks domain ownership)
We have not read this repo from GitHub yet
We have not read this repo from GitHub yet
Not checked yet; we check endpoints in rotation
Not checked yet; we check endpoints in rotation
Not checked yet; we read the tool list when we check the endpoint
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
The registry does not list a required key, though some servers ask you to sign in on first use.
It runs in the maker’s cloud. Connect over the internet with nothing to install, but what you send passes through the maker’s servers.
The GitHub repo last changed –, and the latest version (1.0.0) reached the registry 25 days ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. It connects by URL, so apps that accept remote MCP servers work too, such as ChatGPT in developer mode.
In the same category: Context7, Codebase Memory, Exa
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Feeds AI the latest docs for libraries and frameworks before it answers, so code it writes does not use outdated, removed functions.
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
The official JustGains MCP server. It lets an AI agent build and save workouts, read a person's training history and progress, search the JustGains exercise library, plan routes, and log meals and bodyweight in their JustGains account.
There are two ways to run it: connect to the hosted server (nothing to install), or run the stdio server in mcp-server/ on your own machine.
| Endpoint | Transport | Auth |
|---|---|---|
https://justgains.com/connect/mcp | Streamable HTTP | OAuth 2.0 |
Add it as a remote MCP server and complete the browser sign-in with the JustGains account you use on your phone. An unauthenticated request returns 401 with a WWW-Authenticate challenge, so MCP clients start the sign-in on their own. Authentication uses the authorization code flow with PKCE S256, dynamic client registration, and the workouts progress profile scopes. No API key is needed and no credentials are stored in this repository.
Claude Code:
claude mcp add --transport http justgains https://justgains.com/connect/mcp
Cursor and other clients that read an mcpServers file:
{
"mcpServers": { "justgains": { "url": "https://justgains.com/connect/mcp" } } }
This repository is also the JustGains plugin for Grok Bot and Cursor (.cursor-plugin/plugin.json, mcp.json, .mcp.json), which connects to https://justgains.com/grok/mcp, the same server and tools. In Grok Bot, open Marketplace, find JustGains when its listing is available, and choose Add, then complete the JustGains authorization in your browser. Mention JustGains with @ in a conversation to use it. Marketplace listing requires review; publishing this repository does not mean the listing has been approved. Where custom MCP servers are allowed, add a Remote HTTPS server with either URL. Team policies may restrict custom servers.
mcp-server/ is a stdio MCP server written in TypeScript on the official MCP SDK. It serves the live JustGains tool catalog, so its schemas always match the hosted server, and executes each call through the JustGains tool API as the signed-in user. It needs Bun.
git clone https://github.com/JustGains/justgains-connector.git
cd justgains-connector/mcp-server bun install bun run login # opens the JustGains sign-in in your browser
login runs the same OAuth flow as the hosted server with a loopback redirect and stores the rotating refresh token in ~/.justgains/mcp-credentials.json. Without signing in, the public tools (exercise search, workout generation and previews) still work. Then point your client at the server:
{
"mcpServers": { "justgains": { "command": "bun", "args": ["run", "/path/to/justgains-connector/mcp-server/src/index.ts"] } } }
| Variable | Purpose |
|---|---|
JUSTGAINS_ACCESS_TOKEN | Use this access token instead of the stored sign-in. |
JUSTGAINS_MEASUREMENT_SYSTEM | imperial or metric for summaries and cards. Unset uses imperial. |
JUSTGAINS_CREDENTIALS | Where login stores credentials. |
The Dockerfile builds and runs the same stdio server.
Tools marked "account" need a signed-in user. Every tool declares its read-only, destructive and open-world hints.
Workouts
generate_workout: build a saved workout from a plain-language request ("30-minute dumbbell push day"). Works without an account.show_workout: show a workout's exercises, sets and rest by ID.create_workout, update_workout (account): save or edit a workout with exact exercises, sets, reps, loads and set types.search_exercises: search the exercise library by name, muscle group or equipment, returning the exact exercise codes the write tools need.get_exercise_details (account): instructions, muscles and equipment for one exercise.Training history and progress (account)
get_my_workout_logs, get_workout_history: completed workouts with dates, exercises and top sets.get_my_exercise_history: every recorded set of one lift, plus the personal best.get_my_top_exercises, get_progress, summarize_my_week, analyze_my_consistency: rankings, volume, weekly recap, streaks and training frequency.Programs and routes (account)
search_workout_programs, get_workout_program: browse multi-week programs.create_workout_program, set_my_program_engagement: create a program, or start or leave one.create_route: plan a road-and-path-snapped run, ride, walk or hike route.Food and bodyweight (account)
log_my_food: log a whole meal in one call, with disclosed estimates when portions are missing; also corrects an earlier entry.get_my_food_diary, search_foods, remove_my_food: read the diary and daily macros, search the food catalog, delete entries.log_my_weight, get_my_weight_history: bodyweight entries and trend.get_my_profile: the user's profile, units and preferences.Read the live catalog with full input schemas at justgains.com/mcp/tools, or the OpenAPI contract.
A generated workout is a saved plan. Open its returned JustGains link to review the exercises, start the session, and log the sets you complete. Creating a plan does not record a completed workout. Meal logging uses the connected user's food diary; missing portion details and nutrition estimates are disclosed. The mobile app receives those changes through its usual sync.
Tool responses include text and links, so the server works in hosts without MCP Apps cards. Hosts that support MCP Apps also get interactive workout and food cards. After a write timeout, check the result before retrying. Food logging retries must keep the original requestId to avoid duplicate entries.
bun run verify (from the repository root) validates the plugin manifest and bundled paths, performs MCP initialization and tool discovery against production, searches the public exercise library, checks OAuth metadata and registration, and verifies that unauthenticated requests cannot read a private profile. It never creates workouts or food entries.
The MIT license in this repository applies to this connector package and the stdio server, not to the hosted JustGains service.