Skip to content

Star Wars MCP

by swapi.build · remote · no sign-in to list tools · v2.8.1 · published by build.swapi

Star Wars API (SWAPI) as a remote MCP server: films, people, planets, species, starships, vehicles.

Read only

4 tools: 4 only read.

Scanned Oct 21, 2026

No check matched anything in the tool definitions. No finding is not a safety guarantee. How the checks work.

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

Tools

Open a tool for its reasons and full description. Descriptions are the publisher's own words, shown as they are.

4 tools

Only reads 4Claude Code: allow
  • sw_getGets one Star Wars entity by numeric id.No findings

    Why it is in this group

    • The name "sw_get" says "get": a word for reading.
    Description, as the server wrote it
    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.

    Annotations the server declares

    • title: Get Star Wars entity by id
    • destructiveHint: false
    • idempotentHint: true
    • openWorldHint: false
    • readOnlyHint: true
  • sw_listLists all entities of a Star Wars resource type from swapi.build.No findings

    Why it is in this group

    • The name "sw_list" says "list": a word for reading.
    Description, as the server wrote it
    Lists all entities of a Star Wars resource type from swapi.build. Returns a JSON array.

    Annotations the server declares

    • title: List Star Wars resources
    • destructiveHint: false
    • idempotentHint: true
    • openWorldHint: false
    • readOnlyHint: true
  • sw_randomReturns one random Star Wars entity of the given resource type.No findings

    Why it is in this group

    • The description's first verb is "return": a word for reading.
    Description, as the server wrote it
    Returns one random Star Wars entity of the given resource type. Great for live demos. Returns a JSON object.

    Annotations the server declares

    • title: Random Star Wars entity
    • destructiveHint: false
    • idempotentHint: false
    • openWorldHint: false
    • readOnlyHint: true

This is not a safety rating, and no finding is not a safety guarantee. The groups and findings come from fixed checks of the tool definitions the server returned on the date shown, not from its code or what it does when called. How the checks work.

Install

Pinned to version 2.8.1. Values in angle brackets are yours to fill in.

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

Run in a terminal.

Claude Code permissions

Allow the reads, ask before a change, deny the deletes. Paste into .claude/settings.json.

.claude/settings.json
{
  "permissions": {
    "allow": [
      "mcp__star-wars__sw_get",
      "mcp__star-wars__sw_list",
      "mcp__star-wars__sw_random",
      "mcp__star-wars__sw_search"
    ],
    "ask": [],
    "deny": []
  }
}

Tools that only read are allowed, tools that change things ask first, tools that delete or cancel are denied. It assumes the server is installed as star-wars. Review it before you use it.