search_players
Find players by name, team, or position.
Use it when 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
querystringrequired- Search string (e.g. "Tage Thompson")
teamstringoptional- Filter by team abbreviation
positionstringoptional- G, D, C, LW, or RW
activebooleanoptional- Active players only (default true)
limitintegeroptional- Max results (1-50, default 10)
leagueenum: nhl | pwhl | ohl | whl | qmjhl | echl | ahl | ushloptional- League. Defaults to nhl. One of: nhl, pwhl, ohl, whl, qmjhl, echl, ahl, ushl.
Notes
- Over MCP, ask for it in plain English and the client calls
search_playersitself. Point any MCP client athttps://mcp.puckapi.com/mcp?key=YOUR_API_KEY. - Each call costs 2 credits, taken before it runs and refunded if the server errors.
- Not the call you need? Find the right call by what you are trying to answer.
Request
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"
}'Response
{
"players": [
{
"id": 8480208,
"name": "Tage Thompson",
"team": "BUF",
"teamName": "Buffalo Sabres",
"position": "C",
"jerseyNumber": 72,
"active": true
}
]
}Response fields
players[].idinteger- Player ID (use in get_player_stats)
players[].namestring- Full name
players[].firstNamestring- First name
players[].lastNamestring- Last name
players[].teamstring- Team abbreviation
players[].teamNamestring- Full team name
players[].positionstring- Position code
players[].positionTypestring- Position type (F, D, or G)
players[].jerseyNumberinteger- Jersey number
players[].birthCountrystring- Birth country
players[].activeboolean- Currently active
Related endpoints
Takes the player_id this one returns.
Player bio and goalie stats (if goalie). For skaters, returns bio info and team context.
Takes the player_id this one returns.
A player's game-by-game stat lines for a season: date, opponent, home/away, and the box score for each game.
Returns the team this one takes.
All 32 active NHL teams with divisions, conferences, and arenas.
Returns the team this one takes.
Current standings with points, point pace, goal differential, and 5v5 possession: Corsi%, Fenwick% and expected goals.
Try it
500 free credits every month: 250 calls to search_players, and no card.