# JustGains

> JustGains is a freemium MCP server for health and science. Let an AI assistant save workouts, read training history and log meals in JustGains. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** Web, iOS, Android, API
- **Website:** https://justgains.com
- **Repository:** https://github.com/justgains/justgains-connector
- **MCP Registry name:** com.justgains/mcp-server
- **Categories:** health and science
- **Listing updated:** 2026-11-15

## About

JustGains is a free workout tracker with a social side, and this official server lets an assistant act on your own account. The README describes tools to build and save workouts, read training history and progress, search the exercise library, plan routes, and log meals and bodyweight. Public tools such as exercise search and workout generation work without signing in when you run it locally.

The hosted endpoint uses OAuth 2.0 with PKCE and dynamic client registration under workouts, progress and profile scopes, so there is no API key. A local stdio version is available too, written in TypeScript and needing Bun. The repository also serves as a plugin for Grok Bot and Cursor, and a LobeHub manifest is included.

Sample prompts include reviewing the week's workouts and suggesting a 45-minute session, or logging two eggs, toast and a latte for breakfast. The app itself offers squads, a macro tracker, running plans and an optional Pro tier at $79.99 a year.

## Features

- **Save workouts:** Builds and stores workouts in your JustGains account.
- **Training history:** Reads past sessions and progress.
- **Exercise search:** Searches the JustGains exercise library; works without sign-in locally.
- **Food and bodyweight logging:** Logs meals and bodyweight from chat.
- **OAuth sign-in:** Authorization code flow with PKCE; no API key.
- **Hosted or local:** Remote endpoint or a Bun-based stdio server.

## Good for

- Ask for a session suggestion based on this week's training
- Log breakfast by describing it in chat
- Generate a workout and save it to your app
- Review progress before planning next month

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http mcp-server https://justgains.com/connect/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://justgains.com/connect/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp-server": {
      "url": "https://justgains.com/connect/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp-server": {
      "type": "http",
      "url": "https://justgains.com/connect/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-server": {
      "serverUrl": "https://justgains.com/connect/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp-server": {
      "type": "http",
      "url": "https://justgains.com/connect/mcp"
    }
  }
}
```

## FAQ

### Do I need a JustGains account?

Yes, to read or write your own log; some public tools work without one in the local server.

### Is it free?

The app offers free tracking with optional Pro upgrades; Pro renews at $79.99 a year.

### Which clients can connect?

Claude Code, Cursor, LobeHub and other clients that support MCP OAuth.

### What does the local server need?

Bun, and a browser sign-in via bun run login.

### Is JustGains free?

JustGains has a free plan, with paid plans for more usage or features.

### How do I add JustGains to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp-server https://justgains.com/connect/mcp

### What are the best alternatives to JustGains?

The closest alternatives to JustGains are Tooluniverse, Oya Browser, Later Stages, MedXpert 标准检索连接器 and MedXpert 全球法规连接器 (reg-connector).

## Alternatives

- [Tooluniverse](https://ai-powered.com/mcp/tooluniverse): Tooluniverse is an open-source MCP server for health and science.
- [Oya Browser](https://ai-powered.com/mcp/oya-browser): Oya Browser is a freemium MCP server for browser automation.
- [Later Stages](https://ai-powered.com/mcp/later-stages): Later Stages is a free MCP server for health and science.
- [MedXpert 标准检索连接器](https://ai-powered.com/mcp/medxpert-2): MedXpert 标准检索连接器 is a free MCP server for legal and government.
- [MedXpert 全球法规连接器 (reg-connector)](https://ai-powered.com/mcp/medxpert-reg-connector): MedXpert 全球法规连接器 (reg-connector) is a free MCP server for legal and government.
- [Splyt](https://ai-powered.com/mcp/splyt): Splyt is a free MCP server for health and science.
- [Health Agent](https://ai-powered.com/mcp/health-agent): Health Agent is an MCP server for health and science.
- [Pausila](https://ai-powered.com/mcp/pausila): Pausila is a free MCP server for local services.

---
Source: https://ai-powered.com/mcp/justgains
