NewFive @strave/* packages, 2D replay embeds, and Agent Skills are live

Build for Siege.Ship from day one.

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/sdk
npx skills add Stravegg/skills
sandbox with zero quota
Free
two official SDKs
TS + Effect v4
read-only Builder MCP
No sign-in
zero-secret workload auth
OIDC
Environment mode
src/strave.ts@strave/sdk
import { 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);
}
200 OK · x-strave-sandbox: truequota: 0
{
  "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 }
  }
}
Matches Public API v2 schemas · Switch with one option
AI-native toolingMCP + skills.sh

Give your coding agent the real Siege API.

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.

terminalNo sign-in required
claude mcp add --transport http strave-dev https://strave.gg/api/v2/mcp/dev
npx skills add Stravegg/skills
Endpoint
https://strave.gg/api/v2/mcp/dev
Streamable HTTP

Search 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 only

Start from one prompt

Go from idea to working Siege app in one session.

The prompt points your agent at the Builder MCP, Sandbox IDs, SSE stream, 2D replay embed, and Login with Strave. Copy it or open it in your editor.

Hosted 2D replay embed@strave/replay-embed

Put our 2D replay viewer inside your own site.

Render 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.

2D replay embed guide

Live preview of the Strave 2D replay viewer embedded inside a third-party tournament site.

tournaments.example.com/matches/llh-vs-camaron
postMessage API:player.setRound(6)player.setViewSettings({ playerPath: "trail" })player.play()
Powered by Strave badge enforced in iframe
  1. 01

    Mint an OIDC viewer session

    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-sessions
  2. 02

    Mount with @strave/replay-embed

    Drop in the React component or plain TypeScript controller. Seek rounds, toggle player trails, and control playback over typed postMessage events.

    <StraveReplayEmbed embedUrl={session.embedUrl} />
  3. 03

    Strave streams the compressed .stv

    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 files
Real-time SSE & overlaysAuto-reconnect

Live scores without polling. Custom OBS overlays today.

Stream 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.

Live streams guide
OBS Browser Source1920×1080rev 7
Voltage Series · SandboxLair · R7

LLH

ATK

4
VS
2

CAMARON

DEF

Trigger a sandbox event

overlay.ts · @strave/overlay-sdk
import { createLiveOverlaySource } from "@strave/overlay-sdk";

const overlay = createLiveOverlaySource({
  streamUrl: "https://your-app.example.com/api/strave-stream",
});

overlay.subscribe(({ value }) => renderScoreboard(value));
GET /api/v2/sandbox/events/event_sbx_eml_s7/streamtext/event-stream
  1. match.updatedid: evt_007rev 7

    match_sbx_llh_vs_camaron · Lair 4–2 · phase="live"

  2. playday.updatedid: evt_006rev 6

    playday_sbx_day_1 · overlayScore=[4, 2] · slot="Main"

  3. snapshotid: evt_001rev 5

    event_sbx_eml_s7 · 1 live match · 1 active playday

Self-hosted OBS browser sources work today with createLiveOverlaySource and preview locally via strave overlay dev. Managed Strave overlay hosting is offline for now.
Published on npm

Six focused packages. Zero boilerplate.

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 v4

    Zero-dependency Public API v2 client, Effect v4 Context.Service and Stream layer, OIDC workload auth, pagination, and Web Crypto webhook verification.

    bun add @strave/sdk
  • @strave/cliLocal dev + templates

    Scaffold starter apps, run an offline Sandbox mock server, trigger and relay signed webhooks, preview overlays, and inspect .rec headers.

    bunx @strave/cli help
  • @strave/replay-embedBrowser + React

    Thin iframe controller and React component for Strave's hosted 2D Siege replay viewer with typed postMessage playback controls.

    bun add @strave/replay-embed
  • @strave/overlay-sdkSelf-hosted OBS

    Connect custom OBS browser sources to live Public API v2 SSE streams today via createLiveOverlaySource and preview locally with the CLI.

    bun add @strave/overlay-sdk
  • @strave/authFree Siege identity

    Login 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.

    bun add @strave/auth
  • @strave/api-contractTyped schemas

    Shared Public API v2 request, response, SSE envelope, webhook, and replay session schemas used across every official Strave package.

    bun add @strave/api-contract
Scaffold in one command
bunx @strave/cli init nextjs-auth my-siege-app

Next.js starter with Login with Strave and Sandbox match lookup. (@strave/auth · @strave/sdk)

Sandbox to production

Build free in the sandbox. Ship without static secrets.

Every 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.

Stable Sandbox IDsSandbox docs
Organisationorg_sbx_voltage
Eventevent_sbx_eml_s7
Stagestage_sbx_playoffs
Groupgroup_sbx_bracket_a
Live matchmatch_sbx_llh_vs_camaron
Playdayplayday_sbx_day_1
Teamteam_sbx_llh
Esports eventesports_event_sbx_invitational
POST /api/v2/sandbox/webhooks/sample
curl --request POST https://strave.gg/api/v2/sandbox/webhooks/sample \
  --header "Content-Type: application/json" \
  --data '{ "eventType": "match.result_accepted" }'

Ready for production traffic

  • 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.

Also need player sign-in?@strave/auth

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.

Questions

What builders ask before starting.

Can I build and test without a paid plan?
Yes. Every route under /api/v2/sandbox returns Rainbow Six Siege tournament, match, SSE, webhook, and 2D replay data from a real Strave match with zero API quota usage and no private credentials. You can also run the sandbox offline with bunx @strave/cli mock.
Do I have to use Effect v4?
No. @strave/sdk ships a zero-dependency plain TypeScript client at the root entry point and a first-class Effect v4 client with Context.Service, Schema.TaggedError, and Stream support at @strave/sdk/effect.
How does the 2D replay viewer embed stay secure?
Your backend authenticates with a short-lived OIDC Trusted Workload or OAuth 2.1 JWT to mint a 60 to 900 second embedUrl locked to one match map and your exact HTTPS origin. Static strave_sk_ API keys are rejected, and Strave streams the compressed .stv file directly inside the iframe.
Can I run custom OBS overlays today?
Yes, self-hosted. Use createLiveOverlaySource from @strave/overlay-sdk pointed at your backend SSE proxy or the Sandbox stream, and preview locally with bunx @strave/cli overlay dev. Strave's managed overlay hosting is offline for now.
Does the Builder MCP server require an account?
No. The read-only Builder MCP server at https://strave.gg/api/v2/mcp/dev needs no sign-in or API key. Connect it in Cursor, Claude Code, or Codex so your agent can search routes, inspect scopes, and generate SDK snippets.
Does Login with Strave use my API quota?
No. The openid, profile, siege, and discord identity scopes are free on every plan and never count against your Public API v2 quota.

Build for Siege.
Start in the sandbox.

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.