← People

Beru Whitesun lars

Height165
Mass75
Hair colorbrown
Skin colorlight
Eye colorblue
Birth year47BBY
Genderfemale

Homeworld

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/people/7').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":7}
GET /api/people/7 200
{
  "birth_year": "47BBY",
  "created": "2014-12-10T15:53:41.121000Z",
  "edited": "2014-12-20T21:17:50.319000Z",
  "eye_color": "blue",
  "films": [
    "https://swapi.build/api/films/1",
    "https://swapi.build/api/films/5",
    "https://swapi.build/api/films/6"
  ],
  "gender": "female",
  "hair_color": "brown",
  "height": "165",
  "homeworld": "https://swapi.build/api/planets/1",
  "mass": "75",
  "name": "Beru Whitesun lars",
  "skin_color": "light",
  "species": [],
  "starships": [],
  "url": "https://swapi.build/api/people/7",
  "vehicles": []
}