L'Atlas / MCP servers / Star Wars API & MCP server (swapi.build)
MCP server

Star Wars API & MCP server (swapi.build)

build.swapi/star-wars

MCP server OK 4 tools

Get a review See pricing

What it is for

Gives access to Star Wars data from SWAPI: people, films, planets, species, starships and vehicles, through `sw_search`, `sw_list`, `sw_get` and `sw_random`.

Summary written by L’Atlas on 29 Nov 2026, rewritten only from the author’s description and the tools seen by our test. Author’s text below.

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

Technical sheet

Author
swapi.build (registry namespace)
Repository
github.com/eldermoraes/swapi.build
Site
swapi.build
Version
2.17.2
Transport
Streamable HTTP
Authentication
None (observed by our test)
Server address
https://swapi.build/mcp Streamable HTTP
Tools
4
Categories
—
Last updated
25 Nov 2026
Published
25 Nov 2026

Verified author and popularity

Entry not claimed yet. Is it your project? Claim it

Not “Popular” for now Removed automatically as soon as the criteria are no longer met.

  • Distinct visitors of this entry over 30 days: 1 (30 needed) not yet
  • or install configs copied over 30 days: 0 (5 needed) not yet
  • and a successful test less than 14 days old: tested 28 Nov 2026 met

Badge updates by itself. Always “tested on …”, never “certified”. How it works

