get_player

Pack: nba · Endpoint: https://gateway.pipeworx.io/nba/mcp

Get detailed NBA player profile including career stats, season-by-season performance, biographical info, and team history. Requires player ID from search_players.

Parameters

NameTypeRequiredDescription
idnumberyesBallDontLie player ID
_apiKeystringyesBallDontLie API key

Example call

Arguments

{
  "id": 114,
  "_apiKey": "your-nba-api-key"
}

curl

curl -X POST https://gateway.pipeworx.io/nba/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_player","arguments":{"id":114,"_apiKey":"your-nba-api-key"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_player', {
  "id": 114,
  "_apiKey": "your-nba-api-key"
});

Response shape

Always returns: id, name, position, height, weight, jersey_number, college, country, draft_year, draft_round, draft_number, team

FieldTypeDescription
idnumberPlayer ID
namestringFull name (first + last)
positionstring | nullPlayer position
heightstring | nullPlayer height
weightstring | nullPlayer weight
jersey_numberstring | nullJersey number
collegestring | nullCollege attended
countrystring | nullCountry of origin
draft_yearnumber | nullYear drafted
draft_roundnumber | nullDraft round
draft_numbernumber | nullDraft pick number
teamobject | nullCurrent team information
Full JSON Schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "number",
      "description": "Player ID"
    },
    "name": {
      "type": "string",
      "description": "Full name (first + last)"
    },
    "position": {
      "type": [
        "string",
        "null"
      ],
      "description": "Player position"
    },
    "height": {
      "type": [
        "string",
        "null"
      ],
      "description": "Player height"
    },
    "weight": {
      "type": [
        "string",
        "null"
      ],
      "description": "Player weight"
    },
    "jersey_number": {
      "type": [
        "string",
        "null"
      ],
      "description": "Jersey number"
    },
    "college": {
      "type": [
        "string",
        "null"
      ],
      "description": "College attended"
    },
    "country": {
      "type": [
        "string",
        "null"
      ],
      "description": "Country of origin"
    },
    "draft_year": {
      "type": [
        "number",
        "null"
      ],
      "description": "Year drafted"
    },
    "draft_round": {
      "type": [
        "number",
        "null"
      ],
      "description": "Draft round"
    },
    "draft_number": {
      "type": [
        "number",
        "null"
      ],
      "description": "Draft pick number"
    },
    "team": {
      "type": [
        "object",
        "null"
      ],
      "description": "Current team information",
      "properties": {
        "id": {
          "type": "number",
          "description": "Team ID"
        },
        "full_name": {
          "type": "string",
          "description": "Full team name"
        },
        "abbreviation": {
          "type": "string",
          "description": "Team abbreviation"
        },
        "city": {
          "type": "string",
          "description": "Team city"
        },
        "name": {
          "type": "string",
          "description": "Team name"
        },
        "conference": {
          "type": "string",
          "description": "Conference (East/West)"
        },
        "division": {
          "type": "string",
          "description": "Division name"
        }
      }
    }
  },
  "required": [
    "id",
    "name",
    "position",
    "height",
    "weight",
    "jersey_number",
    "college",
    "country",
    "draft_year",
    "draft_round",
    "draft_number",
    "team"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "nba": {
      "url": "https://gateway.pipeworx.io/nba/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026