Star Wars MCP
Star Wars API (SWAPI) as a remote MCP server: films, people, planets, species, starships, vehicles.
使うべきか
品質と安全性
A
検出事項(1)
- LOWsw_random 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
~527トークン数(ツール定義)
~674 B一般的なレスポンスサイズ
注意への影響は最小限(128k コンテキストの 0.41%)
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"star-wars": {
"url": "https://swapi.build/mcp"
}
}
}リモートエンドポイント
https://swapi.build/mcpstreamable-httpできること
ツール一覧
ツール(4)
🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢sw_get(resource, id)
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.
入力スキーマ
{
"type": "object",
"properties": {
"resource": {
"type": "string",
"enum": [
"PEOPLE",
"FILMS",
"PLANETS",
"SPECIES",
"STARSHIPS",
"VEHICLES"
],
"description": "Resource type"
},
"id": {
"type": "integer",
"description": "Numeric record id (from the entity's url field)"
}
},
"required": [
"resource",
"id"
]
}🟢sw_list(resource)
Lists all entities of a Star Wars resource type from swapi.build. Returns a JSON array.
入力スキーマ
{
"type": "object",
"properties": {
"resource": {
"type": "string",
"enum": [
"PEOPLE",
"FILMS",
"PLANETS",
"SPECIES",
"STARSHIPS",
"VEHICLES"
],
"description": "Resource type"
}
},
"required": [
"resource"
]
}🟢sw_random(resource)
Returns one random Star Wars entity of the given resource type. Great for live demos. Returns a JSON object.
入力スキーマ
{
"type": "object",
"properties": {
"resource": {
"type": "string",
"enum": [
"PEOPLE",
"FILMS",
"PLANETS",
"SPECIES",
"STARSHIPS",
"VEHICLES"
],
"description": "Resource type"
}
},
"required": [
"resource"
]
}🟢sw_search(resource, query)
Searches a Star Wars resource by name (title for FILMS), case-insensitive substring match. Returns a JSON array.
入力スキーマ
{
"type": "object",
"properties": {
"resource": {
"type": "string",
"enum": [
"PEOPLE",
"FILMS",
"PLANETS",
"SPECIES",
"STARSHIPS",
"VEHICLES"
],
"description": "Resource type"
},
"query": {
"type": "string",
"description": "Name/title fragment"
}
},
"required": [
"resource",
"query"
]
}推奨プロンプト
search_research
Search for information about [topic] using Star Wars MCP
想定されるツール:
sw_searchretrieve_data
Get details about [item] from Star Wars MCP
想定されるツール:
sw_getfetch_info
Fetch [information type] using Star Wars MCP
想定されるツール:
sw_getfind_specific
Find [specific item] using Star Wars MCP
想定されるツール:
sw_searchlist_items
List all [items] available in Star Wars MCP
想定されるツール:
sw_listコミュニティ
エビデンス
最近の観測
検証済みバージョンは記録されていませんツール 4 件
検証済みバージョンは記録されていませんツール 4 件