TypeScript and Effect v4 SDKs, a zero-cost sandbox, live SSE streams, a hosted 2D replay viewer, and MCP tools built for your coding agent.
bun add @strave/sdknpx skills add Stravegg/skillsimport { createStraveClient, paginate } from "@strave/sdk";
// Zero-cost Siege test data, no API key needed
const strave = createStraveClient({ sandbox: true });
const { data: event, etag } = await strave.events.get(
"event_sbx_eml_s7",
);
for await (const match of paginate((cursor) =>
strave.events.listMatches(event.id, { cursor }),
)) {
console.log(match.id, match.status, etag);
}{
"id": "event_sbx_eml_s7",
"name": "Voltage Series | S7 – EML Secondary Tournament",
"status": "ongoing",
"revision": 7,
"stages": [
{
"id": "stage_sbx_playoffs",
"name": "PlayOffs",
"format": "single_elimination"
}
],
"liveMatch": {
"id": "match_sbx_llh_vs_camaron",
"map": "Lair",
"score": { "llh": 4, "camaron": 2 }
}
}Stop pasting stale snippets into chat. Connect the read-only Builder MCP server without signing in, or install the official Strave skills so Claude Code, Cursor, and Codex inspect real routes, scopes, and sandbox IDs directly.
claude mcp add --transport http strave-dev https://strave.gg/api/v2/mcp/dev
npx skills add Stravegg/skillshttps://strave.gg/api/v2/mcp/devSearch live Public API v2 and Sandbox routes by keyword or scope.
search_api_operations({ query: "viewer session" })
-> POST /api/v2/replays/{matchId}/{mapIndex}/viewer-sessions
scopes: ["event:read"] · auth: OIDC/OAuth 2.1 JWT onlyRender full Rainbow Six Siege rounds inside your match pages or recap hub without shipping parser binaries, map geometry, or raw .rec files. Test it free in Sandbox with a recorded map from a real match.
Live preview of the Strave 2D replay viewer embedded inside a third-party tournament site.
player.setRound(6)player.setViewSettings({ playerPath: "trail" })player.play()Your server exchanges a short-lived OIDC workload JWT for a signed embed URL bound to one match map and your exact HTTPS origin. Static API keys are rejected.
POST /api/v2/replays/{matchId}/{mapIndex}/viewer-sessionsDrop in the React component or plain TypeScript controller. Seek rounds, toggle player trails, and control playback over typed postMessage events.
<StraveReplayEmbed embedUrl={session.embedUrl} />Inside the iframe, Strave loads compact viewer data from Strave storage, enforces any live broadcast delay, and renders the Powered by Strave badge.
TTL 60–900s · origin-locked · zero .rec filesStream tournament, match, and playday updates over Server-Sent Events with automatic Last-Event-ID resume. Drive Discord bots, live brackets, or self-hosted OBS browser sources with one stream.
LLH
ATK
CAMARON
DEF
Trigger a sandbox event
import { createLiveOverlaySource } from "@strave/overlay-sdk";
const overlay = createLiveOverlaySource({
streamUrl: "https://your-app.example.com/api/strave-stream",
});
overlay.subscribe(({ value }) => renderScoreboard(value));match_sbx_llh_vs_camaron · Lair 4–2 · phase="live"
playday_sbx_day_1 · overlayScore=[4, 2] · slot="Main"
event_sbx_eml_s7 · 1 live match · 1 active playday
Install only the pieces your Siege app needs. Every package ships strict TypeScript types and runs in Node.js, Bun, and edge runtimes.
@strave/sdkTypeScript + Effect v4Zero-dependency Public API v2 client, Effect v4 Context.Service and Stream layer, OIDC workload auth, pagination, and Web Crypto webhook verification.
@strave/cliLocal dev + templatesScaffold starter apps, run an offline Sandbox mock server, trigger and relay signed webhooks, preview overlays, and inspect .rec headers.
@strave/replay-embedBrowser + ReactThin iframe controller and React component for Strave's hosted 2D Siege replay viewer with typed postMessage playback controls.
@strave/overlay-sdkSelf-hosted OBSConnect custom OBS browser sources to live Public API v2 SSE streams today via createLiveOverlaySource and preview locally with the CLI.
@strave/authFree Siege identityLogin with Strave preset for Better Auth and React. Get a player's Ubisoft account, PC and console Siege profiles, and Discord ID with zero API quota.
@strave/api-contractTyped schemasShared Public API v2 request, response, SSE envelope, webhook, and replay session schemas used across every official Strave package.
bunx @strave/cli init nextjs-auth my-siege-appEvery route under /api/v2/sandbox mirrors production schemas against a fixed snapshot of a real Voltage Series final and returns x-strave-sandbox: true. No paid plan or private token required while you build.
| Organisation | org_sbx_voltage | |
|---|---|---|
| Event | event_sbx_eml_s7 | |
| Stage | stage_sbx_playoffs | |
| Group | group_sbx_bracket_a | |
| Live match | match_sbx_llh_vs_camaron | |
| Playday | playday_sbx_day_1 | |
| Team | team_sbx_llh | |
| Esports event | esports_event_sbx_invitational |
curl --request POST https://strave.gg/api/v2/sandbox/webhooks/sample \
--header "Content-Type: application/json" \
--data '{ "eventType": "match.result_accepted" }'Zero-secret OIDC Trusted Workloads
Exchange short-lived JWT assertions from Vercel, GitHub Actions, or your backend instead of storing long-lived API secrets. Required for 2D replay viewer sessions.
Web Crypto HMAC-SHA256 webhooks
Verify strave-webhook-signature headers with constant-time comparison in @strave/sdk/webhooks, and test signed deliveries offline via strave trigger.
Strong ETag revisions and idempotency
SDK writes send Idempotency-Key and If-Match headers so retries never duplicate bracket updates or overwrite live overlay scores.
Free Login with Strave
The siege and discord OIDC scopes return the player's Ubisoft account, PC and console Siege profiles, and Discord ID with zero API quota used.
Add Login with Strave to skip manual Ubisoft name forms. One OpenID Connect flow gives your app the player's Ubisoft account, Siege profiles on PC and console, and Discord account.
Connect the Builder MCP, scaffold a starter with @strave/cli, and switch to live tournament and esports data with one config change when you are ready.