bet-mcp
Football bets mcp
README
bet-mcp
MCP server (FastMCP + TypeScript) that focuses on Serie A pre-match analysis:
fixtures_list– next fixtures in a configurable windowmatch_snapshot– last 5 results, standings, GF/GA averagesodds_prematch– normalized odds for 1X2 / OU 2.5 / BTTS across bookmakersfair_compute– Poisson-lite probabilities + fair oddsvalue_detect– top value picks by comparing best odds vs fair model
Getting started
-
Install dependencies (Node 20+ recommended):
npm install -
Copy
.env.exampleto.envand provide your keys:cp .env.example .env # edit the file with FOOTBALL_DATA_TOKEN and ODDS_API_KEY -
Run locally:
# stdio (Claude Desktop / terminal) npm run dev # or HTTP transport for remote testing MCP_TRANSPORT=http PORT=8080 npm run dev -
Build for production:
npm run build npm start -
Deploy on glama.ai:
Glama uses the included glama.yaml/glama.json files to run npm install && npm run build, then starts the server with MCP_TRANSPORT=http on port 8080. Configure FOOTBALL_DATA_TOKEN and ODDS_API_KEY (others optional) in the Glama dashboard so inspections and tool detection can succeed.
Implementation notes
- Stack – FastMCP + Axios + Zod, TypeScript strict mode.
- API clients – Football-Data.org for fixtures/stats; The Odds API for consolidated odds.
- Modeling – Poisson using GF/GA averages + configurable home advantage, derived OU/BTTS probs.
- Caching – In-memory TTL cache to reduce API calls (configurable via
CACHE_TTL_SECONDS). - Value picks – Filters by
edge >= 5%andodds >= 1.50, returns rationale referencing λ/form.
Environment variables
| key | description |
|---|---|
FOOTBALL_DATA_TOKEN |
Football-Data.org API token |
FOOTBALL_DATA_COMPETITION |
Defaults to SA |
FOOTBALL_DATA_SEASON |
Defaults to current year |
ODDS_API_KEY |
The Odds API key |
ODDS_API_REGION |
Regions filter (default eu) |
ODDS_API_MARKETS |
Markets request list (default h2h,totals,btts) |
ODDS_API_SPORT |
Sport key (soccer_italy_serie_a) |
HOME_ADVANTAGE_FACTOR |
Poisson λ multiplier for home team |
CACHE_TTL_SECONDS |
Cache TTL (default 120) |
MCP_TRANSPORT |
stdio (default) or http |
PORT |
HTTP port when MCP_TRANSPORT=http |
Testing
Use npx fastmcp dev src/index.ts or npx fastmcp inspect src/index.ts after installing dependencies to interactively test the tools.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.