← People

Grievous

Height216
Mass159
Hair colornone
Skin colorbrown, white
Eye colorgreen, yellow
Birth yearunknown
Gendermale

Homeworld

Species

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/people/79').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":79}
GET /api/people/79 200
{
  "birth_year": "unknown",
  "created": "2014-12-20T19:43:53.348000Z",
  "edited": "2014-12-20T21:17:50.488000Z",
  "eye_color": "green, yellow",
  "films": [
    "https://swapi.build/api/films/6"
  ],
  "gender": "male",
  "hair_color": "none",
  "height": "216",
  "homeworld": "https://swapi.build/api/planets/59",
  "mass": "159",
  "name": "Grievous",
  "skin_color": "brown, white",
  "species": [
    "https://swapi.build/api/species/36"
  ],
  "starships": [
    "https://swapi.build/api/starships/74"
  ],
  "url": "https://swapi.build/api/people/79",
  "vehicles": [
    "https://swapi.build/api/vehicles/60"
  ]
}