Patent MCP Server
Patent search over 1.4B global records via Google Patents on BigQuery, with CN coverage.
Patent MCP Server scores 68 (Good), licensed MIT and written in Python. It installs as a local process. It declares 3 tools. Filed under Data and analytics. GitHub shows 4 stars. Package registries report about 38 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
68 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
66/100 for listing completeness. Lost points: 3 of 3 tools barely described, short summary, no docs link.
How quality is graded
Where the 68 comes from
22 + 20 + 2 + 10 + 4 + 10 = 68. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 2 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "deeparchi-ai-patent-mcp-server": { "command": "uvx", "args": [ "deeparchi-patent-mcp" ] } }}
Environment variables
This server does not declare environment variables.
Tools3Tool docs quality grade F
All capabilitiesget_patenttoolsearch_patentstool
About
Patent MCP Server
๐ ไธญๅฝไธๅฉๆๅ็กฎ็ๅผๆบ MCPใ Give your AI agent the ability to read CN patents with real accuracy โ plus global coverage.
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
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 .
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
{
"mcpServers": {
"patent-mcp": {
"command": "deeparchi-patent-mcp",
"args": []
}
}
}
Cursor / Windsurf / Cline
Same config as Claude Desktop above.
Hermes Agent
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" } } } }
Running from a source checkout
{
"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
| Tool | What It Does | Needs Setup? |
|---|---|---|
get_patent | Full patent details: classifications, citations (X/Y/A/D), inventors, assignees, family | No |
get_patent_claims | Patent claims text โ legal scope. Supports US, CN, and most countries via Google Patents | No |
search_patents | Search 1.4B patents by keyword, CPC, assignee, country, date range | Optional 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:
| Layer | Backend | Cost | When |
|---|---|---|---|
| 1. BigQuery | Google Patents Public Data | Free tier | cpc=H01L + country=CN |
| 2. Firecrawl | Web search fallback | 4 credits/query | BigQuery cost-rejects specific CPC (e.g. H01L25/065) |
| 3. Google Patents | Detail enrichment via proxy | Free | All patent detail lookups |
- Keyword search works:
query="่ฏ็" + country=CNsearches 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.mdfor detailed search strategy and tested CPC codes.
Optional: Enable BigQuery Search
If you need search_patents, add a GCP project:
- Create a GCP project with BigQuery enabled
- Create a service account, download JSON key
- Set env vars:
export GOOGLE_APPLICATION_CREDENTIALS="/path/to/key.json" export GCP_PROJECT_ID="your-project-id" - Copy the wrapper template and fill in your paths:
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:
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.
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
pip install -e ".[dev]"
pytest tests/ -v # 32 tests, ~1.5s
ruff check src/ tests/ # lint
mypy src/ # type check
License
MIT โ see LICENSE.
Author
DeepArchi OPC โ AI agent infrastructure for enterprise architecture.
Frequently asked questions
What is Patent MCP Server?
Patent search over 1.4B global records via Google Patents on BigQuery, with CN coverage.
How do I install Patent MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Patent MCP Server runs locally from the PyPI package deeparchi-patent-mcp with the command uvx deeparchi-patent-mcp.
Is Patent MCP Server free and open source?
Yes. Patent MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Patent MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Patent MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does Patent MCP Server provide?
Patent MCP Server provides 3 tools: get_patent, get_patent_claims, and search_patents. See the full tool list for descriptions and parameters.
How is Patent MCP Server's trust score calculated?
Patent MCP Server scores 68 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yetโBe the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.