Skip to content
Basic lookup2 credits

search_players

Find players by name, team, or position.

When to use it

You need a player's ID to look up their stats, or you want to search a roster by position. For example, "find all active centers on the Sabres" or "look up Tage Thompson's player ID."

Parameters

NameTypeRequiredDescription
querystringyesSearch string (e.g. "Tage Thompson")
teamstringnoFilter by team abbreviation
positionstringnoG, D, C, LW, or RW
activebooleannoActive players only (default true)
limitintegernoMax results (1-50, default 10)

Request

bash
curl -X POST https://mcp.puckapi.com/v1/search_players \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
  "query": "Thompson",
  "team": "BUF"
}'

Over MCP, ask for it in plain English and the client calls search_players itself. Point any MCP client at https://mcp.puckapi.com/mcp?key=YOUR_API_KEY.

Response

json
{
  "players": [
    {
      "id": 8480208,
      "name": "Tage Thompson",
      "team": "BUF",
      "teamName": "Buffalo Sabres",
      "position": "C",
      "jerseyNumber": 72,
      "active": true
    }
  ]
}

Response fields

FieldTypeDescription
players[].idintegerPlayer ID (use in get_player_stats)
players[].namestringFull name
players[].firstNamestringFirst name
players[].lastNamestringLast name
players[].teamstringTeam abbreviation
players[].teamNamestringFull team name
players[].positionstringPosition code
players[].positionTypestringPosition type (F, D, or G)
players[].jerseyNumberintegerJersey number
players[].birthCountrystringBirth country
players[].activebooleanCurrently active

Related endpoints

Try it

500 credits free on signup — 250 calls to search_players — and no card.