Twinkle Hub Desktop Extension
Twinkle Hub を Claude Desktop ワンクリックインストーラー (.mcpb) としてパッケージ化 — ダウンロード→ダブルクリック→sk-... key を貼り付け→完了。claude_desktop_config.json の編集不要。
ダウンロードした twinkle-hub.mcpb をダブルクリック。Claude Desktop がインストールダイアログを開き、API key を要求 (dashboard から取得)、完了。
Claude Desktop
手動で編集したい?このファイルを開いてください:
- macOS:
~/Library/ Application Support/ Claude/ claude_desktop_config.json - Windows:
%APPDATA%\Claude\ claude_desktop_config.json - Linux:
~/.config/ Claude/ claude_desktop_config.json
{ "mcpServers": { "twinkle-hub": { "type": "http", "url": "https://api.twinkleai.tw/mcp/", "headers": { "Authorization": "Bearer sk-..." } } } }
sk-... を dashboard で見えるキーに置き換え。Claude を再起動 — Twinkle Hub のツールが表示されます。
Claude Code(CLI)
Claude Code には claude mcp add コマンドが付属:
claude mcp add --transport http twinkle-hub https://api.twinkleai.tw/mcp/ \ --header "Authorization: Bearer sk-..."
料金
無料枠・レート制限・各プランの違いは料金ページにまとめています。枠を使い切ると gateway は回復するまで呼び出しを止め、回復後は自動で再開します。設定の変更は不要です。
削除方法
一時停止したい?以下、各クライアントから Twinkle Hub MCP を削除する方法です。API キーは無効化されないので、いつでも再追加可能。
Claude Desktop
~/(Windows:%APPDATA%\)を編集、mcpServers 下の twinkle-hub エントリを削除、保存して Claude Desktop を再起動。
Claude Code
claude mcp remove twinkle-hubアカウントを完全に閉じたい?
上記はクライアント切断のみ;hub アカウントと API キーは残ります。アカウント + データを完全削除するには /account/security で削除を申請してください(72 時間の猶予期間)。
トラブルシューティング
以下の項目はすべて、実際に本番環境で失敗した呼び出しに基づいています。
Please reconnect to Twinkle Hub…
You called an individual tool name directly (for example tw_search_datasets). This service exposes four tools; individual tools are dispatched through execute_tool.
Call execute_tool instead, with the tool name in tool_id and its parameters in arguments.
Unknown tool_id
That name does not exist — usually an old one. In August 2026 every Taiwan tool gained a tw_ prefix and the old names were not kept.
Use discover_tools, describe the data you want in plain language, and take the current name from the result.
filters[0].field is not a queryable column of this dataset
The field in a filter must be a column that this particular dataset actually has, and the columns differ from dataset to dataset.
Call tw_get_dataset first to see the columns; the error also lists them in details.allowed_columns.
Unrecognised parameter: ['columns']
A parameter name is wrong — commonly columns instead of select, or a name carried over from SQL.
Use the parameter list the error prints; call inspect_tool when you are unsure of a tool's shape.
Out of credits / plan limit reached
Two different situations: credits exhausted (402) waits for the refill or a top-up; a plan limit (409) needs a subscription change or an upgrade.
Read the error code first — 402 and 409 have different fixes, and topping up will not clear a 409.
Semantic search is temporarily paused (reindexing)
Semantic search over judgments pauses occasionally while its index is rebuilt. Keyword search stays available and covers more recent months.
Switch to keyword search: put your terms in jfull_contains, optionally narrowed by court_code and year.