Back to MCP Servers

Sports

Access structured sports data via the Cloudbet API. Query upcoming events, live odds, stake limits, and market info across soccer, basketball, tennis, esports, and more.

sportsapi
By cloudbet
135Updated 11 months agoGoMIT

Installation

npx -y sports-mcp-server

Configuration

{
  "mcpServers": {
    "sports-mcp-server": {
      "command": "npx",
      "args": ["-y", "sports-mcp-server"]
    }
  }
}

How to use

  1. Run the installation command above (if needed)
  2. Open your Claude Code settings file (~/.claude/settings.json)
  3. Add the configuration to the mcpServers section
  4. Restart Claude Code to apply changes

Cloudbet Sports MCP server

Single-file, minimal implementation of the Model Context Protocol (MCP) for sports data and betting tool exposure using the Cloudbet public API. This demo server follows the MCP Server specification and is designed for educational and demonstration purposes only. Please use responsibly and at your own risk.

  1. Run the Server:
go run .
  1. List Tools (Describe):
curl -X POST http://localhost:8080/ -H "Content-Type: application/json" -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list",
  "params": {}
}' | jq .
  1. Call a Tool:
curl -X POST http://localhost:8080/ -H "Content-Type: application/json" -d '{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "findEventsAndMarketsByCompetition",
    "arguments": {
      "competitionName": "Premier League"
    }
  }
}' | jq .
View source on GitHub