patent-mcp-server — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited patent-mcp-server (MCP Server) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
🚀 中国专利最准确的开源 MCP。 Give your AI agent the ability to read CN patents with real accuracy — plus global coverage.
⚠️ Honest disclosure: Global coverage is a stretch goal. What's real today: CN patents with CPC-aware search, US/WO patent details and claims, and a public CPC correction table (see docs/cn-cpc-correction-table.md) that Google and PatSnap don't publish.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.
git clone https://github.com/deeparchi-ai/patent-mcp-server.git
cd patent-mcp-server
pip install -e .Pick your agent platform and add this to its MCP config:
{
"mcpServers": {
"patent-mcp": {
"command": "python",
"args": ["-m", "src.server"],
"cwd": "/path/to/patent-mcp-server"
}
}
}Same config as Claude Desktop above.
mcp_servers:
patent-mcp:
command: "python"
args: ["-m", "src.server"]
workdir: "/path/to/patent-mcp-server"mcp-get install deeparchi-ai/patent-mcp-serverNow ask your agent:
"Get patent US-7650331-B1 and summarize the claims."
| Tool | What It Does | Needs Setup? |
|---|---|---|
get_patent | Full patent details: classifications, citations (X/Y/A/D), inventors, assignees, family | No |
get_patent_claims | US patent claims text — the legal scope of protection | No |
search_patents | Search 1.4B patents by keyword, country, CPC, date range | Optional GCP |
The first two cover 80% of use cases. Zero cost. Zero setup.
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 pathsBigQuery 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.shTeam members connect with:
mcp_servers:
patent-mcp:
url: "http://<server-ip>:8090/sse"A systemd service template is included for production deployment.
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 1.4B patents. ⚠️ Important for CN: use CPC class codes (e.g., G06N), not keywords. CN keyword search is unreliable due to BigQuery CN text indexing gaps. See docs/cn-cpc-correction-table.md for tested CPC codes and known deviations.
┌──────────────┐ ┌─────────────────────────────┐
│ AI Agent │────▶│ patent-mcp-server │
│ (Claude, │ │ (runs on YOUR machine) │
│ Cursor, │ │ │
│ Hermes) │ │ ┌──────────┐ ┌───────────┐ │
│ │ │ │ Web │ │ BigQuery │ │
│ │ │ │ Scraper │ │ Client │ │
│ │ │ │ (free) │ │ (optional)│ │
│ │ │ └────┬─────┘ └─────┬─────┘ │
│ │ │ │ │ │
│ │ │ Google Patents BigQuery │
│ │ │ Public Pages 1.4B rows │
└──────────────┘ └─────────────────────────────┘get_patent tries web first, auto-falls to BigQuery if you have itpip install -e ".[dev]"
pytest tests/ -v # 32 tests, ~1.5s
ruff check src/ tests/ # lint
mypy src/ # type checkMIT — see LICENSE.
DeepArchi OPC — AI agent infrastructure for enterprise architecture.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.