search_players
Pack: cricket · 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/search_players for the schema, then POST the same URL with its arguments for the data.
Search for cricket players by name. Returns player IDs, names, and country. Use this to look up a cricketer before fetching more detail.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
search | string | yes | Player name to search for, e.g. “Kohli”, “Root”. |
offset | number | no | Pagination offset (default 0). |
_apiKey | string | no |
Example call
Arguments
{
"search": "Kohli",
"_apiKey": "your-cricket-api-key"
}
curl
curl -X POST https://gateway.pipeworx.io/cricket/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_players","arguments":{"search":"Kohli","_apiKey":"your-cricket-api-key"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('search_players', {
"search": "Kohli",
"_apiKey": "your-cricket-api-key"
});
More examples
{
"search": "Root",
"offset": 0,
"_apiKey": "your-cricket-api-key"
}
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 cricket pack
{
"mcpServers": {
"cricket": {
"url": "https://gateway.pipeworx.io/cricket/mcp"
}
}
}
See Getting Started for client-specific install steps.