The Star Wars API and MCP Server. All the Star Wars data you've ever wanted.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add --transport http star-wars https://swapi.build/mcp~/.codex/config.toml
[mcp_servers.star-wars]
url = "https://swapi.build/mcp"
# codex mcp add star-wars --url https://swapi.build/mcp~/.cursor/mcp.json
{
"mcpServers": {
"star-wars": {
"url": "https://swapi.build/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"star-wars": {
"type": "http",
"url": "https://swapi.build/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"star-wars": {
"httpUrl": "https://swapi.build/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"star-wars": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://swapi.build/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"star-wars": {
"url": "https://swapi.build/mcp"
}
}
}