Twinkle HubTwinkle Hub
登入

📌 2026-08-17 新增:⚖️ 台灣法條時光機 — 歷史法條原文 · 修法沿革 · 全文檢索 · 條文關聯圖(935 個 dataset · 35,454+ 筆 row)

查看完整 Changelog →

專利語意+關鍵字檢索 (TIPO)

tw_search_patents

台灣​專屬MIT

**關鍵字 / Keywords**: 專利 智財局 TIPO patent invention utility design gazette 發明 新型 設計 語意搜尋

以自然語言查詢 TIPO 發明專利**公開案** corpus (data.gov.tw dataset 15992,
OGDL 商用 OK)。背後用 Qwen3-Embedding-4B 做 semantic search,適合白話 query。

參數:
    query: 自然語言描述,例如「防止電池爆炸的技術」「AI 偵測癌症的方法」
           「環保可分解包裝設計」。不必用專利術語,用日常語言即可。
    year_from / year_to: 公開年 (西元) 範圍,例 year_from=2024
    title_contains: 標題硬性過濾子字串 (中文/英文皆可)
    abstract_contains: 摘要硬性過濾子字串 (v1.16.2)
    claim_contains: 申請專利範圍硬性過濾子字串 (v1.16.2)
    limit: 回傳 top-K (1..100, 預設 20)

keyword + query 組合:
    純 query → semantic ranking
    query + claim_contains="鋰電池" → 先必含「鋰電池」, 再 semantic
                                      排序 (typical FTS+semantic hybrid)

回傳:
    {
      "n_corpus": int,        # corpus 已 ingest 件數 (cron 動態增加)
      "n_returned": int,
      "query": str,
      "hits": [
        {appl_no, notice_no, notice_date, title_zh, abstract_zh,
         claims_count, similarity}, ...
      ]
    }

後續查單件全文 (含 description body / 實施方式 / 全部 claims):
    tw_get_patent_body(appl_no="112108163")

Corpus 範圍 (alpha):
  - 發明專利公開案 (尚未獲證, 申請後 18 個月公開)
  - 2024-2025 公開期間 ~100K 件 (backfill 中, 已有 ~28K)
  - 未含已獲證 (PatentRights), 未含新型/設計

輸入 schema

{
  "properties": {
    "query": {
      "title": "Query",
      "type": "string"
    },
    "year_from": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Year From"
    },
    "year_to": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Year To"
    },
    "title_contains": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Title Contains"
    },
    "abstract_contains": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Abstract Contains"
    },
    "claim_contains": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Claim Contains"
    },
    "limit": {
      "default": 20,
      "title": "Limit",
      "type": "integer"
    }
  },
  "required": [
    "query"
  ],
  "title": "tw_search_patentsArguments",
  "type": "object"
}

呼叫​方式

配置​好 Twinkle Hub 的 MCP client 後,​agent 會​看到 tw_search_patents。直接讓它呼叫​即可,​例如:

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

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

尚未​設定 Client?

Claude Desktop 約 3 分鐘即可完成​設定 — 下載 .mcpb 檔案並雙擊​即可,或參閱​文件中的各 Client 安裝​步驟。

查看使用者設定​文件