Patent MCP Server
🚀 中国专利最准确的开源 MCP。 Give your AI agent the ability to read CN patents with real accuracy — plus global coverage.
接入你的智能体
發布者自己的指令。不是 PlugMCP 端點。
用我們的金鑰與日誌託管一份副本。
uvx deeparchi-patent-mcp==1.9.2Claude Code 沒有本機指令的安裝連結。複製下方指令並在終端機中執行。
claude mcp add io.github.deeparchi-ai-patent-mcp-server -- uvx deeparchi-patent-mcp==1.9.2在終端機中執行。
{ "mcpServers": { "io.github.deeparchi-ai-patent-mcp-server": { "command": "uvx", "args": [ "deeparchi-patent-mcp==1.9.2" ] } }}claude_desktop_config.json
遠端 URL 還是本機指令? 兩種安裝方式的差異
An MCP (Model Context Protocol) server that gives AI agents access to patent data — CN patents with CPC-aware correction, plus US/WO global coverage. Runs locally on your machine. No external API, no subscription. Always MIT.
pip install deeparchi-patent-mcp
Or from source:
git clone https://github.com/deeparchi-ai/patent-mcp-server.git
cd patent-mcp-server
pip install -e .
After pip install, the deeparchi-patent-mcp console script is on your PATH.
Add this to your agent platform's MCP config:
{
"mcpServers": {
"patent-mcp": {
"command": "deeparchi-patent-mcp",
"args": []
}
}
}
Same config as Claude Desktop above.
mcp_servers:
patent-mcp:
command: "deeparchi-patent-mcp"
BigQuery is optional. Without
GCP_PROJECT_IDthe server starts normally and the web-backed tools work with no credentials. BigQuery-backed tools return a message explaining how to enable them. To turn them on, add an env var:{ "mcpServers": { "patent-mcp": { "command": "deeparchi-patent-mcp", "args": [], "env": { "GCP_PROJECT_ID": "your-gcp-project" } } } }
{
"mcpServers": {
"patent-mcp": {
"command": "python",
"args": ["-m", "server"],
"cwd": "/path/to/patent-mcp-server/src"
}
}
}
Now ask your agent:
"Get patent US-7650331-B1 and summarize the claims."
The first two cover 80% of use cases. Zero cost. Zero setup.
Three-layer discovery for Chinese patents:
query="芯片" + country=CN searches both English AND Chinese abstracts (v1.5.2 fix).assignee="BOE" + country=CN → company/city-level patent landscape.H01L) for broader CN coverage; specific CPC codes (H01L25/065) trigger web fallback.SEARCH_GUIDE.md for detailed search strategy and tested CPC codes.If you need search_patents, add a GCP project:
export GOOGLE_APPLICATION_CREDENTIALS="/path/to/key.json"
export GCP_PROJECT_ID="your-project-id"
cp run.sh.example run.sh
# Edit run.sh → set your GCP paths
BigQuery free tier: 1 TB/month — individual use is essentially free.
Need multiple people to share one patent-mcp instance? Start it as an HTTP server:
cp run-http.sh.example run-http.sh
# Edit → set GCP creds (skip if only using web tools)
PORT=8090 ./run-http.sh
Team members connect with:
mcp_servers:
patent-mcp:
url: "http://<server-ip>:8090/sse"
A systemd service template is included for production deployment.
┌──────────────┐ ┌───────────────────────────────────────┐
│ AI Agent │────▶│ patent-mcp-server │
│ (Claude, │ │ (runs on YOUR machine) │
│ Cursor, │ │ │
│ Hermes) │ │ search_patents: │
│ │ │ ┌──────────┐ ┌───────────────┐ │
│ │ │ │ BigQuery │───▶│ Firecrawl │ │
│ │ │ │ (primary)│ │ (CN fallback) │ │
│ │ │ └──────────┘ └───────┬───────┘ │
│ │ │ │ │
│ │ │ get_patent / get_patent_claims: │
│ │ │ ┌──────────────────────┐ │
│ │ │ │ Google Patents (web) │ │
│ │ │ │ → BigQuery fallback │ │
│ │ │ └──────────────────────┘ │
└──────────────┘ └───────────────────────────────────────┘
get_patentget_patent(publication_number="US-7650331-B1")
Returns: classifications, citations (X/Y/A/D prior art markers), family ID, dates, inventors, assignees. Cites prior art markers so your agent can assess novelty at a glance.
CN patent note: Google Patents web scraping provides machine-translated English data for CN patents. CPC codes from web scraping are empty (JS-rendered). For CPC, use BigQuery path.
get_patent_claimsget_patent_claims(publication_number="US-7650331-B1")
Returns: full claims text. Supports US, CN (machine-translated English), and most countries via Google Patents web scraping.
search_patentssearch_patents(cpc="G06N", country="CN", after="2023-01-01", limit=5)
search_patents(assignee="TSMC", country="CN")
search_patents(query="芯片", country="CN") # keyword search (CN: searches both EN+ZH)
Search 1.4B patents by keyword, CPC classification, assignee, country, date range. For CN patents, keyword search scans both English and Chinese abstracts.
Cost control: Queries require at least one filter (cpc/country/assignee/after). A dry-run budget guard rejects queries over 50 GB. When BigQuery rejects a CN CPC query (e.g., H01L25/065 → 256 GB), the web fallback automatically searches via Firecrawl.
See SEARCH_GUIDE.md for best practices and docs/cn-cpc-correction-table.md for tested CPC codes.
pip install -e ".[dev]"
pytest tests/ -v # 32 tests, ~1.5s
ruff check src/ tests/ # lint
mypy src/ # type check
MIT — see LICENSE.
DeepArchi OPC — AI agent infrastructure for enterprise architecture.
Patent search over 1.4B global records via Google Patents on BigQuery, with CN coverage.
{ "mcpServers": { "io.github.deeparchi-ai-patent-mcp-server": { "command": "uvx", "args": [ "deeparchi-patent-mcp==1.9.2" ] } }}工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
這筆記錄未列出必要的環境變數。
Patent MCP Server 透過 stdio 在本機執行。
上次檢查時間:2026-11-09。 Patent search over 1.4B global records via Google Patents on BigQuery, with CN coverage.