← People

Qui-Gon Jinn

Height193
Mass89
Hair colorbrown
Skin colorfair
Eye colorblue
Birth year92BBY
Gendermale

Homeworld

Vehicles

curl

curl https://swapi.build/api/people/32

JavaScript

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

Python

requests.get('https://swapi.build/api/people/32').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":"PEOPLE","id":32}
GET /api/people/32 200
{
  "birth_year": "92BBY",
  "created": "2014-12-19T16:54:53.618000Z",
  "edited": "2014-12-20T21:17:50.375000Z",
  "eye_color": "blue",
  "films": [
    "https://swapi.build/api/films/4"
  ],
  "gender": "male",
  "hair_color": "brown",
  "height": "193",
  "homeworld": "https://swapi.build/api/planets/28",
  "mass": "89",
  "name": "Qui-Gon Jinn",
  "skin_color": "fair",
  "species": [],
  "starships": [],
  "url": "https://swapi.build/api/people/32",
  "vehicles": [
    "https://swapi.build/api/vehicles/38"
  ]
}