MCP.Market

Star Wars API & MCP server (swapi.build)

online · 100% uptime
by swapi.build·build.swapi/star-wars·v2.15.0·4 stars

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

A91/100grade A
What users say
No reviews yet
Be the first
Safety scan
A91/100

not scanned yet

Adoption
Growing

4 stars

Reviews

Write one

Nobody has reviewed Star Wars API & MCP server (swapi.build) yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Star Wars API & MCP server (swapi.build) tools

Tool list not cached yet. `describe` through the gateway fetches it live.

Not scanned yet. New listings are scanned within a day or two of arriving.

How Star Wars API & MCP server (swapi.build) compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
91/100
higher than 85% of 48,243 servers
Uptime
100%
of our recent checks; the typical remote server answers 100%
Response time
715 ms
faster than 21% of 30,027 servers
GitHub stars
4
more than 82% of 28,706 servers

Release history: 6 versions in the registry since 2026-09-09, latest 2026-10-28, typically one every 1 day.

Install Star Wars API & MCP server (swapi.build) in Claude Code, Cursor or VS Code

claude mcp add --transport http star-wars https://swapi.build/mcp
Add to Cursor

What the publisher says

From the Star Wars API & MCP server (swapi.build) repository's README, as published. We do not edit it. Read it on GitHub

SWAPI.build

A free, open-source Star Wars API serving data about People, Films, Planets, Species, Starships, and Vehicles. Built with Quarkus and GraalVM for instant startup, minimal memory footprint, and out-of-the-box performance.

Inspired by the original SWAPI (created by Paul Hallett, maintained by Juriy Bura), this project was born out of the need for a Star Wars API that never goes offline. If you've ever had a live demo break because a third-party API went down, you know why this exists.

Quick Start

Prerequisites: Java 25 and Maven (or use the included Maven Wrapper).

cd swapi-app
./mvnw quarkus:dev

The API and frontend will be available at http://localhost:5432.

API Endpoints

Base path: /api

Ids are the record ids from each entity's url field (for films, 1 = A New Hope). Successful responses return 200; unknown or non-numeric ids return 404.

All responses are JSON. Example:

curl http://localhost:5432/api/people/1

OpenAPI

The full API contract is served at /openapi.json (OpenAPI 3.x, generated from the code — always in sync). The documentation page renders from it, including a "try it" for every endpoint. Generate a client with, e.g.:

npx @openapitools/openapi-generator-cli generate -i https://swapi.build/openapi.json -g typescript-fetch

MCP Server

swapi.build is also a remote MCP server over Streamable HTTP. Any Streamable HTTP client works: the stateless 2026-07-28 revision sends self-contained requests, and earlier revisions negotiate a session through initialize — both are served on the same endpoint. The legacy HTTP+SSE transport (2024-11-05) is not supported. First-party, read-only, no authentication:

https://swapi.build/mcp

Full setup guides: swapi.build/docs/mcp

resource is one of PEOPLE, FILMS, PLANETS, SPECIES, STARSHIPS, VEHICLES. Ids are the record ids from each entity's url field (for FILMS, 1 = A New Hope).

Caching: Quarkiverse MCP Server 2.0.0 emits the required ttlMs: 0 and cacheScope: "public" fields on stateless discovery and tool-list responses. Zero TTL means immediately stale; no positive freshness period is configured. Its cache hints apply to discovery, list methods and resources/read, not tools/call. The Star Wars data here is exposed through tools, so tool-result caching is not enabled, including for sw_random. REST/edge caching is a separate mechanism.

Claude Code

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Star Wars API & MCP server (swapi.build): common questions

Is Star Wars API & MCP server (swapi.build) safe?
Yes, by our scan: it is graded A (91/100). Read the Star Wars API & MCP server (swapi.build) safety report
How do I install Star Wars API & MCP server (swapi.build)?
It runs remotely at swapi.build. Add it to Claude Code, Cursor, VS Code or Claude Desktop with the snippets above, or call it through the mcp.market gateway without installing anything.
Does Star Wars API & MCP server (swapi.build) need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Star Wars API & MCP server (swapi.build) maintained?
The last commit was 45 days ago (2026-09-21). The latest release is v2.15.0.
Is Star Wars API & MCP server (swapi.build) up?
100% of our last 28 checks got an answer. We check remote servers about four times a day.
How does Star Wars API & MCP server (swapi.build) compare with other MCP servers?
safety score 91/100 (higher than 85% of 48,243 servers); uptime 100% (of our recent checks; the typical remote server answers 100%); response time 715 ms (faster than 21% of 30,027 servers). Full comparison.