get_starship

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

Get a Star Wars starship by its numeric ID. Returns name, model, manufacturer, crew capacity, and hyperdrive rating.

Parameters

NameTypeRequiredDescription
idnumberyesStarship ID (e.g., 9 for the Death Star)

Example call

Arguments

{
  "id": 9
}

curl

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

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('get_starship', {
  "id": 9
});

More examples

{
  "id": 12
}

Response shape

Always returns: name, model, manufacturer, cost_in_credits, length, max_atmosphering_speed, crew, passengers, cargo_capacity, starship_class, hyperdrive_rating, MGLT, url

FieldTypeDescription
namestringStarship name
modelstringModel
manufacturerstringManufacturer
cost_in_creditsstringCost in credits
lengthstringLength
max_atmosphering_speedstringMax atmosphering speed
crewstringCrew capacity
passengersstringPassenger capacity
cargo_capacitystringCargo capacity
starship_classstringStarship class
hyperdrive_ratingstringHyperdrive rating
MGLTstringMegalights per hour
urlstringStarship URL
Full JSON Schema
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Starship name"
    },
    "model": {
      "type": "string",
      "description": "Model"
    },
    "manufacturer": {
      "type": "string",
      "description": "Manufacturer"
    },
    "cost_in_credits": {
      "type": "string",
      "description": "Cost in credits"
    },
    "length": {
      "type": "string",
      "description": "Length"
    },
    "max_atmosphering_speed": {
      "type": "string",
      "description": "Max atmosphering speed"
    },
    "crew": {
      "type": "string",
      "description": "Crew capacity"
    },
    "passengers": {
      "type": "string",
      "description": "Passenger capacity"
    },
    "cargo_capacity": {
      "type": "string",
      "description": "Cargo capacity"
    },
    "starship_class": {
      "type": "string",
      "description": "Starship class"
    },
    "hyperdrive_rating": {
      "type": "string",
      "description": "Hyperdrive rating"
    },
    "MGLT": {
      "type": "string",
      "description": "Megalights per hour"
    },
    "url": {
      "type": "string",
      "description": "Starship URL"
    }
  },
  "required": [
    "name",
    "model",
    "manufacturer",
    "cost_in_credits",
    "length",
    "max_atmosphering_speed",
    "crew",
    "passengers",
    "cargo_capacity",
    "starship_class",
    "hyperdrive_rating",
    "MGLT",
    "url"
  ]
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026