Star Wars API (SWAPI) as a remote MCP server: films, people, planets, species, starships, vehicles.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh 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.
Numeric record id (from the entity's url field)
Resource type
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.
| Argument | Type | Description |
|---|---|---|
| id* | integer | Numeric record id (from the entity's url field) |
| resource* | string | Resource type |
{
"type": "object",
"required": [
"resource",
"id"
],
"properties": {
"id": {
"type": "integer",
"description": "Numeric record id (from the entity's url field)"
},
"resource": {
"enum": [
"PEOPLE",
"FILMS",
"PLANETS",
"SPECIES",
"STARSHIPS",
"VEHICLES"
],
"type": "string",
"description": "Resource type"
}
}
}Lists all entities of a Star Wars resource type from swapi.build. Returns a JSON array.
| Argument | Type | Description |
|---|---|---|
| resource* | string | Resource type |
{
"type": "object",
"required": [
"resource"
],
"properties": {
"resource": {
"enum": [
"PEOPLE",
"FILMS",
"PLANETS",
"SPECIES",
"STARSHIPS",
"VEHICLES"
],
"type": "string",
"description": "Resource type"
}
}
}Returns one random Star Wars entity of the given resource type. Great for live demos. Returns a JSON object.
| Argument | Type | Description |
|---|---|---|
| resource* | string | Resource type |
{
"type": "object",
"required": [
"resource"
],
"properties": {
"resource": {
"enum": [
"PEOPLE",
"FILMS",
"PLANETS",
"SPECIES",
"STARSHIPS",
"VEHICLES"
],
"type": "string",
"description": "Resource type"
}
}
}Searches a Star Wars resource by name (title for FILMS), case-insensitive substring match. Returns a JSON array.
| Argument | Type | Description |
|---|---|---|
| query* | string | Name/title fragment |
| resource* | string | Resource type |
{
"type": "object",
"required": [
"resource",
"query"
],
"properties": {
"query": {
"type": "string",
"description": "Name/title fragment"
},
"resource": {
"enum": [
"PEOPLE",
"FILMS",
"PLANETS",
"SPECIES",
"STARSHIPS",
"VEHICLES"
],
"type": "string",
"description": "Resource type"
}
}
}