Star Wars
live EntertainmentExplore Star Wars universe data — characters, planets, starships, and films from SWAPI
Tools
search_people
required: query Search Star Wars characters by name. Returns name, physical attributes, birth year, gender, and homeworld URL.
query req string Character name to search for (e.g., "Luke") Try it
get_planet
required: id Get a Star Wars planet by its numeric ID. Returns name, climate, terrain, population, and orbital data.
id req number Planet ID (e.g., 1 for Tatooine) Try it
get_starship
required: id Get a Star Wars starship by its numeric ID. Returns name, model, manufacturer, crew capacity, and hyperdrive rating.
id req number Starship ID (e.g., 9 for the Death Star) Try it
get_film
required: id Get a Star Wars film by its numeric ID. Returns title, episode number, director, producer, release date, and opening crawl.
id req number Film ID (e.g., 1 for A New Hope) Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/swapi/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' curl -X POST https://gateway.pipeworx.io/swapi/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"search_people","arguments":{"query": "hello"}}}' Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("search_people", {"query":"example"}); // Or ask in plain English:
const answer = await px.ask("explore star wars universe data — characters, planets, starships, and films from swapi");