Star Wars API MCP Skill for Openclaw

An MCP-compatible interface for querying canonical data from the Star Wars universe, including films, characters, and starships.

brucegutman
v1.0.0
Apr 15, 2026
0
750
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install pipeworx-swapi

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install pipeworx-swapi using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Star Wars API MCP Skill?

The Star Wars API skill enables AI agents to access a vast repository of information from the Star Wars galaxy through the Model Context Protocol. By utilizing this integration within Openclaw Skills, developers can provide their agents with detailed knowledge of the original six films, covering everything from planetary climates to starship hyperdrive ratings. This skill serves as a bridge between structured cinematic data and conversational AI, allowing for precise information retrieval in a format that agents can easily process.

This implementation focuses on providing structured access to characters, locations, and technology, making it an ideal tool for developers testing agentic capabilities or building themed applications. Openclaw Skills users can leverage this data to enrich agent context with physical attributes, orbital data, and historical film metadata, ensuring that every query about a galaxy far, far away is answered with canonical accuracy.

Star Wars API MCP Skill Use Cases

  • Searching for character physical attributes and background info by name.
  • Retrieving planetary specifications like terrain, population, and gravity for world-building context.
  • Comparing starship models, manufacturer data, and cargo capacities for technical queries.
  • Extracting film metadata, including release dates and opening crawls, for content generation.

How Star Wars API MCP Skill Works

  1. The AI agent identifies a Star Wars-related query and selects the appropriate tool from the Openclaw Skills registry.
  2. For specific entities, the agent provides an ID; for characters, it utilizes a search string.
  3. The skill routes the request through the MCP gateway to the SWAPI backend.
  4. Structured JSON data is returned, containing detailed attributes such as height for people or atmospheric data for planets.
  5. The agent synthesizes this technical data into a natural language response for the user.

Star Wars API MCP Skill Setup

To integrate this skill into your agent environment, update your configuration to include the following MCP server definition. Openclaw Skills can connect to the Star Wars data provider via the Pipeworx gateway.

{
  "mcpServers": {
    "swapi": {
      "url": "https://gateway.pipeworx.io/swapi/mcp"
"    }
  }
}

You can test the connection using a curl command to fetch planetary data:

curl -X POST https://gateway.pipeworx.io/swapi/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_planet","arguments":{"id":1}}}'

Star Wars API MCP Skill Data Schema & Taxonomy

The skill organizes Star Wars lore into four primary data models, ensuring consistency across Openclaw Skills integrations:

Entity Data Provided
People Name, height, mass, birth year, gender, and homeworld reference.
Planets Climate, terrain, population, gravity, and orbital statistics.
Starships Model, manufacturer, crew capacity, cargo limits, and speed ratings.
Films Title, episode ID, director, release date, and opening crawl text.

Star Wars API MCP Skill Advanced Features

  • Character search functionality that handles partial name matches within the Openclaw Skills interface.
  • High-fidelity starship technical specs including hyperdrive ratings and atmospheric speed.
  • Comprehensive planetary data retrieval by ID for consistent referencing across multi-agent workflows.
  • Direct access to the cinematic opening crawls for every film in the original hexalogy.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*