New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

swapi-mcp

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swapi-mcp

SWAPI: characters, planets, films, starships, vehicles and species, with film cross-references — keyless.

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
342
43.1%
Maintainers
1
Weekly downloads
 
Created
Source

Star Wars API MCP

SWAPI: characters, planets, films, starships, vehicles and species, with film cross-references — keyless.

Keyless — no signup, no API key, no environment variables.

Install

npx -y swapi-mcp

Or add it to your MCP client:

{
  "mcpServers": {
    "swapi-mcp": { "command": "npx", "args": ["-y", "swapi-mcp"] }
  }
}

Tools

ToolWhat it does
search_star_warsSearch any resource by name
star_wars_detailOne record with its full field list
list_resourceFirst page of a resource
film_chronicleAll nine films in story order
character_filmsWhich films a character appears in

Example

SWAPI people matching "skywalker" (3 results):

1. Luke Skywalker — born 19BBY, male, 172cm, 77kg (id 1)

Notes

Uses swapi.dev and falls back to the community mirror swapi.py4e.com when the primary is down. Covers the six classic films' data set only — newer series are not in SWAPI.

Licence

MIT

Keywords

mcp

FAQs

Package last updated on 28 Oct 2026

Related posts