Patent search via Taiwan IPO GPSS and EPO OPS: legal status, families, full text, PDFs
Runs on your machine from its package; the steps are below.
At most: only reads or looks up information.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
uvx tw-patent-mcp
MCP client config
{
"mcpServers": {
"taiwan-patent-mcp": {
"command": "uvx",
"args": [
"tw-patent-mcp"
]
}
}
}專利檢索 MCP 伺服器,串接經濟部智慧財產局全球專利檢索系統(GPSS)API 與歐洲專利局 Open Patent Services(EPO OPS)。
兩組憑證都免費,需由使用者本人申請。本套件不提供共用憑證。
| 變數 | 取得方式 |
|---|---|
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:
{
"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_CODE | GPSS API 驗證碼 |
EPO_OPS_KEY、EPO_OPS_SECRET | EPO OPS Consumer Key 與 Secret |
TW_PATENT_MCP_HOME | 本機狀態資料夾,預設 ~/.tw-patent-mcp |
TW_PATENT_MCP_DOWNLOAD_DIR | PDF 下載位置,預設 ~/.tw-patent-mcp/downloads |
TW_PATENT_MCP_ENV | 指定 .env 檔路徑 |
TW_PATENT_MCP_DRY_RUN | 設為 1 時只回傳請求網址,不實際送出 |
| 工具 | 來源 | 用途 |
|---|---|---|
gpss_codes | GPSS | 列出資料庫、檢索欄位與輸出欄位代碼 |
gpss_search | GPSS | 跨 23 個資料庫檢索書目、摘要與請求項 |
gpss_get | GPSS | 以公開公告號或申請號取得單筆資料 |
gpss_build_url | GPSS | 只組出請求網址,用來檢查檢索條件 |
ops_search | EPO OPS | CQL 全球書目檢索,回傳總筆數與命中清單 |
ops_biblio | EPO OPS | 書目資料:標題、申請人、發明人、優先權、IPC/CPC、引證、摘要 |
ops_legal_status | EPO OPS | INPADOC 法律狀態,依家族成員列事件 |
ops_family | EPO OPS | INPADOC 專利家族成員清單 |
ops_fulltext | EPO OPS | 請求項、說明書、摘要全文,限 EP、WO 與部分歐洲國家 |
ops_register | EPO OPS | 歐洲專利註冊簿 |
ops_images | EPO OPS | 列出公報原件、圖式、首頁等影像文件與頁數 |
ops_download_pdf | EPO OPS | 逐頁下載公報 PDF,多頁自動合併 |
專利號照公報寫法輸入即可,例如 TW201644272A、TWI700000B、TWM600000U、US10000000B2、EP1000000。
ops_search、ops_biblio、ops_legal_status、ops_family 預設回傳壓平後的摘要,體積約為原始回應的一成到兩成;需要完整欄位時加 raw=true。
~/.tw-patent-mcp/gpss_lock 即可恢復。新核發的驗證碼可能要隔日才生效。ops_images 確認頁數。uv sync
uv run pytest -q
Elastic License 2.0。本專案為公開原始碼,非開放原始碼授權。