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
| Name | Type | Required | Description |
|---|---|---|---|
id | number | yes | Starship 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
| Field | Type | Description |
|---|---|---|
name | string | Starship name |
model | string | Model |
manufacturer | string | Manufacturer |
cost_in_credits | string | Cost in credits |
length | string | Length |
max_atmosphering_speed | string | Max atmosphering speed |
crew | string | Crew capacity |
passengers | string | Passenger capacity |
cargo_capacity | string | Cargo capacity |
starship_class | string | Starship class |
hyperdrive_rating | string | Hyperdrive rating |
MGLT | string | Megalights per hour |
url | string | Starship 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.