Skip to content

Documentation & API

Learn the platform.

Consumer guides, betting math references, OpenAPI schemas, MCP server setup, and public JSON feeds for Shark Snip.

Get started

3 items

Learn

4 items

Reference

3 items

Developer setup & MCP

6 items

JSON-RPC 2.0 over Streamable HTTP. POST initialize, then tools/list and tools/call. Requires a Sharkai API key from /settings/api-keys and an active subscription with MCP access.

OpenAPI schemas & AI guides

5 items

Machine-readable OpenAPI 3.1 contracts and assistant routing indexes.

Public API feeds

17 items

Unauthenticated JSON reads for public v1 mirrors, live sportsbook lines, and NFL player or team entities.

Sharkai MCP · Protocol 2025-11-25

Streamable HTTP MCP (/api/mcp)

Point any MCP client at https://sharksnip.com/api/mcp. Unauthenticated initialize, ping, tools/list, and 12 public onboarding tools return HTTP 200; paid tools/call operations require a paid ssk_live_ bearer key from /settings/api-keys.

Full API & MCP docs →
Browse live MCP tool catalog (84 of 84 tools)
ToolFamilyPlanDescription
get_betssnapshotfreeReturn betting markets in a date window per sport.
get_event_contextsnapshotfreeEvent + markets + model results + linked news in one call.
get_newssnapshotfreeHeadlines for NFL by default. Optional sport: nfl, nba, mlb, nhl, or all for all sports. Optional eventId filters to linked news.
explain_picksnapshotfreeExplain one market using model edge, line movement, and news.
injury_reportsnapshotweeklyCurrent injury designations per sport (optional team filter).
weather_reportsnapshotweeklyForecast for an outdoor event (wind / precip / temp).
pace_and_efficiencysnapshotweeklyRolling pace + offensive/defensive efficiency per team.
line_historysnapshotweeklyOpen→current line history for one market across books.
market_movementsnapshotweeklyTop line movers in a recent time window.
consensus_pctsnapshotweeklyPublic bet % and handle % for one market (when available).
model_resultssnapshotweeklyPublished model probabilities, fair odds, market price comparison, and confidence across markets.
team_recent_formsnapshotweeklyLast-N games splits (ATS, totals, situational) per team.
ref_assignmentssnapshotweeklyReferee crew assignments + crew tendencies (penalties / pace).
top_edgessnapshotfreeTop model-vs-market edges right now (ranked by EV).
nfl_key_number_ratessnapshotfreeDeterministic NFL regular-season key-number margin frequencies (1999-2025, n = 6,967 completed games) plus spread proximity to 3 and 7 under Sharkai positive-home convention.
draft_slipslipfreeAssemble a sportsbook or pickem slip from leg specs; checks correlation and operator schedules, returning correlation-aware Kelly stake and risk notes when independent or SGP-quoted. No execution.
kelly_sizeslipfreeKelly stake from win probability + American or decimal payout odds + bankroll fraction.
find_arbslipweeklyCross-book arbitrage candidates above a net return threshold.
compare_booksslipweeklyBest price per book for a given market.
sgp_check_correlationslipfreeAudit same-game parlay leg pairs for opposing sides, duplicates, correlation groups, and joint win-chance bounds.
parlay_evslipfreeExpected value of a parlay from calibrated leg probabilities and posted odds, with bounded correlation adjustments when gameId/playerId overlap and refusing conflicting legs.
hedge_calcslipfreeHedge stake to equalize net return across outcomes at a current line.
clv_checkslipfreeClosing line value: bet odds vs market close.
no_vig_priceslipfreeRemove vig from a two-way or 2..8 outcome market given American odds (<= -100 or >= 100, never in (-100, 100)) via proportional, power, or Shin devigging; returns fair probabilities, fair prices, overround, hold, and Shin z.
devig_marketslipfreeDeterministic 2-to-12-way American vig removal (proportional, power, or Shin) accepting outcomes[] or americanOdds[] and returning fair win probabilities, fair odds, overround, and hold.
calculate_evslipfreeDeterministic unit expected value, dollar expected return, and break-even win probability from fair win probability and American or decimal odds.
kelly_stakeslipfreeDeterministic quarter-Kelly default stake calculator with $0.00 non-positive expectation floor, 5.0% bankroll cap on stakeDollars, and 2.5%/5.0% bankroll variance warnings.
parlay_vig_breakdownslipfreeDeterministic 2-to-12-leg parlay vig breakdown computing per-leg fair probabilities, compounded overround, compounded hold, and independent ticket EV.
ev_calcslipfreeExpected value from American or decimal book odds plus either a fair win probability or a two-way sharp market to devig; returns decimal odds, break-even probability, fair odds, win-probability delta, expected return, net return, EV percentage, and optional quarter/half Kelly stakes.
list_user_modelsuser-dataweeklyList the caller's own model_cards (calibration, status, target).
list_user_bet_slipsuser-dataweeklyUNAVAILABLE: the bet queue has no backing store in production; this tool returns an explicit unavailable source, never rows.
list_user_settleduser-dataweeklyCaller's recent settled bets (user_bets table).
calibration_reportuser-dataweeklyCaller's model calibration (predicted vs realized win rate by bucket).
my_clvuser-dataweeklyCaller's recent CLV across placed bets.
my_roiuser-dataweeklyCaller's ROI breakdown by sport / market / book.
my_streaksuser-dataweeklyCaller's current win/loss streaks per sport.
my_dashboard_summaryuser-dataweeklyOne-shot dashboard summary: models, settled record, ROI, streaks, and closing line value.
list_top_free_modelsstudio-readweeklyTop public model_cards by recent ATS / Brier / ROI.
diff_blueprintsstudio-readweeklyDiff two ModelCards' recipes (slot-by-slot, brick id/version/params).
suggest_model_improvementsstudio-readproGiven a user ModelCard, propose recipe tweaks (slot brick swaps, missing features) vs leaderboard gap.
propose_blueprintstudio-readproPropose a recipe from scratch. Returns canonical slot shape {data, features, target, slice, architecture, staking, ensemble} pinning bricks by {id, version, params?}.
validate_blueprintstudio-readproDry-run check on a recipe: slot taxonomy correct, all brick ids exist in brick_registry, schedules-v1 in features, positive=home spread, no leakage slugs.
get_backtest_resultsstudio-readproBacktest results for a ModelCard: Brier, ATS, ROI by week / season.
explain_receiptstudio-readproExplain why an owned research receipt reads the way it does: its provenance bindings, terminal status and lineage. Does NOT return the evaluation population — inspect_research_run does, and records the look.
explain_gate_failurestudio-readproThe concrete criterion an owned research run failed, quoted from the executor receipt. A run that cleared its gate is reported as having no failure.
inspect_research_runstudio-readproInspect an owned research receipt, including failed and rejected experiments and their lineage.
compare_research_runsstudio-readproCompare two owned completed experiments only when their verified evaluation context matches. Returns evidence, never an automatic winner.
save_research_resultstudio-writepro (models:write)Save a verified completed research result as a named Builder draft with trusted receipt references. Does not publish the model.
get_training_statusstudio-readproStatus of a submitted training run (queued/training/backtesting/done/failed).
run_walk_forwardstudio-readproStart a cooperative Sharkai multi-season chronological season-by-season lift evaluation and return a pollable wf_<uuid> MCP task handle.
get_builder_statestudio-readproLive snapshot of the caller's recipe draft for the /build right-rail Sharkai chat. Returns slug, sport, objective, slotsFilled[], lastTrainingStatus, lastBacktestSummary — same shape the client sends as `builderContext`. Use to refresh state mid-conversation after the user has trained, backtested, or edited slots in a different tab.
clone_blueprintstudio-readpro (models:write)Fork a public ModelCard's recipe as the caller's draft (returns new ModelCardId in draft status).
submit_training_runstudio-writepro (models:write)Queue a validated execution snapshot from an owned modelCardId or an inline recipe. Returns its provenance; queued does not mean evaluated.
publish_modelstudio-writepro (models:write)Promote a completed run to a published model (requires TF.js artifact in storage).
revoke_training_runstudio-writepro (models:write)Cancel a queued or in-flight training run.
create_modelstudio-writepro (models:write)Create a DRAFT model_card in the caller's account (status "draft", appears at /build/<id>). Requires a key with the models:write scope. slots must be the model slot recipe: {data: SlotRef[], features: SlotRef[], target, slice, architecture, staking, ensemble} where each SlotRef is {id, version}. Nothing executes; the owner trains in the normal /build flow.
export_user_predictionsuser-dataweeklyExport the caller's predictions for a model to ndjson in Supabase Storage. Returns signed URL the browser can hand to DuckDB-WASM for cold-history scans. Optional `season` filter; defaults to 'all'.
list_user_prediction_filesuser-dataweeklyList the caller's previously-exported prediction ndjson files in Storage with signed URLs.
my_profileprofileweeklyCaller’s profile (id, email, plan_tier, region, age verified).
my_entitlementsprofileweeklyCaller’s entitlement context: tier, active passes, MCP rate limit.
my_settingsprofileweeklyCaller’s settings: notification prefs, default sport, risk caps.
podcast_buzzmentionsfreeMedia buzz leaderboard from podcast, video, and community discussion: who analysts are talking about, with mention counts, sentiment (bullish/bearish), trend direction, latest take, and anonymized crowd themes reported only for leaders linked to a resolved game kickoff and observed strictly before it (otherwise null). Subreddit discussions return anonymized topic themes and aggregate metrics only (zero verbatim Reddit quotes).
player_chattermentionsfreeRecent media takes about one player: chronological takes with sentiment, source, anonymized themes, and prop implications (over/under leans). Subreddit discussions return anonymized topic themes and aggregate metrics only (zero verbatim Reddit quotes), filtered before game start when linked to a game.
training_coachstudio-readproCoach a training run from its metrics: returns a keep/kill/tune verdict plus 1-2 concrete levers. Pure logic over the passed numbers (no DB). ATS breakeven is 52.4% (-110 vig); below that and below the leader median → likely kill. Example: "ATS 49% under the 52.4% breakeven after 6 folds and below the 53% leader median — KILL; consider a different target or add the market-line feature."
get_game_commentaryperspectivesfreeReturn banked Sharkai commentary or structured angle summary for a game, optionally scoped to any unified angle ID across Sharkai, Lab roster, and narrative registries.
get_news_reactionsperspectivesfreeReturn banked reactions from every Sharkai perspective for a news item. Answers from the bake; degrades to a typed unavailable result before the bake table lands (never a 500).
discover_graded_lensesperspectivesfreeDiscover Sharkai and Lab angles across NFL, NBA, MLB, and NHL with graded season or trailing-300 records, role classifications, prop/game market scopes, and pregame crowd summaries.
get_crowd_divergenceperspectivesfreeReturn pregame crowd mood, injury anxiety, discussion velocity, anonymized topic themes, and market divergence strictly observed before game start for a sport and team, game, or player.
test_theorytheoryfreeGrade a betting theory stated in free text. Tier-1 parse → slice AST → precompiled top-slice cache → a graded record (shrunk hit rate, sample size, trust band, caveat). Unknown terms return a structured did-you-mean chip set; never a naked raw record. Flag-gated.
run_theorytheoryfreeRun a betting situation stated in plain English through the live Theory Tester DB query and return the shrunk ATS record (wins-losses-pushes, effective n, shrunk %) plus an "open in Theory Tester" link. Unknown situations return an honest refusal listing what the tool knows. Distinct from test_theory (precompiled slab): this one executes the live query against settled games.
get_event_oddssnapshotweeklyCache-first current odds for one NFL event: OUR own capture first, PropLine on a cache miss or stale read, written through so the next call is a hit. Every payload names its provenance (our_capture | vendor:propline).
get_line_historysnapshotweeklyCache-first line-movement history for one NFL event across our captured markets (moneyline/spread/total), falling through to PropLine odds/history on a stale read. PropLine coverage is observed shallow (~4 days as of 2026-08-30) -- see the provenance and coverage note in the response, never assume full-season depth.
get_event_resultssnapshotweeklyCache-first final score for one NFL event. OUR own grading is authoritative once the game is final. A vendor:propline preliminary result may surface while the game is live and our own pipeline has not graded it yet -- ALWAYS check provenance; a vendor:propline result here is never our official graded outcome.
get_key_number_readsnapshotfreeHistorical NFL margin-of-victory (key number) distribution, computed live from our own completed games. No vendor source exists for this analytic -- always our_capture.
get_public_track_recordsnapshotfreeReturn graded Sharkai house performance from cached public snapshots across window (30d|90d|365d|all), sport, and betType/class filters, with zero private model identifiers.
get_academy_topiceducationfreeReturn Sharkai Academy quantitative modeling guides (or list all Academy topics when topicId is omitted) with responsible-gambling guidance.
get_sharp_lessoneducationfreeReturn a Sharp School sharp-betting fundamentals lesson by slug (or list the full curriculum when slug is omitted) with responsible-gambling guidance.
get_fantasy_projectionsfantasyfreeRead canonical fantasy player projections across NFL, NBA, MLB, and NHL, honoring the viewer equipped model on current-week NFL reads.
get_fantasy_rankingsfantasyfreeRead canonical fantasy positional or overall rankings across NFL, NBA, MLB, and NHL, honoring the viewer equipped model on current-week NFL reads.
fantasy_start_sitfantasyfreeCompare 2 to 50 fantasy players for start/sit decisions across NFL, NBA, MLB, and NHL with canonical scoring and pairwise margin.
fantasy_trade_analyzerfantasyfreeEvaluate a fantasy trade across NFL, NBA, MLB, and NHL: NFL multi-week queries return non-extrapolated weekly standing context; NBA, MLB, and NHL return graded rest-of-season deltas.
fantasy_waiver_finderfantasyfreeFind fantasy waiver pickups: returns league-scoped available players and FAAB bids for an owned league across NFL, NBA, MLB, and NHL, or the public NFL waiver snapshot when leagueId is omitted.
list_fantasy_leaguesfantasyfreeList the authenticated caller's owned fantasy leagues across NFL, NBA, MLB, and NHL.
get_fantasy_rosterfantasyfreeRead teams, standings, and active week roster slots for one fantasy league owned by the authenticated caller.

Was this page helpful?