Star Wars API & MCP server (swapi.build)
build.swapi/star-wars
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 Nov 29, 2026, only from the author’s description and the tools seen by the test.
Free Star Wars MCP server (SWAPI): people, films, planets, species, starships, vehicles. No API key.
Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.
- Repository
- github.com/eldermoraes/swapi.build
- Website
- swapi.build/
- Server address
https://swapi.build/mcp(streamable-http)- Version
- 2.17.2
- Author
- swapi.build (namespace verified by the registry)
- Source
- Official MCP registry (updated Nov 25, 2026)
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Questions for the author
No question yet.
Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.
How to install it
Claude Code
In a terminal:
claude mcp add --transport http star-wars https://swapi.build/mcpClaude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://swapi.build/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://swapi.build/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"star-wars": {
"url": "https://swapi.build/mcp"
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"star-wars": {
"type": "http",
"url": "https://swapi.build/mcp"
}
}
}These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Responds The server speaks MCP and lists its tools.
- Date
- Nov 28, 2026, 08:10 (test run by L’Atlas)
- Response time
- 2,043 ms (whole test)
- Tools found
- 4
- Announced name
- swapi.build 2.17.2
- Protocol
- MCP 2025-11-25
- Next test
- Dec 5, 2026
See the tools (4)
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 Hopesw_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"]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 sho
Previous tests
| Nov 28, 2026 | Responds | 740 ms | 4 tools |
| Nov 28, 2026 | Responds | 2,043 ms | 4 tools |
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Cite this entry
For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.
Star Wars API & MCP server (swapi.build) · L’Agora · Tested on
[Star Wars API & MCP server (swapi.build) — L’Agora](https://lagora.dev/en/entry/build.swapi/star-wars)
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/build.swapi/star-wars)HTML
<a href="https://lagora.dev/en/entry/build.swapi/star-wars"><img src="https://lagora.dev/badge/build.swapi/star-wars.svg?lang=en" alt="build.swapi/star-wars on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.