Stridee
Stridee Platform Docs

MCP for your AI

Give Claude, GPT or any MCP-capable model your users' health analysis and workout planning as tools — one signed call per conversation, or `stridee mcp` on your own machine.

Every health analysis endpoint is also an MCP tool, served by us. Point a model at it and it can answer "why am I so tired this week?" from the person's own HRV, resting heart rate, sleep and training — and, if you allow it, act on the answer: build a structured workout and send it to their watch. No tool definitions to write, no prompt about what HRV means, no glue.

There are two ways in, for two different people asking. (A third person — someone who uses Stridee itself — connects their own data to ChatGPT or Claude from stridee.com/ai, with nothing to build.)

In your product: one user, per conversation

Your assistant is talking to one of your users. Your server mints a short-lived token for that person and hands it to the model provider's MCP connector with our URL. The model can read that one person's analysis — and nothing else: not another user, and nothing that writes.

post /v1/mcp-tokens
Reference

Mint a read-only MCP token for one of your users.

For your own AI feature: your server calls this for the person your assistant is talking to, and hands the token to the model provider's MCP connector along with mcp_url. The model can then read that one person's health analysis — HRV, resting heart rate, sleep, recovery, cardiac drift, workouts, training load — and nothing else, not another user. With "write": true it may also create, change and delete that user's planned workouts, which are sent to their watch. Mint a fresh one per conversation rather than storing it.

Body parameters
external_user_idstring

Your id for the user, as you passed it to POST /v1/connect.

ttl_minutesinteger · int64

How long the token works, in minutes. Default 60, at most 1440.

user_idstring · uuid

Our id for the user. Give this or external_user_id.

writeboolean

Let the token create, change and delete this user's planned workouts — which sends them to the user's watch. Off by default: a token that reads is the safe one to hand a model you have not finished testing.

Pass token as the connector's bearer and mcp_url as its server. With Claude's MCP connector:

  • Read-only unless you ask. A token without write sees no writing tools at all, and a writing call made with one anyway is refused. Start read-only while you test.
  • Mint per conversation, don't store. A token lasts an hour by default and a day at most (ttl_minutes). We keep only its hash.
  • stridee.post is your signed client — see Signing requests. The token call is signed like every other; the MCP calls that follow are not, because a model provider's connector can only send a bearer.
  • Deleting the user (DELETE /v1/accounts/{id}) ends every token for them.
POST /v1/mcp-tokens
POST /v1/mcp-tokens HTTP/1.1
Host: api.stridee.com
Content-Type: application/json
Content-Digest: sha-256=:…:
Signature-Input: sig1=(…);keyid="…";alg="ed25519"
Signature: sig1=:…:

{
  "external_user_id": "user_4821",
  "ttl_minutes": null,
  "user_id": "4c9a7e15-6d3b-42f8-91c0-8e5b2a7d04f6",
  "write": true
}
Response · 201
{
  "expires_at": "2026-08-05T11:44:02Z",
  "mcp_url": "string",
  "token": "string",
  "user_id": "4c9a7e15-6d3b-42f8-91c0-8e5b2a7d04f6",
  "write": true
}
const { token, mcp_url } = await stridee.post('/v1/mcp-tokens', { external_user_id: user.id });

const reply = await anthropic.beta.messages.create({
  model: 'claude-opus-5-5',
  max_tokens: 2048,
  messages: [{ role: 'user', content: 'Why is my HRV down this week?' }],
  mcp_servers: [{ type: 'url', url: mcp_url, name: 'stridee', authorization_token: token }],
  tools: [{ type: 'mcp_toolset', mcp_server_name: 'stridee' }],
  betas: ['mcp-client-2025-11-20'],
});

At your desk: every user, from Claude Code or Cursor

stridee mcp is a local MCP server that signs each message with your machine's key — the one stridee login registered — and answers for your whole account, writing included, as your key already can. Every tool takes a user_id, and list_users finds one.

stridee mcp
Reference

Serve your users' health data to a local AI client over MCP.

A stdio MCP server for Claude Code, Claude Desktop, Cursor and anything else that launches a local command. Ask about any of your users: HRV against their baseline, resting heart rate, sleep and its regularity, recovery signals, training load, cardiac drift on their workouts, VO2max and training volume — and plan their training: create, change and delete workouts, sent to their watch, as a signed POST /v1/workouts would.

Each message is signed with this machine's key and answered by Stridee; the client never sees the key. Every tool takes a user_id — list_users finds one. For an AI feature in your own product, mint a per-user token with POST /v1/mcp-tokens and use /v1/mcp instead.

Ask it what you would ask a colleague with database access: "which of our users have had HRV below their normal range all week?", "show me Ana's cardiac drift on long runs since March".

Terminal
stridee mcp
Claude Code
claude mcp add stridee -- stridee mcp
Cursor, Claude Desktop
{ "mcpServers": { "stridee": { "command": "stridee", "args": ["mcp"] } } }

The tools

ToolWhat it answers
get_health_overviewEvery metric against the person's baseline; what needs attention
get_metric_trendOne metric over time — VO₂max, resting heart rate, weight, …
get_hrv_analysisHRV against the normal range, its variability, resting heart rate beside it
get_recovery_signalsHRV, resting heart rate, breathing, temperature, sleep, SpO₂ and training load together
get_sleep_analysisNights, stages, and how regular bedtime and wake time are
get_cardiac_driftAerobic decoupling per workout, and its trend across steady ones
list_workouts, get_workoutWorkouts with heart rate, power, zones and drift — never GPS
get_training_volumeHours, distance and ascent per week and sport
get_training_loadFitness, fatigue and form (CTL, ATL, TSB) from heart rate
list_planned_workouts, get_planned_workoutThe user's scheduled workouts and which watch took each
create_workoutWrite. A structured workout, sent to Garmin, COROS, Wahoo, Suunto or Apple Watch
update_workout, delete_workoutWrite. Replace or remove a planned workout, on the watch too
list_connected_sourcesWhich devices are connected and how fresh each one's data is
list_usersstridee mcp only — find the user to ask about

Reading tools are annotated read-only and writing tools as writes, with delete and replace marked destructive. The writing tools take exactly the body POST /v1/workouts takes, so a validation error names the step the way the API does. The server tells the model on connect to confirm before changing anything, and how to read the numbers: against the person's own baseline, one device per metric, how many days a baseline rests on, and that this is not a diagnosis.

Protocol

Streamable HTTP, stateless, JSON responses; MCP 2025-03-26 through 2026-07-28. A GET is a 405, which is what a client probing for an event stream expects.

Something wrong or missing on this page? Tell us in Discord. Need something the API doesn’t do yet? Request it on the roadmap.