Patent search via Taiwan IPO GPSS and EPO OPS: legal status, families, full text, PDFs
專利檢索 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 | 書目資料,含分類、申請人、引證 |
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。
~/.tw-patent-mcp/gpss_lock 即可恢復。新核發的驗證碼可能要隔日才生效。ops_images 確認頁數。uv sync
uv run pytest -q
Elastic License 2.0。本專案為公開原始碼,非開放原始碼授權。
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
uvx tw-patent-mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-aa0101181514-tw-patent-mcp": {
"command": "uvx",
"args": [
"tw-patent-mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referencetw-patent-mcppypiTaiwan Patent MCP works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.