Taiwan Patent MCP

io.github.aa0101181514Published by GitHub account aa0101181514v0.2.0Updated Nov 4, 2026

Patent search via Taiwan IPO GPSS and EPO OPS: legal status, families, full text, PDFs

The publisher's own server: Patent Connector

Overview

AI-generated overview

Patent search MCP server that lets an assistant query Taiwan IPO GPSS and EPO OPS for bibliographic data, legal status, families, full text and PDFs.

What you can do
  • List GPSS database, search-field and output-field codes, and build a request URL without sending it
  • Search 23 GPSS databases for bibliographic data, abstracts and claims, and fetch a single record by publication or application number
  • Run EPO OPS CQL searches and retrieve bibliographic records, INPADOC legal status and patent family members
  • Read EP/WO full text and European patent register data
  • List available image documents and page counts, then download and merge publication PDFs
When to use it
Useful when you need patent research: checking Taiwanese or worldwide filings, claims and abstracts, tracking legal status or family members, or pulling original publication PDFs. It suits prior-art and freedom-to-operate style lookups rather than general web search.
Requirements
Runs locally via uvx (needs uv). Two optional credential sets, each free but self-applied: GPSS_USER_CODE for the Taiwan IPO GPSS API, and EPO_OPS_KEY plus EPO_OPS_SECRET for EPO OPS. Only one set is needed for the matching tools to work. Credentials can go in environment variables or a local .env file. Network access to both services is required.
Before you install
Requires your own API credentials; the package ships no shared ones. GPSS codes expire after 365 days and invalid or blocked codes trigger a lock file that halts further calls until removed. EPO OPS has a weekly 4GB quota and per-minute limits; each PDF page counts as a call, so check page counts first. Downloads write files to a local directory. Data is for reference only and you must follow both offices' terms.

Installation

In SourceWeft

  1. Open Taiwan Patent MCP in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

tw-patent-mcp

English

專利檢索 MCP 伺服器,串接經濟部智慧財產局全球專利檢索系統(GPSS)API 與歐洲專利局 Open Patent Services(EPO OPS)。

  • GPSS:一次檢索台灣、美國、日本、歐洲、韓國、中國、WIPO 等 23 個資料庫的書目、摘要與請求項。
  • EPO OPS:全球書目、INPADOC 法律狀態、專利家族、EP 與 WO 全文、歐洲專利註冊簿,以及公報原件 PDF。
  • 伺服器端不呼叫任何語言模型,只做查詢、格式轉換與錯誤防護。

需要自備的憑證

兩組憑證都免費,需由使用者本人申請。本套件不提供共用憑證。

變數取得方式
GPSS_USER_CODE至 GPSS API 說明頁 線上申請驗證碼。審核通過後以 Email 寄送,效期 365 日。
EPO_OPS_KEY、EPO_OPS_SECRET至 EPO Developer Portal 註冊,核准後在 My Apps 建立 app 取得 Consumer Key 與 Secret。

只設定其中一組也可以使用,對應的工具才會運作。

安裝

需要 uv。

Claude Code:

claude mcp add tw-patent \  -e GPSS_USER_CODE=你的驗證碼 \  -e EPO_OPS_KEY=你的key \  -e EPO_OPS_SECRET=你的secret \  -- uvx tw-patent-mcp

Claude Desktop 的 claude_desktop_config.json:

json
{  "mcpServers": {    "tw-patent": {      "command": "uvx",      "args": ["tw-patent-mcp"],      "env": {        "GPSS_USER_CODE": "你的驗證碼",        "EPO_OPS_KEY": "你的key",        "EPO_OPS_SECRET": "你的secret"      }    }  }}

不想把憑證寫進設定檔時,可改放在 ~/.config/tw-patent-mcp/.env,格式見 .env.example。

設定

環境變數說明
GPSS_USER_CODEGPSS API 驗證碼
EPO_OPS_KEY、EPO_OPS_SECRETEPO OPS Consumer Key 與 Secret
TW_PATENT_MCP_HOME本機狀態資料夾,預設 ~/.tw-patent-mcp
TW_PATENT_MCP_DOWNLOAD_DIRPDF 下載位置,預設 ~/.tw-patent-mcp/downloads
TW_PATENT_MCP_ENV指定 .env 檔路徑
TW_PATENT_MCP_DRY_RUN設為 1 時只回傳請求網址,不實際送出

工具

