teams
Pack: balldontlie · Endpoint: https://gateway.pipeworx.io/balldontlie/mcp
All 30 NBA teams: ID, name, city, abbreviation, conference, division. Use as a directory to resolve a team name into the numeric team_id required by other balldontlie tools.
Example call
Arguments
{}
curl
curl -X POST https://gateway.pipeworx.io/balldontlie/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"teams","arguments":{}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('teams', {});
Response shape
Full JSON Schema
{
"type": "object",
"description": "Response from balldontlie API /teams endpoint"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"balldontlie": {
"url": "https://gateway.pipeworx.io/balldontlie/mcp"
}
}
}
See Getting Started for client-specific install steps.