Skip to main content

sports-betting-stats-mcp (Python)

Python version of the sports-betting-stats-mcp stdio MCP server, built on the official mcp Python SDK. Same tools, same APIFY_TOKEN env var, same hosted endpoint as the Node.js server.

Stdio MCP server: sports betting stats: sportsbook odds, player props, scores, xg, closing lines, horse racing via Apify's hosted MCP gateway

It answers initialize and tools/list locally from the bundled tools.json (no token, no network). tools/call is forwarded to Apify's hosted MCP endpoint (mcp.apify.com) with your own APIFY_TOKEN, so each run uses your Apify account. Without a token a call returns a clear error instead of running anything. The token is only sent in the Authorization header and is never logged.

Install

Requires Python 3.10+. With uv:

uvx --from "git+https://github.com/GeminiGeorge22/sports-betting-stats-mcp#subdirectory=python" sports-betting-stats-mcp

With pip:

pip install "git+https://github.com/GeminiGeorge22/sports-betting-stats-mcp#subdirectory=python"
sports-betting-stats-mcp

MCP client config:

{
  "mcpServers": {
    "sports-betting-stats": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/GeminiGeorge22/sports-betting-stats-mcp#subdirectory=python", "sports-betting-stats-mcp"],
      "env": { "APIFY_TOKEN": "YOUR_APIFY_TOKEN" }
    }
  }
}

Optional env: APIFY_ACTORS (comma-separated subset of the Actors) and APIFY_MCP_URL (full endpoint override).

Tests

Tests use an in-process mock server, with no network and no token. They fail if APIFY_TOKEN is set.

cd python && pip install -e ".[test]"
env -u APIFY_TOKEN python -m pytest

python scripts/build_tools.py --check compares the bundled tools.json with each Actor's live public input schema and exits 1 on any mismatch.

Metadata

Release files for sports-betting-stats-mcp 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sports-betting-stats-mcp 0.2.0
File Size Uploaded Provenance Actions
sports_betting_stats_mcp-0.2.0.tar.gz 25.5 kB With provenance Details for sports_betting_stats_mcp-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sports-betting-stats-mcp 0.2.0
File Interpreter ABI Platform Actions
sports_betting_stats_mcp-0.2.0-py3-none-any.whl Python 3 none any Details for sports_betting_stats_mcp-0.2.0-py3-none-any.whl

Total release size: 48.1 kB

Release files / sports_betting_stats_mcp-0.2.0.tar.gz

Download URL sports_betting_stats_mcp-0.2.0.tar.gz
Size 25.5 kB
Tags Source
SHA-256 checksum
How to use checksums
00c0c98b87d3a3eda26e20edaa4ba674041adb54c85f8a4e7ea6786cc4382066
BLAKE2b-256 checksum
How to use checksums
4ede1ec2d7fbf0497b4ff3e1a32c29436ec209935ff8a2556302008d8a3dec7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Release files / sports_betting_stats_mcp-0.2.0-py3-none-any.whl

Download URL sports_betting_stats_mcp-0.2.0-py3-none-any.whl
Size 22.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
228dbcc1f9f1e81b7267b7ee61a204b8cdce0ead5165c7f3763703e4695fc7c2
BLAKE2b-256 checksum
How to use checksums
ac24f86fffc5948bc5cf80b6d55a8f1e0e3386c7cfb7e1232f5ea2d14909bbef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Security for sports-betting-stats-mcp 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for sports_betting_stats_mcp-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page