team_search
Pack: api-football · Endpoint: https://gateway.pipeworx.io/api-football/mcp
Look up a team by name + country to get its team_id for use in other tools.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
name | string | yes | Team name (e.g. “France”, “Real Madrid”) |
country | string | no | Country name to disambiguate |
_apiKey | string | no |
Example call
curl -X POST https://gateway.pipeworx.io/api-football/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"team_search","arguments":{}}}'
Response shape
Always returns: count, teams
| Field | Type | Description |
|---|---|---|
count | number | Number of teams found |
teams | array | Array of team objects (max 20) |
Full JSON Schema
{
"type": "object",
"properties": {
"count": {
"type": "number",
"description": "Number of teams found"
},
"teams": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Team identifier"
},
"name": {
"type": "string",
"description": "Team name"
},
"country": {
"type": "string",
"description": "Country of team"
},
"founded": {
"type": "number",
"description": "Year founded"
},
"venue": {
"type": "string",
"description": "Home stadium name"
},
"city": {
"type": "string",
"description": "City location"
}
}
},
"description": "Array of team objects (max 20)"
}
},
"required": [
"count",
"teams"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"api-football": {
"url": "https://gateway.pipeworx.io/api-football/mcp"
}
}
}
See Getting Started for client-specific install steps.