Twinkle HubTwinkle Hub

10 分で​セットアップ

Twinkle Hub は MCP endpoint です。​お使いの​ツールを​選んで​手順どおりに​進めてください。

API キーを​取得

ログインすると、​ここに key が​表示され、​以下の​設定にも​自動で​入ります。

API キーを​取得

Twinkle Hub Desktop Extension

Twinkle Hub を Claude Desktop ワンクリックインストーラー (.mcpb) と​して​パッケージ化 — ダウンロード→ダブルクリック→sk-... key を​貼り付け→完了。claude_desktop_config.json の編集不要。

⬇ Twinkle Hub for Claude Desktop を​ダウンロード

ダウンロードした 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
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 コマンドが​付属:

bash
claude mcp add --transport http twinkle-hub https://api.twinkleai.tw/mcp/ \
  --header "Authorization: Bearer sk-..."

料金

無料枠・レート制限・各プランの​違いは料金ページにまとめています。​枠を​使い切ると gateway は​回復するまで​呼び出しを​止め、​回復後は​自動で​再開します。​設定の​変更は​不要です。

削除方法

一時​停止したい?​以下、​各クライアントから Twinkle Hub MCP を​削除する​方法です。​API キーは​無効化されないので、​いつでも​再追加可能。

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json(Windows:%APPDATA%\Claude\claude_desktop_config.json)を​編集、mcpServers 下の twinkle-hub エントリを​削除、​保存して Claude Desktop を​再起動。

Claude Code

bash
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.