MarkdownREADME.md
[![Status on L’Atlas](https://latlas.dev/badge/statut/mcp/build.swapi/star-wars.svg?lang=en)](https://latlas.dev/en/mcp/build.swapi/star-wars)
HTML
<a href="https://latlas.dev/en/mcp/build.swapi/star-wars"><img src="https://latlas.dev/badge/statut/mcp/build.swapi/star-wars.svg?lang=en" alt="Status on L’Atlas" height="20"></a>

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/build.swapi/star-wars.svg?lang=en)](https://latlas.dev/en/mcp/build.swapi/star-wars)
HTML
<a href="https://latlas.dev/en/mcp/build.swapi/star-wars"><img src="https://latlas.dev/badge/fiche/build.swapi/star-wars.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

Every week: initialize then tools/list, without credentials, never calling a tool. Method

Address
https://swapi.build/mcp
Last result
OK 28 Nov 2026, 08:10
Response time
2,043 ms (initialize + tools/list)
Protocol version
2025-11-25
Announced name
swapi.build 2.17.2
Tools
4

History

DateResultResponseTools
28 Nov 2026, 08:10OK2,043 ms4

With small models

Does the local model pick the right tool with valid arguments? Tasks written from this server’s tools, no tool executed. Method · Ranking

This test measures tool choice and parameter validity on this server, without executing anything. Multi-step tasks are measured separately, in our sandboxes (multi-step test).

This server’s tool list adds 1,330 tokens to the prompt.

Mac mini M4 24 GB

Tasks passed, by model
Tasks passed, by modelBonsai 2 27B : 4/4 ; Gemma 4 E4B : 4/4 ; GPT-OSS 20B : 4/4 ; Nemotron 3.5 Bolt E4B : 4/4 ; Ornith 1.5 9B : 4/4 ; Qwen3.5 4B : 4/4 ; Qwen3.5 9B : 4/4Bonsai 2 27B 4/4 · 100 %Gemma 4 E4B 4/4 · 100 %GPT-OSS 20B 4/4 · 100 %Nemotron 3.5 Bolt E4B 4/4 · 100 %Ornith 1.5 9B 4/4 · 100 %Qwen3.5 4B 4/4 · 100 %Qwen3.5 9B 4/4 · 100 %
ModelTasks passedRight toolMedian timeDate
Bonsai 2 27B4/4 100 %4/411.8 s1 Dec 2026
Gemma 4 E4B4/4 100 %4/41,791 ms1 Dec 2026
GPT-OSS 20B4/4 100 %4/41,753 ms1 Dec 2026
Nemotron 3.5 Bolt E4B4/4 100 %4/41,868 ms2 Dec 2026
Ornith 1.5 9B4/4 100 %4/43,046 ms1 Dec 2026
Qwen3.5 4B4/4 100 %4/41,606 ms30 Nov 2026
Qwen3.5 9B4/4 100 %4/41,487 ms1 Dec 2026

Tested with small models on L’Atlas “Works with small models” badge: at least 75% of tasks passed on average.

MarkdownREADME.md
[![Tested with small models on L’Atlas](https://latlas.dev/badge/petits-modeles/build.swapi/star-wars.svg?lang=en)](https://latlas.dev/en/mcp/build.swapi/star-wars#petits-modeles)

Which model for this MCP?

Qwen3.5 9Bbest small local model : 4/4, 1,487 ms per request

Local: Mac mini M4 24 GB, Ollama. At equal success, the fastest. With a local model your requests stay on your machine; with the cloud they go to the provider. Cloud speed depends on the network and the provider. Local or cloud?

Exposed tools (4, from tools/list, 28 Nov 2026)

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 tool error, e.g. 'No films found with id 99'. Pass expand to get related records in the same call, e.g. ["homeworld", "species"]; name only the relations you need; * on a film can pass 50 KB.

ParameterTypeRequiredDescription
expandarray<string>noOptional. Relations to embed, one level deep, under a final "expanded" key: PEOPLE homeworld, films, species, vehicles, starships; FILMS characters, planets, starships, vehicles, species; PLANETS residents, films; SPECIES homeworld, people, films; STARSHIPS and VEHICLES pilots, films; or ["*"] alon…
idintegeryesNumeric record id: the last segment of the entity's url field (1 in .../api/people/1).
resourceenum: "PEOPLE" | "FILMS" | "PLANETS" | "SPECIES" | "STARSHIPS" | "VEHICLES"yesResource type: PEOPLE, FILMS, PLANETS, SPECIES, STARSHIPS or VEHICLES. Any other value returns a tool error.

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).

ParameterTypeRequiredDescription
fieldsarray<string>noOptional. Field names to keep in each entity (url is always kept), e.g. ["name"] (FILMS: ["title"]). Up to 24 names; an unknown name returns a tool error listing the valid ones. Omit for full entities.
resourceenum: "PEOPLE" | "FILMS" | "PLANETS" | "SPECIES" | "STARSHIPS" | "VEHICLES"yesResource type: PEOPLE, FILMS, PLANETS, SPECIES, STARSHIPS or VEHICLES. Any other value returns a tool error.

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.

ParameterTypeRequiredDescription
resourceenum: "PEOPLE" | "FILMS" | "PLANETS" | "SPECIES" | "STARSHIPS" | "VEHICLES"yesResource type: PEOPLE, FILMS, PLANETS, SPECIES, STARSHIPS or VEHICLES. Any other value returns a tool error.

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_get is the last segment of each entity's url field. Data covers Episodes I-VI only.

ParameterTypeRequiredDescription
fieldsarray<string>noOptional. Field names to keep in each entity (url is always kept), e.g. ["name"] (FILMS: ["title"]). Up to 24 names; an unknown name returns a tool error listing the valid ones. Omit for full entities.
querystringyesName or title fragment, case-insensitive (e.g. 'falcon', 'hope').
resourceenum: "PEOPLE" | "FILMS" | "PLANETS" | "SPECIES" | "STARSHIPS" | "VEHICLES"yesResource type: PEOPLE, FILMS, PLANETS, SPECIES, STARSHIPS or VEHICLES. Any other value returns a tool error.

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://swapi.build/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http star-wars https://swapi.build/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : star-wars ; URL : https://swapi.build/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : star-wars ; Server URL : https://swapi.build/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "star-wars": {
      "url": "https://swapi.build/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "star-wars": {
      "type": "http",
      "url": "https://swapi.build/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "star-wars": {
      "url": "https://swapi.build/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "star-wars": {
      "httpUrl": "https://swapi.build/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.star-wars]
url = "https://swapi.build/mcp"

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

Star Wars API & MCP server (swapi.build) · L’Atlas · Tested on

Markdown
[Star Wars API & MCP server (swapi.build) — L’Atlas](https://latlas.dev/en/mcp/build.swapi/star-wars)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 3 Dec 2026. L’Atlas adds no data beyond this source and its own tests.