search_teams
Pack: sports · Endpoint: https://gateway.pipeworx.io/sports/mcp
Search for sports teams by name. Returns team name, sport, league, country, stadium, description, and badge URL.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Team name or partial name to search for |
Example call
Arguments
{
"query": "Manchester United"
}
curl
curl -X POST https://gateway.pipeworx.io/sports/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_teams","arguments":{"query":"Manchester United"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('search_teams', {
"query": "Manchester United"
});
More examples
{
"query": "Lakers"
}
Response shape
Always returns: total, teams
| Field | Type | Description |
|---|---|---|
total | integer | Total number of teams found |
teams | array | List of teams matching the search query |
Full JSON Schema
{
"type": "object",
"properties": {
"total": {
"type": "integer",
"description": "Total number of teams found"
},
"teams": {
"type": "array",
"description": "List of teams matching the search query",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "TheSportsDB team ID"
},
"name": {
"type": "string",
"description": "Team name"
},
"sport": {
"type": [
"string",
"null"
],
"description": "Sport type (e.g., Soccer)"
},
"league": {
"type": [
"string",
"null"
],
"description": "League name"
},
"country": {
"type": [
"string",
"null"
],
"description": "Team country"
},
"stadium": {
"type": [
"string",
"null"
],
"description": "Stadium name"
},
"description": {
"type": [
"string",
"null"
],
"description": "Team description in English"
},
"badge_url": {
"type": [
"string",
"null"
],
"description": "Team badge image URL"
}
},
"required": [
"id",
"name"
]
}
}
},
"required": [
"total",
"teams"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"sports": {
"url": "https://gateway.pipeworx.io/sports/mcp"
}
}
}
See Getting Started for client-specific install steps.