match_odds

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/match_odds for the schema, then POST the same URL with its arguments for the data.

Historical match results and odds for one league and season.

Tool description as the model sees it

Historical football match results and odds (1X2, over/under 2.5 goals, Asian handicap) from football-data.co.uk, for one league + season. Default response is compact (closing lines from Pinnacle/Bet365/market avg+max, up to 50 matches); pass bookmakers:“all” or raise limit for more detail. Optionally filter by team or date range.

Parameters

NameTypeRequiredDescription
leaguestringyesLeague code, e.g. “E0” (Premier League) or “ARG” (Argentina). Call list_odds_leagues for the full list.
seasonstringnoRequired for main leagues (22 European divisions): football-data.co.uk’s short code “YYZZ” (e.g. “2425” for 2024/25) or “YYYY-YY”/“YYYY/YYYY”. Optional for extra-league countries (one file spans all seasons) — when given, matches rows whose Season column contains this year.
teamstringnoOptional: only matches involving this team (case-insensitive partial match on home or away).
date_fromstringnoOptional: ISO date “YYYY-MM-DD”, inclusive lower bound.
date_tostringnoOptional: ISO date “YYYY-MM-DD”, inclusive upper bound.
limitnumbernoMax matches to return, default 50, max 400. Response reports total_matches and truncated so you know if you need to raise this or narrow the filters.
bookmakersstringnoOptional: “all” for opening+closing odds across every bookmaker, or an array of bookmaker codes (e.g. [“B365”,“PS”]) for opening+closing on just those. Omit for the compact default — closing-only odds from Pinnacle, Bet365 and the market average/max.
itemsstringno

Example call

Arguments

{
  "league": "E0",
  "season": "2425"
}

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":"match_odds","arguments":{"league":"E0","season":"2425"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('match_odds', {
  "league": "E0",
  "season": "2425"
});

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.

Regenerated from source · build October 13, 2026