league_teams

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

List all teams in a TheSportsDB league by league_id; returns each team’s id, name, badge, and country.

Parameters

NameTypeRequiredDescription
league_idstringyes

Example call

Arguments

{
  "league_id": "133602"
}

curl

curl -X POST https://gateway.pipeworx.io/thesportsdb/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"league_teams","arguments":{"league_id":"133602"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('league_teams', {
  "league_id": "133602"
});

Response shape

Full JSON Schema
{
  "type": "object",
  "description": "Response from TheSportsDB league teams endpoint"
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026