Twinkle HubTwinkle Hub
Sign in

📌 2026-08-17 added: ⚖️ Taiwan statute time machine — historical article text · revision history · full-text search · citation graph (935 datasets · 35,454+ rows)

View full changelog →

Semantic + keyword search LY interpellations

tw_search_ly_interpellations

TW-specificMIT

**關鍵字 / Keywords**: 立委質詢 立法院 質詢紀錄 legislature interpellation question parliamentary Taiwan LY

立法院質詢語意檢索 (~12k 質詢, 事由+說明合併向量).

Args:
    query: 自然語言 (e.g. "長照經費", "兒少安置")
    legislator_contains: 質詢委員字串 (e.g. "王婉諭")
    term: 屆別
    session: 會期
    limit: top-K (1..100)

Returns:
    {n_corpus, n_returned, query, hits: [{屆, 質詢委員, 質詢編號,
     刊登日期, 事由, 說明, similarity}, ...]}

Input schema

{
  "properties": {
    "query": {
      "title": "Query",
      "type": "string"
    },
    "legislator_contains": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Legislator Contains"
    },
    "term": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Term"
    },
    "session": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Session"
    },
    "limit": {
      "default": 20,
      "title": "Limit",
      "type": "integer"
    },
    "mode": {
      "default": "hybrid",
      "title": "Mode",
      "type": "string"
    }
  },
  "required": [
    "query"
  ],
  "title": "tw_search_ly_interpellationsArguments",
  "type": "object"
}

How to call

Once your Twinkle Hub MCP client is configured, your agent will see tw_search_ly_interpellations. Just ask it to call — example:

# Ask Claude / any MCP client:
請用 tw_search_ly_interpellations 處理 "…"。

# It will call:
tw_search_ly_interpellations(input="…")

Haven't set up a client yet?

Claude Desktop in 3 minutes — download the .mcpb and double-click, or see docs for other clients.

See user docs