Patent MCP Server

io.github.deeparchi-ai由 GitHub 账号 deeparchi-ai 发布v1.9.2更新于 Oct 24, 2026

Patent search over 1.4B global records via Google Patents on BigQuery, with CN coverage.

发布方自己的服务:Patent Connector

概览

AI 生成的概览

本地运行的 Python MCP 服务器,让助手查询专利详情与权利要求,并检索 14 亿条全球专利记录,尤其侧重中国专利。

可以做什么
  • 获取专利完整详情:分类号、带现有技术标记的引用、同族、日期、发明人与申请人
  • 获取美国、中国及多数国家专利的完整权利要求文本
  • 按关键词、CPC 分类、申请人、国家和日期范围检索专利,含中文摘要
  • 中国 CPC 查询因成本被拒时自动改用网页搜索兜底
适用场景
适合需要阅读或总结专利、核对权利要求与现有技术,或梳理某公司、某技术领域专利布局的场景,尤其是中国专利。
运行要求
需在本机用 pip 安装 deeparchi-patent-mcp 包并以 stdio 方式运行。详情与权利要求工具无需任何凭据。全文检索需要启用 BigQuery 的 Google Cloud 项目,并设置 GOOGLE_APPLICATION_CREDENTIALS 与 GCP_PROJECT_ID;未设置时相关工具只会提示如何启用。需要网络访问。
安装前请注意
专利详情与权利要求来自 Google Patents 公开页面的抓取,请求会发往第三方,中国专利返回的是机器翻译英文。启用检索需要 GCP 服务账号密钥文件,BigQuery 查询可能超出免费额度产生费用,超过 50 GB 的查询会被预检拦截。中国专利兜底会消耗 Firecrawl 额度。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Patent MCP Server,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Patent MCP Server

🚀 中国专利最准确的开源 MCP。 Give your AI agent the ability to read CN patents with real accuracy — plus global coverage.

[Tests] [Python] [License] [MCP] [PyPI]

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.


Why Self-Deployed

  • It's just Python. Install it, your agent uses it. No server to maintain, no credential to share.
  • No API key for 80% of use cases. Patent details and claims come straight from Google Patents public pages.
  • Your data stays local. Nothing leaves your machine except the same HTTP requests a browser would make.
  • BigQuery search is optional. Only turn it on if you need full-text search across 1.4B records.

30-Second Install

bash
pip install deeparchi-patent-mcp

Or from source:

bash
git clone https://github.com/deeparchi-ai/patent-mcp-server.gitcd patent-mcp-serverpip install -e .

Quick Start

After pip install, the deeparchi-patent-mcp console script is on your PATH. Add this to your agent platform's MCP config:

Claude Desktop

json
{  "mcpServers": {    "patent-mcp": {      "command": "deeparchi-patent-mcp",      "args": []    }  }}

Cursor / Windsurf / Cline

Same config as Claude Desktop above.

Hermes Agent

yaml
mcp_servers:  patent-mcp:    command: "deeparchi-patent-mcp"

BigQuery is optional. Without GCP_PROJECT_ID the 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:

json
{  "mcpServers": {    "patent-mcp": {      "command": "deeparchi-patent-mcp",      "args": [],      "env": { "GCP_PROJECT_ID": "your-gcp-project" }    }  }}

Running from a source checkout

json
{  "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."


What's Included

ToolWhat It DoesNeeds Setup?
get_patentFull patent details: classifications, citations (X/Y/A/D), inventors, assignees, familyNo
get_patent_claimsPatent claims text — legal scope. Supports US, CN, and most countries via Google PatentsNo
search_patentsSearch 1.4B patents by keyword, CPC, assignee, country, date rangeOptional GCP

The first two cover 80% of use cases. Zero cost. Zero setup.

CN Patent Search (v1.7.0)

Three-layer discovery for Chinese patents:

LayerBackendCostWhen
1. BigQueryGoogle Patents Public DataFree tiercpc=H01L + country=CN
2. FirecrawlWeb search fallback4 credits/queryBigQuery cost-rejects specific CPC (e.g. H01L25/065)
3. Google PatentsDetail enrichment via proxyFreeAll patent detail lookups
  • Keyword search works: query="芯片" + country=CN searches both English AND Chinese abstracts (v1.5.2 fix).
  • Assignee filter: assignee="BOE" + country=CN → company/city-level patent landscape.
  • CPC classification: Use parent CPC classes (H01L) for broader CN coverage; specific CPC codes (H01L25/065) trigger web fallback.
  • See SEARCH_GUIDE.md for detailed search strategy and tested CPC codes.

Optional: Enable BigQuery Search

If you need search_patents, add a GCP project:

  1. Create a GCP project with BigQuery enabled
  2. Create a service account, download JSON key
  3. Set env vars:
    bash
    export GOOGLE_APPLICATION_CREDENTIALS="/path/to/key.json"export GCP_PROJECT_ID="your-project-id"
  4. Copy the wrapper template and fill in your paths:
    bash
    cp run.sh.example run.sh# Edit run.sh → set your GCP paths

BigQuery free tier: 1 TB/month — individual use is essentially free.


Advanced: Team Server (HTTP/SSE)

Need multiple people to share one patent-mcp instance? Start it as an HTTP server:

bash
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:

yaml
mcp_servers:  patent-mcp:    url: "http://<server-ip>:8090/sse"

A systemd service template is included for production deployment.


How It Works

┌──────────────┐     ┌───────────────────────────────────────┐│  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  │           ││              │     │    └──────────────────────┘           │└──────────────┘     └───────────────────────────────────────┘
  • Web scraping for details — fast (~1.5s), free, no credentials
  • BigQuery for search — 1.4B records, CN full-text, optional
  • Firecrawl for CN fallback — kicks in when BigQuery cost-rejects specific CPC queries
  • Smart fallback — every tool tries web first, auto-falls to BigQuery if you have it

Tools Reference

get_patent

get_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_claims

get_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_patents

search_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.


Development

bash
pip install -e ".[dev]"
pytest tests/ -v          # 32 tests, ~1.5sruff check src/ tests/    # lintmypy src/                 # type check

License

MIT — see LICENSE.


Author

DeepArchi OPC — AI agent infrastructure for enterprise architecture.

来源:README.md,提交 1c95e65

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.9.2最新Sep 28, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Patent 集成