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: mcp-patent
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
Maintenance
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables searching Google Patents information via the SerpApi Google Patents API, allowing users to query patent data with various filters and sorting options.Last updated14939MIT
- Flicense-qualityCmaintenanceMCP server for USPTO patent prior-art search, enabling keyword search, ranking, and date filtering via Claude, Cursor, or Windsurf.Last updated
- AlicenseAqualityAmaintenanceMCP server for the AI Patent Search Generator — 11 tools for patent intelligence: dossier (claims, citations, family, classifications, examiner stats), prosecution (USPTO file wrappers), oa_analyze (AI Office Action analysis), search/query (Google Patents multi-strategy), similar, citations, family, examiner, cpc, balance. Install: npx -y patent-search-mcp-serverLast updated11702MIT
- Alicense-qualityBmaintenanceAn MCP server that enables patent creation and analysis, including regulation search, prior art discovery, claim compliance checks, and patent diagram generation, all within Claude Code.Last updated161MIT
Related MCP Connectors
MCP server for Google search results via SERP API
EPO Open Patent Services MCP
Academic research MCP server for paper search, citation checks, graphs, and deep research.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tushariitr-19/patents-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server