Cloudbet

Cloudbet

Structured sports and esports data via Cloudbet API: fixtures, live odds, stake limits, and markets.

9
Stars
3
Forks
0
Releases

Overview

This repository provides a compact, single-file Go implementation of the Model Context Protocol (MCP) server for exposing structured sports data and betting tools via the Cloudbet public API. The server is designed as an educational, demonstration-oriented implementation that adheres to the MCP Server specification. It demonstrates how clients can discover available tools using the tools/list method and how to execute a tool with tools/call. The MCP server exposes data such as fixtures, live odds, stake limits, and markets by integrating with the Cloudbet API, presenting a standard context that downstream applications can consume. Start the server with go run ., then interact with http://localhost:8080/ to list tools or call a tool by name and provide arguments (for example, competitionName: Premier League). This project emphasizes simplicity and learnability over production readiness, making it ideal for tutorials, experimentation, and hands-on MCP exploration.

Details

Owner
cloudbet
Language
Go
License
MIT License
Updated
2025-12-07

Features

Single-file MCP server

A compact, minimal MCP server implemented in a single Go file suitable for quick experimentation and learning.

MCP Server compliant

Follows the MCP Server specification to enable standardized tool discovery and execution.

Cloudbet API integration

Integrates the Cloudbet public API to expose structured data such as fixtures, live odds, stake limits, and markets.

Tool discovery via tools/list

Demonstrates how to describe available tools using the MCP tools/list method.

Tool invocation via tools/call

Demonstrates how to call a tool by name with arguments using the MCP tools/call method.

Educational/demo-oriented

Designed for educational and demonstration purposes, not production-ready.

Go runtime friendly

Runs as a single-file Go application via go run, with simple curl examples included.

Audience

DevelopersExperiment with MCP endpoints and tool invocation using Cloudbet data.
EducatorsDemonstrate MCP concepts in tutorials or classrooms.
MCP learnersPractice tool discovery and invocation in a minimal, safe environment.

Tags

MCPsports databettingCloudbetfixtureslive oddsmarketstoolsgoeducationaldemonstration