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 bills

tw_search_ly_bills

TW-specificMIT

**關鍵字 / Keywords**: 立法院 議案 法律案 提案 三讀 凍結 預算 質詢 委員會 屆別 legislature bill motion budget freeze session term Taiwan LY

立法院議案語意檢索 (142k 議案, 議案名稱向量).

Args:
    query: 自然語言 (e.g. "健保法修正", "勞動基準法職災保護")
    name_contains: 議案名稱必含子字串
    term: 屆別 (e.g. 11 for 第 11 屆)
    bill_category: 議案類別 (e.g. "法律案", "預算案")
    bill_status: 議案狀態 (e.g. "三讀通過")
    proposer_contains: 提案人字串 (含主提 + 共同提案人)
    limit: top-K (1..100)

Returns:
    {n_corpus, n_returned, query, hits: [{屆, 議案編號, 議案名稱,
     議案類別, 議案狀態, 提案人, 提案日期, 案由, 說明, url,
     similarity}, ...]}

Input schema

{
  "properties": {
    "query": {
      "title": "Query",
      "type": "string"
    },
    "name_contains": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Name Contains"
    },
    "term": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Term"
    },
    "bill_category": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Bill Category"
    },
    "bill_status": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Bill Status"
    },
    "proposer_contains": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Proposer Contains"
    },
    "limit": {
      "default": 20,
      "title": "Limit",
      "type": "integer"
    },
    "mode": {
      "default": "hybrid",
      "title": "Mode",
      "type": "string"
    }
  },
  "required": [
    "query"
  ],
  "title": "tw_search_ly_billsArguments",
  "type": "object"
}

How to call

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

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

# It will call:
tw_search_ly_bills(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