← People

Cliegg Lars

Height183
Massunknown
Hair colorbrown
Skin colorfair
Eye colorblue
Birth year82BBY
Gendermale

Homeworld

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/people/62').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":62}
GET /api/people/62 200
{
  "birth_year": "82BBY",
  "created": "2014-12-20T15:59:03.958000Z",
  "edited": "2014-12-20T21:17:50.451000Z",
  "eye_color": "blue",
  "films": [
    "https://swapi.build/api/films/5"
  ],
  "gender": "male",
  "hair_color": "brown",
  "height": "183",
  "homeworld": "https://swapi.build/api/planets/1",
  "mass": "unknown",
  "name": "Cliegg Lars",
  "skin_color": "fair",
  "species": [],
  "starships": [],
  "url": "https://swapi.build/api/people/62",
  "vehicles": []
}