NestDaddy

Star Wars API & MCP server (swapi.build)

build.swapi/star-wars · v2.16.0

Free Star Wars MCP server (SWAPI): people, films, planets, species, starships, vehicles. No API key.

Connect Remote server

Terminal
claude mcp add --transport http star-wars https://swapi.build/mcp
~/.cursor/mcp.json
{
  "mcpServers": {
    "star-wars": {
      "url": "https://swapi.build/mcp"
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "star-wars": {
      "type": "http",
      "url": "https://swapi.build/mcp"
    }
  }
}
Claude Desktop
Settings > Connectors > Add custom connector
URL: https://swapi.build/mcp

Tools 4 found in our last check

  • sw_get

    Gets one Star Wars entity by numeric record id and returns it as a JSON object. Take the id from the end of an entity's url field (from sw_search, sw_list or a relation URL). Ids are record ids, not episode numbers: FILMS id 1 is A New Hope (Episode IV). An unknown id returns a…

  • sw_list

    Lists every entity of one Star Wars resource type as a JSON array (Episodes I-VI data). Responses are large (all 82 PEOPLE, about 38 KB); to find a single entity, prefer sw_search, then sw_get; for a compact index pass fields, e.g. ["name"] (about 5 KB).

  • sw_random

    Returns one random Star Wars entity of the given resource type as a JSON object. Each call can return a different entity, so it is not idempotent. Useful for demos and quizzes; to fetch a specific entity use sw_search or sw_get.

  • sw_search

    Start here. Finds Star Wars entities by name (title for FILMS) with a case-insensitive substring match: 'sky' finds Luke, Anakin and Shmi Skywalker. Returns a JSON array of full entities; an empty array [] means no match; pass fields to shorten each entity. The id to pass to sw_…

Details

Endpointhttps://swapi.build/mcp (Streamable HTTP)
First published12 Nov 2026
Last updated12 Nov 2026
Registry namebuild.swapi/star-wars

More search and web servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.