patents-mcp
This server provides patent search and retrieval capabilities using the Google Patents public dataset on BigQuery.
search_patents: Search for patents by keyword, technology area, or inventor name — returns up to 50 results (default: 10).get_patent: Fetch full details of a specific patent by its publication number (e.g.,US-7650331-B1).get_patent_claims: Retrieve the full legal claims text of a US patent by its publication number, which defines the legal scope of the patent.
Allows searching and retrieving patent data from the Google Patents public dataset on BigQuery.
patents-mcp
An MCP (Model Context Protocol) server for patent search and prior art discovery, powered by the Google Patents public dataset on BigQuery.
Built with the official Go MCP SDK.
Why patents-mcp?
Existing patent MCP servers are either paid, single-source, or unmaintained. patents-mcp is:
Free — built on Google Patents public dataset (1TB/month free on BigQuery)
Open source — MIT licensed
Production grade — structured logging, graceful shutdown, clean architecture
Extensible — each tool is self-contained, easy to add new tools
Related MCP server: Patent Creator MCP Server
Available Tools
Tool | Description |
| Search patents by keyword, technology area, or inventor name |
| Fetch full patent details by publication number |
| Fetch patent claims text |
Prerequisites
Go 1.21+
A Google Cloud account (free)
BigQuery API enabled on your GCP project
Setup
1. Google Cloud Setup
Create a GCP project at console.cloud.google.com
Enable the BigQuery API
Create a service account with the following roles:
BigQuery Job UserBigQuery Data Viewer
Download the service account JSON key
2. Install
git clone https://github.com/tushariitr-19/patents-mcp
cd patents-mcp
go build -o patents-mcp-server ./cmd/server/3. Configure
export GOOGLE_APPLICATION_CREDENTIALS="/path/to/service-account.json"
export GCP_PROJECT_ID="your-gcp-project-id"
# Optional: enable debug logging
export DEBUG=trueUsage with Claude Desktop
Add to your Claude Desktop config (claude_desktop_config.json):
{
"mcpServers": {
"patents-mcp": {
"command": "/path/to/patents-mcp-server",
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "/path/to/service-account.json",
"GCP_PROJECT_ID": "your-gcp-project-id"
}
}
}
}Screenshots
Available Tools

Example Prompts
Once connected to Claude Desktop:
"Search for patents related to transformer neural networks"
"Find prior art for context-aware UI element hiding"
"What patents has Google filed related to quantum computing?"
"Find patents by inventor Yann LeCun"
Architecture
patents-mcp/
├── cmd/server/main.go ← entry point, env vars, graceful shutdown
├── server/server.go ← MCP server setup, tool registration
├── tools/
│ └── search.go ← search_patents tool (self-contained)
├── bigquery/
│ └── client.go ← BigQuery query execution
├── logger/
│ └── logger.go ← structured logging via zap
└── models/
└── patent.go ← shared Patent structEach tool owns its own dependencies — the server is agnostic of what tools do internally. Adding a new tool is a single line in server/server.go.
Contributing
PRs welcome. To add a new tool:
Create
tools/<toolname>.goDefine your input struct and tool definition
Register it in
server/server.gowith one line
License
MIT
Available Tools
3 toolsget_patentB
Fetch full details of a patent by its publication number
Inputs: publication_number (required).
get_patent_claimsA
Fetch the full claims text of a US patent by publication number. Claims are the legal scope of the patent.
Inputs: publication_number (required).
search_patentsB
Search patents by keyword, inventor, or technology area using Google Patents public dataset
Inputs: query (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: fetching full patent details, fetching claims text, and searching patents. No overlap or ambiguity.
All tool names follow a consistent verb_noun pattern (get_patent, get_patent_claims, search_patents) with lowercase underscores.
Three tools is appropriate for a focused patents server; not overly sparse but could benefit from one or two more specialized tools.
Covers search, full details, and claims. Missing citation or family lookups, but core patent retrieval is well-covered.
Maintenance
Related MCP Connectors
Public patent search with ranked candidates, source links and coverage context. Developer beta.
Patents MCP — wraps the USPTO Open Data Portal (ODP) Patent File Wrapper API
EPO/USPTO search, citations, OCR, plus PATSTAT Portfolio Analytics, guarded SQL and Graph Analytics.
Related MCP Servers
- -licenseNot gradedqualityCmaintenanceMulti-source patent search MCP server that allows AI agents to search global patent databases (Google Patents, BigQuery, EPO OPS) via natural language queries.-
- FlicenseNot gradedqualityAmaintenanceEnables any MCP-compatible client to search patent rules and statutes (MPEP, USC, CFR) with hybrid RAG retrieval, hunt prior art across 100M+ patents via Google BigQuery, run automated claim and application compliance checks, and generate patent-style diagrams. It also exposes analysis tools for reviewing drafted claims and specifications so users can move from a raw idea to a reviewable patent package.-
- FlicenseNot gradedqualityAmaintenanceExposes 20+ MCP tools that let clients query MPEP/USC/CFR rules through hybrid vector and lexical search, run prior-art searches across 100M+ patents via Google BigQuery, flag compliance problems in draft claims and applications, and generate patent-style diagrams. It works programmatically from any MCP-compatible client to support drafting and analysis workflows.-
- FlicenseNot gradedqualityAmaintenanceEnables MCP-compatible clients to search MPEP/USC/CFR rules and 100M+ patents via BigQuery, run automated patent compliance and prior-art checks, generate diagrams, and assemble reviewable patent draft packages.-