工具來源用途
gpss_codesGPSS列出資料庫、檢索欄位與輸出欄位代碼
gpss_searchGPSS跨 23 個資料庫檢索書目、摘要與請求項
gpss_getGPSS以公開公告號或申請號取得單筆資料
gpss_build_urlGPSS只組出請求網址,用來檢查檢索條件
ops_searchEPO OPSCQL 全球書目檢索,回傳總筆數與命中清單
ops_biblioEPO OPS書目資料:標題、申請人、發明人、優先權、IPC/CPC、引證、摘要
ops_legal_statusEPO OPSINPADOC 法律狀態,依家族成員列事件
ops_familyEPO OPSINPADOC 專利家族成員清單
ops_fulltextEPO OPS請求項、說明書、摘要全文,限 EP、WO 與部分歐洲國家
ops_registerEPO OPS歐洲專利註冊簿
ops_imagesEPO OPS列出公報原件、圖式、首頁等影像文件與頁數
ops_download_pdfEPO OPS逐頁下載公報 PDF,多頁自動合併

專利號照公報寫法輸入即可,例如 TW201644272A、TWI700000B、TWM600000U、US10000000B2、EP1000000。

ops_search、ops_biblio、ops_legal_status、ops_family 預設回傳壓平後的摘要,體積約為原始回應的一成到兩成;需要完整欄位時加 raw=true。

使用限制與防護

  • GPSS 依上班、下班時段設有輸出筆數上限,超過會回傳提示文字。
  • GPSS 回應驗證碼無效、過期或 IP 被擋時,本套件會寫入鎖檔並停止後續呼叫,避免持續以無效驗證碼查詢而遭封鎖。確認驗證碼可用後,刪除 ~/.tw-patent-mcp/gpss_lock 即可恢復。新核發的驗證碼可能要隔日才生效。
  • EPO OPS 免費額度為每週 4GB,並有每分鐘呼叫次數限制。本套件依 OPS 每次回應的節流燈號自動調整呼叫間隔,尚未取得燈號前每次間隔 6 秒。PDF 每頁計一次呼叫,下載前請先用 ops_images 確認頁數。

資料來源與使用責任

  • 資料分別來自經濟部智慧財產局與歐洲專利局,僅供參考,請以各國專利局公告為準。
  • 使用者須自行遵守智慧財產局對 GPSS 及網站資料的相關規定,以及 EPO OPS Terms and Conditions 與 Fair use charter。
  • 本套件與智慧財產局、歐洲專利局無隸屬或背書關係。

開發

uv syncuv run pytest -q

授權

Elastic License 2.0。本專案為公開原始碼,非開放原始碼授權。

Source: README.md at commit 45d6e30

Tools

12

gpss_codes

列出 GPSS 資料庫代碼、檢索欄位代碼與輸出欄位代碼。

Takes no parameters.

gpss_get

用公開/公告號(PN)或申請號(AN)取單筆 GPSS 資料,含摘要與請求項。例:number="TW201644272A"。

Parametersbynumberrequireddatabases

gpss_build_url

只組出 GPSS API 網址不送出(驗證碼以 *** 取代),用來檢查條件寫法。

Parametersqtykindskipoutputstatusdatabasesconditionsrequired

ops_biblio

EPO OPS 書目資料(標題、申請人、發明人、優先權、IPC/CPC、引證、摘要、家族 id)。number 照公報號寫即可,例:EP1000000、TW201644272A、TWI700000B、TWM600000U、US10000000B2;程式自動轉成 docdb 格式。預設回壓平摘要,raw=true 回原始 JSON。

Parametersfmtrawnumberrequired

ops_family

EPO OPS INPADOC 專利家族成員(各國公開/公告號、申請號、優先權);constituent 可為 biblio 或 legal。預設回壓平摘要,raw=true 回原始 JSON。

Parametersfmtrawnumberrequiredconstituent

ops_fulltext

EPO OPS 全文:part 為 claims、description 或 abstract。全文只有 EP、WO 與部分歐洲國家。

Parametersfmtpartnumberrequired

ops_register

歐洲專利註冊簿(EP 案):constituent 為 biblio、events 或 procedural-steps。

Parametersfmtnumberrequiredconstituent

ops_images

EPO OPS 影像清單:某件有哪些 PDF 文件(FullDocument 全件、Drawing 圖式、FirstPageClipping 首頁)與頁數。台灣、美國、歐洲等公報原件多數可取得。

Parametersfmtnumberrequired

ops_download_pdf

下載 EPO OPS 影像 PDF。link 用 ops_images 回傳的 link(如 published-data/images/EP/1000000/A1/fullimage),pages 如 '1-5' 或 'all'(需給 max_pages)。每頁一次呼叫並算入每週 4GB,先用 ops_images 看頁數再決定範圍。檔案存到 TW_PATENT_MCP_DOWNLOAD_DIR(預設 ~/.tw-patent-mcp/downloads),多頁自動合併。呼叫間隔依 OPS 節流燈號自動調整。

Parameterslinkrequiredmergepagesmax_pages

Version history

2
  1. v0.2.0LatestOct 21, 2026
  2. v0.1.1Oct 20, 2026

Score

80% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts
  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.

Other Patent integrations