team_results
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/team_results for the schema, then POST the same URL with its arguments for the data.
One team’s results and odds across multiple seasons of one league.
Tool description as the model sees it
A team’s football results and odds across one or more seasons of a single football-data.co.uk league, newest first. Default response is compact (closing lines, up to 50 matches); pass bookmakers:“all” or raise limit for more. For a main league with no seasons given, searches the 5 most recent seasons; an extra-league country file already spans its whole history.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
team | string | yes | Team name, case-insensitive partial match, e.g. “Man United” or “Barcelona”. |
league | string | yes | League code, e.g. “E0” or “SP1”. Call list_odds_leagues for the full list. |
seasons | array | no | Optional: specific season codes to search (main-league short codes like “2425”, or a year to match against an extra-league Season column). Defaults to the 5 most recent seasons for a main league, or the whole file for an extra league. |
items | string | no | |
limit | number | no | Max 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. |
bookmakers | string | no | Optional: “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. |
items | string | no |
Example call
Arguments
{
"team": "Man United",
"league": "E0"
}
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":"team_results","arguments":{"team":"Man United","league":"E0"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('team_results', {
"team": "Man United",
"league": "E0"
});
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.