TKB Picks
БесплатноНе проверенMCP server that wraps SportsGameOdds and BALLDONTLIE APIs to provide sports scheduling, odds, injuries, and team statistics tools for building TKB Picks threads
Описание
MCP server that wraps SportsGameOdds and BALLDONTLIE APIs to provide sports scheduling, odds, injuries, and team statistics tools for building TKB Picks threads.
README
Wraps SportsGameOdds (odds/schedule/stats) and BALLDONTLIE (injuries) into MCP tools for TKB Picks thread-building.
Status: all major bugs found during testing are now fixed and CONFIRMED via live data
Tools (10)
tkb_get_schedule- game schedule, date/team/conference filteringtkb_get_odds- moneyline/spread/total/player proptkb_get_player_hit_rate- recent-game-log hit-rate, CONFIRMED pulling real recent (not stale) datatkb_get_injuries- structured injury status, CONFIRMED team field now populates correctly, plus richer detail (type/side/comments)tkb_get_team_split- home/road/opponent-specific recordtkb_get_team_record- overall record from SGO's standings datatkb_get_yes_no_prop- milestone-style betstkb_get_period_odds- period-specific linestkb_debug_raw_event- dumps raw SGO event JSONtkb_debug_raw_injuries- dumps raw BALLDONTLIE injuries JSON (the tool that finally solved the team-field bug below)
The BALLDONTLIE team-field bug - finally solved, confirmed via live raw JSON
Took 3 attempts to get right:
- Assumed
player.team.full_name(nested) - wrong field name - Assumed
team.full_name(sibling) based on BALLDONTLIE's docs example for a different endpoint - wrong location entirely - Used the new debug tool to see the ACTUAL raw injuries response - real answer:
player.team.display_name(nested location was right the whole time, just the wrong field name -display_namenotfull_name)
Bonus finding: the raw response also includes much richer injury data than originally captured - type (e.g. "Lower Body"), detail (e.g. "Strain"), side (e.g. "Left"), and both short_comment/long_comment with real dated, sourced context. All of this is now captured in NormalizedInjury instead of being discarded.
Confirmed via live test: injuries tool now returns real team names correctly.
Hit-rate date-bounding fix - confirmed via live test
Previously (before this round's fix) returned September 2024 games when asked for "recent" games in August 2026. Root cause: unbounded finalized: true queries with no date range, combined with the API's cursor pagination not being guaranteed chronological order.
Confirmed via live test: Michael Harris II's hit-rate check now returns real, correctly-dated games from July 27 - August 6, 2026, with correct opponents matching the real schedule (Marlins, Nationals, Mets).
Infrastructure note: Render instance upgraded
The Free tier (512MB RAM) was hitting real OOM crashes ("Ran out of memory... over 512MB") under normal tool usage - not a code bug exactly, more that this API's payloads (a single MLB event can carry 1000+ odds markets) are memory-heavier than Free tier comfortably supports. Upgraded to Render's Standard tier (2GB RAM, $25/mo) to resolve this. If OOM issues ever recur even on Standard, the next step would be code-level memory optimization (trimming unused fields before holding results in memory) rather than a further instance upgrade.
Previously fixed (all still in effect, confirmed via live testing across multiple rounds)
- Debug tool crash (oversized payload) - capped
- Yes/No prop crash - same fix
tkb_get_odds/tkb_get_scheduleteamName search pulling entire history - both boundedstartTimeISO"unknown" - fixed (status.startsAt)tkb_get_oddsmoneyline/spread broken without explicitside- fixed- No
lineupsfield on SGO events - confirmed, starting pitcher info stays a web-search task
Still genuinely unverified (lower priority, not blocking normal use)
- Player
teamIDupdate speed after a real trade - can only be tested against an actual live trade when one occurs
Operational notes
Render instance: now on Standard (2GB RAM) - should comfortably handle normal usage including heavy calls (full event pulls, wide hit-rate lookbacks).
MCP connector caching: remove/re-add if new tools/behavior don't show up after redeploy.
Start Command must be exactly npm start.
Deploy to Render
- Upload this folder's contents to the GitHub repo (overwrite existing files)
- Render auto-redeploys
- Verify:
https://YOUR-SERVICE.onrender.com/health - Remove/re-add the MCP connector if tools seem stale
Adding NBA/NHL later
- Get a BALLDONTLIE subscription for that sport
- Add one entry to
SPORT_CONFIGinsrc/constants.ts - Push to GitHub
Local development
npm install
npm run build
SGO_API_KEY=xxx BDL_API_KEY=xxx npm start
Установка TKB Picks
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/tylerbody/tkb-picks-mcpFAQ
TKB Picks MCP бесплатный?
Да, TKB Picks MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для TKB Picks?
Нет, TKB Picks работает без API-ключей и переменных окружения.
TKB Picks — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить TKB Picks в Claude Desktop, Claude Code или Cursor?
Открой TKB Picks на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare TKB Picks with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
