MCP server for accessing United States Patent & Trademark Office data through its Open Data Protocol (ODP) API.
Documentation
USPTO Patent MCP Server
A FastMCP server for accessing United States Patent and Trademark Office (USPTO) patent and patent application data through the Patent Public Search API and the Open Data Portal API. Using this server, Claude Desktop can pull data from the USPTO using either the Public Search API or the ODP APIs.
Features
This server provides tools for:
Patent Search - Search for patents and patent applications
Full Text Documents - Get complete text of patents including claims, description, etc.
PDF Downloads - Download patents as PDF files.
Metadata - Access patent bibliographic information, assignments, and litigation data
API Sources
This server interacts with two USPTO sources:
ppubs.uspto.gov - For full text document access, PDF downloads, and advanced search
api.uspto.gov - For metadata, continuity information, transactions, and assignments
Prerequisites
Claude Desktop (for integration).
For Patent Public Search requests, no API Key is required, but there are rate limits.
For ODP API requests, a USPTO ODP API Key is required.
UV for python version and dependency management.
Installation
Clone this repository:
git clone https://github.com/riemannzeta/patent_mcp_server
cd patent_mcp_server
Install dependencies with uv:
uv sync
Run the server:
uv run patent-mcp-server
API Key Setup
To use the api.uspto.gov tools, you need to obtain an Open Data Portal (ODP) API key:
Visit USPTO's Getting Started page and follow the instructions to request an API key.
Create a .env file in the patent_mcp_server directory with the content:
USPTO_API_KEY=
Claude Desktop Configuration
To integrate this MCP server with Claude Desktop, update your configuration file accordingly.
Available Functions
The server provides functions to interact with USPTO data, including searching for patents and retrieving metadata.
Testing
The /test/ directory contains scripts for testing the server's functionality.