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 legal interpretations

tw_search_legal_interpretations

TW-specificMIT

**關鍵字 / Keywords**: 司法解釋 大法官釋字 憲判字 constitutional interpretation grand-justice judicial-interpretation 釋字

跨機關行政函釋語意檢索 (11,841 函釋).

涵蓋:
    - 經濟部智慧財產局 著作權令函 (6,901)
    - 行政院公共工程委員會 採購法解釋函令 (3,650)
    - 農業部農村發展及水土保持署 水保法+農村再生函釋 (1,187)
    - 農業部林業及自然保育署 公文函釋 (103)

Args:
    query: 自然語言 (e.g. "音樂公開演出授權", "標案家數不足流標",
                      "山坡地違規開發")
    agency: 機關名稱 filter — "經濟部智慧財產局" /
            "行政院公共工程委員會" / "農業部農村發展及水土保持署" /
            "農業部林業及自然保育署"
    date_from / date_to: 發布/發文日期範圍 (YYYY-MM-DD 字串)
    title_contains: 主題/案號必含字串
    limit: top-K (1..100)

Returns:
    {n_corpus, n_returned, query, hits: [{agency, dataset_id,
     title, content, date, link, similarity}, ...]}

典型用例:
    tw_search_legal_interpretations("音樂公開演出授權")
    tw_search_legal_interpretations("標案流標",
        agency="行政院公共工程委員會")
    tw_search_legal_interpretations("水土保持違規",
        date_from="2020-01-01")

Input schema

{
  "properties": {
    "query": {
      "title": "Query",
      "type": "string"
    },
    "agency": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Agency"
    },
    "date_from": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Date From"
    },
    "date_to": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Date To"
    },
    "title_contains": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Title Contains"
    },
    "limit": {
      "default": 20,
      "title": "Limit",
      "type": "integer"
    },
    "mode": {
      "default": "hybrid",
      "title": "Mode",
      "type": "string"
    }
  },
  "required": [
    "query"
  ],
  "title": "tw_search_legal_interpretationsArguments",
  "type": "object"
}

How to call

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

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

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