← Starships

Imperial shuttle

ModelLambda-class T-4a shuttle
ManufacturerSienar Fleet Systems
Cost in credits240000
Length20
Max atmosphering speed850
Crew6
Passengers20
Cargo capacity80000
Consumables2 months
Hyperdrive rating1.0
MGLT50
Starship classArmed government transport

curl

curl https://swapi.build/api/starships/22

JavaScript

fetch('https://swapi.build/api/starships/22').then((r) => r.json())

Python

requests.get('https://swapi.build/api/starships/22').json()

MCP

Connect your agent once:

claude mcp add --transport http swapi-build https://swapi.build/mcp

then call the tool sw_get with:

{"resource":"STARSHIPS","id":22}
GET /api/starships/22 200
{
  "MGLT": "50",
  "cargo_capacity": "80000",
  "consumables": "2 months",
  "cost_in_credits": "240000",
  "created": "2014-12-15T13:04:47.235000Z",
  "crew": "6",
  "edited": "2014-12-20T21:23:49.900000Z",
  "films": [
    "https://swapi.build/api/films/2",
    "https://swapi.build/api/films/3"
  ],
  "hyperdrive_rating": "1.0",
  "length": "20",
  "manufacturer": "Sienar Fleet Systems",
  "max_atmosphering_speed": "850",
  "model": "Lambda-class T-4a shuttle",
  "name": "Imperial shuttle",
  "passengers": "20",
  "pilots": [
    "https://swapi.build/api/people/1",
    "https://swapi.build/api/people/13",
    "https://swapi.build/api/people/14"
  ],
  "starship_class": "Armed government transport",
  "url": "https://swapi.build/api/starships/22"
}