← Starships

Calamari Cruiser

ModelMC80 Liberty type Star Cruiser
ManufacturerMon Calamari shipyards
Cost in credits104000000
Length1200
Max atmosphering speedn/a
Crew5400
Passengers1200
Cargo capacityunknown
Consumables2 years
Hyperdrive rating1.0
MGLT60
Starship classStar Cruiser

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/starships/27').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":27}
GET /api/starships/27 200
{
  "MGLT": "60",
  "cargo_capacity": "unknown",
  "consumables": "2 years",
  "cost_in_credits": "104000000",
  "created": "2014-12-18T10:54:57.804000Z",
  "crew": "5400",
  "edited": "2014-12-20T21:23:49.904000Z",
  "films": [
    "https://swapi.build/api/films/3"
  ],
  "hyperdrive_rating": "1.0",
  "length": "1200",
  "manufacturer": "Mon Calamari shipyards",
  "max_atmosphering_speed": "n/a",
  "model": "MC80 Liberty type Star Cruiser",
  "name": "Calamari Cruiser",
  "passengers": "1200",
  "pilots": [],
  "starship_class": "Star Cruiser",
  "url": "https://swapi.build/api/starships/27"
}