SW

Star Wars

Created 5 months ago

MCP Server for the SWAPI Star Wars API.

development documentation public API Star Wars

What is Star Wars?

MCP Server for the SWAPI Star Wars API. The main goal of the project is to show how an MCP server can be used to interact with APIs.

Documentation

Star Wars MCP Server

Features

  • List Star Wars Characters
  • List Planets, Films, Species, Vehicles, and Starships
  • Fetch Entity Details by ID
  • Automatic Pagination
  • Built-in Caching
  • Cache Management

Tools

  1. get_people
  2. get_person_by_id
  3. get_planets
  4. get_planet_by_id
  5. get_films
  6. get_film_by_id
  7. get_species_list
  8. get_species_by_id
  9. get_vehicles
  10. get_vehicle_by_id
  11. get_starships
  12. get_starship_by_id
  13. clear_cache
  14. get_cache_stats

Setup# Quick Installation in VS Code

Manual Installation in VS Code# Installing via Smithery

Run the MCP Server Locally with MCP Inspector# Running the MCP Server hosted in GitHub Copilot with VS Code Insiders

Using Tools in GitHub Copilot

Server Config

{
  "mcpServers": {
    "star-wars-server": {
      "command": "npx",
      "args": [
        "star-wars"
      ]
    }
  }
}

Links & Status

Repository: github.com
Hosted: No
Global: No
Official: Yes

Project Info

Hosted Featured
Created At: Jul 02, 2025
Updated At: Aug 07, 2025
Author: John Papa
Category: community
License: MIT
Tags:
development documentation public