BetTrack
FastMCP server providing sports betting odds and ESPN data to Claude Desktop. Features player props, live scores, visual artifacts, and optional React dashboard for bet tracking.
Ask AI about BetTrack
Powered by Claude Β· Grounded in docs
I know everything about BetTrack. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation

BetTrack Sports Betting Platform
A comprehensive sports betting tracking system powered by Model Context Protocol (MCP)
Overview
BetTrack is a dual-platform sports betting analytics and tracking solution that combines real-time sports data with intelligent bet management. The system consists of two integrated components:
π€ MCP Server - A Model Context Protocol server that provides Claude Desktop with direct access to live sports odds, scores, schedules, and team data through natural language queries. Query betting lines, track games, and analyze matchups conversationally through Claude.
π Dashboard - A full-featured web application for tracking bets, analyzing odds history, visualizing line movements, and managing futures betting across 7+ major sports. Built with React, Node.js, and PostgreSQL for professional-grade bet tracking and analytics.
Whether you're using Claude Desktop to research bets with natural language or the web dashboard to track your betting portfolio, BetTrack provides the data and tools you need.
Screenshots
Dashboard Home Page
Landing page with feature overview and quick start guide
Dashboard V2 - Dark Mode
Retro 8-bit styled dashboard with pixel-perfect game cards, inspired by classic 80s/90s sports games like Retro Bowl
Dashboard V2 - Light Mode
Nostalgic arcade aesthetic with chunky borders, monospace fonts, and vintage scoreboard layouts
Key Features
MCP Server
- 30+ sports data tools for Claude Desktop integration
- Live betting odds from The Odds API (multiple bookmakers)
- Comprehensive ESPN data (scores, standings, schedules, rosters, news)
- Natural language search for teams, matchups, and odds
- 70+ betting markets including game lines and player props (NFL, NBA, NHL, MLB)
- Visual scoreboards with interactive React artifacts
- Team logo URLs and formatted markdown tables
Dashboard
- Retro 8-bit interface inspired by classic 80s/90s sports games (Retro Bowl, Tecmo Bowl)
- Pixel-perfect game cards with nostalgic scoreboard styling and chunky borders
- Futures betting with 11 outright sports (Super Bowl, NBA Championship, etc.)
- Bet tracking with parlays, teasers, and futures support
- Odds history and line movement visualization
- Automated odds sync with background jobs
- Outcome resolution for automatic bet settlement
- Dark/Light mode with retro color schemes (cyan/orange scores, red LIVE indicators)
- Timezone-aware game filtering and scheduling
- PostgreSQL database with Prisma ORM
π Learn More: See docs/ANALYTICS-IMPLEMENTATION-SUMMARY.md for complete planning details and .github/ISSUE_TEMPLATE/ for feature specifications.
Getting Started
MCP Server Installation
For Claude Desktop integration with sports data tools:
π Complete MCP Server Setup Guide
Quick install: Download the latest .mcpb package from Releases and install via Claude Desktop settings.
Dashboard Installation
For the web-based bet tracking and analytics platform:
π Complete Dashboard Setup Guide
Quick start: Requires Node.js 20+, PostgreSQL, and an Odds API key. Docker Compose configurations available for production deployment.
Documentation
MCP Server Documentation
- Installation & Configuration - Complete setup guide for Claude Desktop
- Available Tools - All 30+ MCP tools and 70+ betting markets
- Build Instructions - Building MCPB packages from source
Dashboard Documentation
- Dashboard Setup - Web application installation and deployment
- Deployment Guide - Production deployment with Docker & Nginx
- Testing Guide - Running backend and frontend tests
API Documentation
- API Index - Overview of all API surfaces
- Internal REST API - OpenAPI 3.1 spec for dashboard backend routes
- External MCP API - OpenAPI 3.1 spec for MCP integration and AI routes
General Documentation
- Release Process - Version management and release workflow
- CI/CD & Testing - Automated testing and deployment
- Build Quick Reference - Common build commands
- CLV Analytics - Closing Line Value implementation details
- Analytics Summary - Full analytics feature planning
Supported Sports
7+ Major Sports:
- π NFL - American Football (Pro)
- π NBA - Basketball (Pro)
- π NCAAB - College Basketball (Men's & Women's)
- π NHL - Hockey (Pro)
- βΎ MLB - Baseball (Pro)
- β½ EPL - English Premier League
- β½ UEFA - Champions League
- π College Football
- And many more via The Odds API...
Technology Stack
MCP Server Components
- FastMCP - Model Context Protocol framework
- Python 3.11+ - Async/await API handlers
- The Odds API - Live betting odds (500+ markets)
- ESPN API - Sports data and statistics
Dashboard Components
- Frontend: React 18, Vite, Redux Toolkit, Tailwind CSS with custom 8-bit pixel styling
- Design: Retro 8-bit aesthetic with monospace fonts, pixel grid overlays, and arcade-inspired UI
- Backend: Node.js 20, Express, TypeScript, Prisma ORM
- Database: PostgreSQL 16
- Deployment: Docker, Nginx, Let's Encrypt SSL
Authentication
BetTrack supports two authentication modes configured via the AUTH_MODE environment variable:
none(default) β Standalone mode with no authentication. All dashboard routes are accessible without login. Admin routes are still protected and require a valid session.oauth2β Full OAuth2 authentication via Google or Microsoft (Azure AD). Users must log in before accessing any API endpoint.
API Key Access
The MCP integration routes (/api/mcp/*) and the AI bet creation route (/api/ai/bets) use Bearer token authentication with API keys prefixed sk_. Generate API keys through the dashboard under Settings β API Keys or via POST /api/keys.
Authorization: Bearer sk_<your-api-key>
API Documentation
Complete API reference is available in the docs/api/ folder:
- API Documentation Index β Overview and quick reference
- Internal REST API (OpenAPI) β Full OpenAPI 3.1 spec for the dashboard backend
- External MCP API (OpenAPI) β OpenAPI spec for MCP integration routes
Support
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Documentation: Project Wiki | Internal Docs
Built with β€οΈ for Claude Desktop and the sports betting community
MCP Server Setup Β· Dashboard Guide Β· Documentation Β· Releases
