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

NameTypeRequiredDescription
namestringyesTeam name (e.g. “France”, “Real Madrid”)
countrystringnoCountry name to disambiguate
_apiKeystringno

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

FieldTypeDescription
countnumberNumber of teams found
teamsarrayArray 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.

Regenerated from source · build May 21, 2026