Back to news
FeatureSpodi

AI agents and MCP in Spodi Premium

Connect Claude Code, Cursor, Codex or your own agent to Spodi over MCP. Your agent reads workout history, Apple Health sleep and set videos, answers from your real numbers and saves templates straight to the app.

AI agents and MCP in Spodi Premium

You can now connect your own AI agent to Spodi over MCP. It is included with Spodi Premium. The built-in AI coach chat is still there - MCP is for when you want to analyze workouts and plan training inside the agent you already use every day: Claude Code, Cursor, Codex or your own script.

What you can ask

Once connected, your agent reads your actual workouts, lifts, body measurements and Apple Health data instead of giving generic advice.

Example AI agent answer from Spodi data: sleep, resting heart rate, bench press 1RM chart and today's plan
Your agent combines workouts, lift trends and Apple Health to answer from real numbers

Questions people ask right after a session or before a new training week:

  • “How did I recover after yesterday's heavy back session - should I go for a bench PR today?”
  • “Plot my bench and squat 1RM over the last six months alongside my body weight.”
  • “How many working sets per muscle group did I log each week over the past two months - where am I falling behind?”
  • “Review the video of my last squat set and tell me what to fix.”
  • “Build a 3-day program for my dumbbells and pull-up bar and save it to Templates.”
  • “Open this template link spodi.ru/t/... and adjust the working weights to match my history.”
Squat form review from set video frames alongside the saved workout template in Spodi
Your agent reviews set video frames and saves a ready-to-start template straight into Spodi

With write access enabled, your agent saves new templates and programs (up to 14 days) directly into Templates on web and iPhone - just tap Start. It never touches past workouts or your own templates: it can only edit or delete templates created by that same key before you edit them yourself.

Three steps to connect

1. Create a key in Spodi

Open Profile → AI agents on the web or in the iOS app and tap “+”.

Give the key a name (for example, “Claude Code · Laptop”), pick a lifetime - 30, 90, 180 days or 1 year - and choose Read only or Read and write.

Spodi asks you to confirm with your password or 2FA code, then sends an email and push notification when the new key is issued.

New AI agent key sheet in Spodi: name, lifetime and access rights
Name, lifetime and access level

2. Copy your key and server address

Right after confirmation you get a personal key starting with spodi_pk_… and the MCP server address: https://api.spodi.ru/mcp.

The key is shown once - Spodi stores only its hash. If you lose it, disconnect the old key and create a new one.

Issued spodi_pk key and https://api.spodi.ru/mcp address with Copy buttons
The key is shown once

3. Paste it into your AI client

Claude Code - one command in your terminal:

claude mcp add --transport http spodi \
  https://api.spodi.ru/mcp \
  --header "Authorization: Bearer YOUR_KEY"

Cursor - add the server to mcp.json (Settings → MCP):

{
  "mcpServers": {
    "spodi": {
      "url": "https://api.spodi.ru/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_KEY"
      }
    }
  }
}

Codex CLI - add this block to ~/.codex/config.toml and store the key in SPODI_MCP_KEY:

[mcp_servers.spodi]
url = "https://api.spodi.ru/mcp"
bearer_token_env_var = "SPODI_MCP_KEY"

Any other MCP client that supports Streamable HTTP works the same way: point it to https://api.spodi.ru/mcp with the header Authorization: Bearer YOUR_KEY. Start a new session and ask about your last workout.

What your agent sees - and what stays private

Shared with the agent: training profile, completed workouts and sets, full history table for custom charts, exercise progress, weekly muscle load, body measurements, daily Apple Health metrics (sleep, resting HR, HRV, steps, nutrition - when Apple Health is connected), templates, programs, shared links spodi.ru/t/… and set videos (12 image frames plus an optional 15-minute mp4 link).

Never shared: your name, email, phone, avatar, VK or Yandex ID logins, payments and receipts, your coach's program or comments (only workouts you already completed), and exercise catalog technique text or media.

Full control: keep up to 5 active keys per account. Each row shows access level, expiry date and last request time. Disconnect revokes access immediately while keeping any templates already saved. Changing your password does not revoke keys - disconnect unused keys here.

Connected AI agents list in Spodi with expiry dates, last request time and Disconnect buttons
Active keys and instant disconnect

Limits

Each key is limited to 60 requests per minute, and each account to 2,000 requests, 30 new templates and 20 set video reviews per day. If your Premium subscription expires, your keys stay listed and resume automatically once you renew.

Create your first key in Profile → AI agents (requires Spodi Premium).


Train with Spodi

We make training simpler and more convenient