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 itemsLearn
4 itemsReference
3 itemsDeveloper setup & MCP
6 itemsJSON-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 itemsMachine-readable OpenAPI 3.1 contracts and assistant routing indexes.
Public API feeds
17 itemsUnauthenticated 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.
Browse live MCP tool catalog (84 of 84 tools)
| Tool | Family | Plan | Description |
|---|---|---|---|
| get_bets | snapshot | free | Return betting markets in a date window per sport. |
| get_event_context | snapshot | free | Event + markets + model results + linked news in one call. |
| get_news | snapshot | free | Headlines for NFL by default. Optional sport: nfl, nba, mlb, nhl, or all for all sports. Optional eventId filters to linked news. |
| explain_pick | snapshot | free | Explain one market using model edge, line movement, and news. |
| injury_report | snapshot | weekly | Current injury designations per sport (optional team filter). |
| weather_report | snapshot | weekly | Forecast for an outdoor event (wind / precip / temp). |
| pace_and_efficiency | snapshot | weekly | Rolling pace + offensive/defensive efficiency per team. |
| line_history | snapshot | weekly | Open→current line history for one market across books. |
| market_movement | snapshot | weekly | Top line movers in a recent time window. |
| consensus_pct | snapshot | weekly | Public bet % and handle % for one market (when available). |
| model_results | snapshot | weekly | Published model probabilities, fair odds, market price comparison, and confidence across markets. |
| team_recent_form | snapshot | weekly | Last-N games splits (ATS, totals, situational) per team. |
| ref_assignments | snapshot | weekly | Referee crew assignments + crew tendencies (penalties / pace). |
| top_edges | snapshot | free | Top model-vs-market edges right now (ranked by EV). |
| nfl_key_number_rates | snapshot | free | Deterministic 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_slip | slip | free | Assemble 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_size | slip | free | Kelly stake from win probability + American or decimal payout odds + bankroll fraction. |
| find_arb | slip | weekly | Cross-book arbitrage candidates above a net return threshold. |
| compare_books | slip | weekly | Best price per book for a given market. |
| sgp_check_correlation | slip | free | Audit same-game parlay leg pairs for opposing sides, duplicates, correlation groups, and joint win-chance bounds. |
| parlay_ev | slip | free | Expected value of a parlay from calibrated leg probabilities and posted odds, with bounded correlation adjustments when gameId/playerId overlap and refusing conflicting legs. |
| hedge_calc | slip | free | Hedge stake to equalize net return across outcomes at a current line. |
| clv_check | slip | free | Closing line value: bet odds vs market close. |
| no_vig_price | slip | free | Remove 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_market | slip | free | Deterministic 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_ev | slip | free | Deterministic unit expected value, dollar expected return, and break-even win probability from fair win probability and American or decimal odds. |
| kelly_stake | slip | free | Deterministic 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_breakdown | slip | free | Deterministic 2-to-12-leg parlay vig breakdown computing per-leg fair probabilities, compounded overround, compounded hold, and independent ticket EV. |
| ev_calc | slip | free | Expected 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_models | user-data | weekly | List the caller's own model_cards (calibration, status, target). |
| list_user_bet_slips | user-data | weekly | UNAVAILABLE: the bet queue has no backing store in production; this tool returns an explicit unavailable source, never rows. |
| list_user_settled | user-data | weekly | Caller's recent settled bets (user_bets table). |
| calibration_report | user-data | weekly | Caller's model calibration (predicted vs realized win rate by bucket). |
| my_clv | user-data | weekly | Caller's recent CLV across placed bets. |
| my_roi | user-data | weekly | Caller's ROI breakdown by sport / market / book. |
| my_streaks | user-data | weekly | Caller's current win/loss streaks per sport. |
| my_dashboard_summary | user-data | weekly | One-shot dashboard summary: models, settled record, ROI, streaks, and closing line value. |
| list_top_free_models | studio-read | weekly | Top public model_cards by recent ATS / Brier / ROI. |
| diff_blueprints | studio-read | weekly | Diff two ModelCards' recipes (slot-by-slot, brick id/version/params). |
| suggest_model_improvements | studio-read | pro | Given a user ModelCard, propose recipe tweaks (slot brick swaps, missing features) vs leaderboard gap. |
| propose_blueprint | studio-read | pro | Propose a recipe from scratch. Returns canonical slot shape {data, features, target, slice, architecture, staking, ensemble} pinning bricks by {id, version, params?}. |
| validate_blueprint | studio-read | pro | Dry-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_results | studio-read | pro | Backtest results for a ModelCard: Brier, ATS, ROI by week / season. |
| explain_receipt | studio-read | pro | Explain 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_failure | studio-read | pro | The 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_run | studio-read | pro | Inspect an owned research receipt, including failed and rejected experiments and their lineage. |
| compare_research_runs | studio-read | pro | Compare two owned completed experiments only when their verified evaluation context matches. Returns evidence, never an automatic winner. |
| save_research_result | studio-write | pro (models:write) | Save a verified completed research result as a named Builder draft with trusted receipt references. Does not publish the model. |
| get_training_status | studio-read | pro | Status of a submitted training run (queued/training/backtesting/done/failed). |
| run_walk_forward | studio-read | pro | Start a cooperative Sharkai multi-season chronological season-by-season lift evaluation and return a pollable wf_<uuid> MCP task handle. |
| get_builder_state | studio-read | pro | Live 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_blueprint | studio-read | pro (models:write) | Fork a public ModelCard's recipe as the caller's draft (returns new ModelCardId in draft status). |
| submit_training_run | studio-write | pro (models:write) | Queue a validated execution snapshot from an owned modelCardId or an inline recipe. Returns its provenance; queued does not mean evaluated. |
| publish_model | studio-write | pro (models:write) | Promote a completed run to a published model (requires TF.js artifact in storage). |
| revoke_training_run | studio-write | pro (models:write) | Cancel a queued or in-flight training run. |
| create_model | studio-write | pro (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_predictions | user-data | weekly | Export 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_files | user-data | weekly | List the caller's previously-exported prediction ndjson files in Storage with signed URLs. |
| my_profile | profile | weekly | Caller’s profile (id, email, plan_tier, region, age verified). |
| my_entitlements | profile | weekly | Caller’s entitlement context: tier, active passes, MCP rate limit. |
| my_settings | profile | weekly | Caller’s settings: notification prefs, default sport, risk caps. |
| podcast_buzz | mentions | free | Media 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_chatter | mentions | free | Recent 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_coach | studio-read | pro | Coach 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_commentary | perspectives | free | Return 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_reactions | perspectives | free | Return 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_lenses | perspectives | free | Discover 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_divergence | perspectives | free | Return 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_theory | theory | free | Grade 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_theory | theory | free | Run 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_odds | snapshot | weekly | Cache-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_history | snapshot | weekly | Cache-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_results | snapshot | weekly | Cache-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_read | snapshot | free | Historical 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_record | snapshot | free | Return 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_topic | education | free | Return Sharkai Academy quantitative modeling guides (or list all Academy topics when topicId is omitted) with responsible-gambling guidance. |
| get_sharp_lesson | education | free | Return a Sharp School sharp-betting fundamentals lesson by slug (or list the full curriculum when slug is omitted) with responsible-gambling guidance. |
| get_fantasy_projections | fantasy | free | Read canonical fantasy player projections across NFL, NBA, MLB, and NHL, honoring the viewer equipped model on current-week NFL reads. |
| get_fantasy_rankings | fantasy | free | Read canonical fantasy positional or overall rankings across NFL, NBA, MLB, and NHL, honoring the viewer equipped model on current-week NFL reads. |
| fantasy_start_sit | fantasy | free | Compare 2 to 50 fantasy players for start/sit decisions across NFL, NBA, MLB, and NHL with canonical scoring and pairwise margin. |
| fantasy_trade_analyzer | fantasy | free | Evaluate 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_finder | fantasy | free | Find 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_leagues | fantasy | free | List the authenticated caller's owned fantasy leagues across NFL, NBA, MLB, and NHL. |
| get_fantasy_roster | fantasy | free | Read teams, standings, and active week roster slots for one fantasy league owned by the authenticated caller. |
Was this page helpful?
