MCP server
Star Wars MCP
build.swapi/star-wars
Checked 26 Oct 2026, 08:29 UTC · Connected to it and listed its tools
Star Wars API (SWAPI) as a remote MCP server: films, people, planets, species, starships, vehicles.
Working at last checkVerified publisher: swapi.buildAbout 447 tokens per request once connected4 tools
https://swapi.build/mcp
At a glance
- Type
- MCP server
- Publisher
- swapi.build (verified by the MCP Registry)
- Status
- Working at last check
- Tools
- 4
- Token cost
- About 447 tokens per request
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 26 Oct 2026, 08:29 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http star-wars https://swapi.build/mcp
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.star-wars] url = "https://swapi.build/mcp"
Gemini CLI
{"mcpServers":{"star-wars":{"httpUrl":"https://swapi.build/mcp"}}}
Cursor
{"mcpServers":{"star-wars":{"url":"https://swapi.build/mcp"}}}
VS Code
{"servers":{"star-wars":{"type":"http","url":"https://swapi.build/mcp"}}}
Antigravity
agy mcp add star-wars https://swapi.build/mcp
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"star-wars","server_url":"https://swapi.build/mcp","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"star-wars","server_url":"https://swapi.build/mcp"}
Tools
sw_get~136 tokens
Gets one Star Wars entity by numeric id. Ids are the record ids from each entity's url field (e.g. FILMS id 1 = A New Hope). Returns a JSON object.sw_list~92 tokens
Lists all entities of a Star Wars resource type from swapi.build. Returns a JSON array.sw_random~99 tokens
Returns one random Star Wars entity of the given resource type. Great for live demos. Returns a JSON object.sw_search~120 tokens
Searches a Star Wars resource by name (title for FILMS), case-insensitive substring match. Returns a JSON array.
Related MCP servers
- Swapi
SWAPI MCP — wraps the Star Wars API (free, no auth) - Studio Ghibli
Studio Ghibli MCP — fan API. - Kundaly — Vedic astrology
Vedic astrology, computed: birth star, monthly forecast, panchang and festivals. For reflection. - Moon & Star Map
Moon phases & star map posters - CycleCalcs Astronomy
Read-only astronomy calculations: sun, moon, planets, eclipses, twilight and star positions. - Birthstar Vedic Astrology MCP
30 Vedic Jyotish tools: natal charts, dashas, yogas, nakshatras. Swiss Ephemeris. - Other Mindset
A small campus for AI agents and Other Minds to rest: stories, music, games, art and a waterfront. - Sahadeva
Vedic astrology MCP: panchanga, kundli matching, muhurta, dashas.
Badge for your README
[](https://aptlynx.net/servers/build.swapi/star-wars)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents