list_odds_leagues
Pack: football-odds-history · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/list_odds_leagues for the schema, then POST the same URL with its arguments for the data.
Every league code football-data.co.uk covers, with country and name.
Tool description as the model sees it
Lists every football-data.co.uk league code (22 main European leagues with per-season files, 16 extra-league countries with one all-seasons file), with names, countries and the file layout — call before match_odds/team_results to get a valid code.
Example call
Arguments
{}
curl
curl -X POST https://gateway.pipeworx.io/football-odds-history/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_odds_leagues","arguments":{}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('list_odds_leagues', {});
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the football-odds-history pack
{
"mcpServers": {
"football-odds-history": {
"url": "https://gateway.pipeworx.io/football-odds-history/mcp"
}
}
}
See Getting Started for client-specific install steps.