cricsheet_head_to_head
Pack: cricsheet · 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/cricsheet_head_to_head for the schema, then POST the same URL with its arguments for the data.
Win/loss head-to-head record between two teams, optionally scoped to one format.
Tool description as the model sees it
Head-to-head record between two cricket teams from Cricsheet’s Test/ODI/T20I/IPL match data: total matches, each team’s wins, ties/no-results, and the most recent matches with their results. Pass team names as Cricsheet uses them, e.g. “India”, “Australia”, “Mumbai Indians” (IPL). Optionally scope to one format with format.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
team_a | string | yes | First team name, e.g. “India”. |
team_b | string | yes | Second team name, e.g. “Australia”. |
format | string | no | |
limit | number | no | Max recent matches to list, 1-100. Default 10. |
offset | number | no | Pagination offset into the recent-matches list. Default 0. |
Example call
Arguments
{
"team_a": "India",
"team_b": "Australia",
"format": "ODI",
"limit": 5
}
curl
curl -X POST https://gateway.pipeworx.io/cricsheet/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"cricsheet_head_to_head","arguments":{"team_a":"India","team_b":"Australia","format":"ODI","limit":5}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('cricsheet_head_to_head', {
"team_a": "India",
"team_b": "Australia",
"format": "ODI",
"limit": 5
});
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 cricsheet pack
{
"mcpServers": {
"cricsheet": {
"url": "https://gateway.pipeworx.io/cricsheet/mcp"
}
}
}
See Getting Started for client-specific install steps.