SWAPI - The Star Wars

SWAPI - The Star Wars MCP Connector for Claude

F

Explore the Star Wars universe — query people, planets, films, and starships directly from the Star Wars API.

8 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Access the comprehensive Star Wars API (SWAPI) through your AI agent and dive deep into the lore of the galaxy far, far away.

What you can do

  • Characters & People — Search for iconic characters like Luke Skywalker or Darth Vader and get their physical traits and history.
  • Planets & Moons — Retrieve data on climates, terrain, and populations for worlds like Tatooine or Coruscant.
  • Starships & Vehicles — Get technical specifications for the Millennium Falcon, X-wings, and Imperial Star Destroyers.
  • Films & Species — List all movies in the saga or explore the diverse biological species inhabiting the galaxy.
  • Deep Linking — Use specific resource URLs to navigate between related data points like a character's homeworld or the films they appeared in.

How it works

  1. Subscribe to this server
  2. No API key is required as SWAPI is a public resource
  3. Start exploring the galaxy from Claude, Cursor, or any MCP-compatible client

Who is this for?

  • Developers — quickly test API structures or fetch Star Wars placeholder data for applications.
  • Fans & Writers — verify facts about characters, ships, and planets for creative projects.
  • Data Enthusiasts — analyze the relationships between different entities in the Star Wars universe.
star-warsswapipop-cultureencyclopediaapi-data

8 tools expose this connector's capabilities to your AI agent.

get_resource_by_url

g., from a homeworld, films, or species attribute). Get a specific SWAPI resource by its URL

get_root

Get SWAPI root resources

list_films

Use the search parameter to filter by title. List or search Star Wars films

list_people

Use the search parameter to filter by name. List or search Star Wars people/characters

list_planets

Use the search parameter to filter by name. List or search Star Wars planets

list_species

Use the search parameter to filter by name. List or search Star Wars species

list_starships

Use the search parameter to filter by name or model. List or search Star Wars starships

list_vehicles

Use the search parameter to filter by name or model. List or search Star Wars vehicles

See how to talk to your AI agent using SWAPI - The Star Wars.

Search for the character 'Darth Vader' and tell me his height.

I found Darth Vader. According to the records, he is 202 cm tall and weighs 136 kg.

List all the planets in the Star Wars universe.

Fetching planets... I've found several worlds including Tatooine, Alderaan, Yavin IV, and Hoth. Would you like details on a specific one?

What are the technical specifications of the Millennium Falcon?

The Millennium Falcon (model YT-1300 light freighter) has a max atmosphering speed of 1050 km/h, a hyperdrive rating of 0.5, and can carry up to 6 passengers.

You can use the `list_people` tool and provide the name in the `search` parameter. The agent will return all matching characters from the Star Wars universe.

Related Connectors