patents-mcp-server
v2.0.0Patent intelligence — USPTO Open Data, PTAB, EPO OPS and BigQuery full-text search.
Values you need
| Variable | What it is | |
|---|---|---|
USPTO_API_KEY | optional secret | USPTO Open Data Portal key (data.uspto.gov) — enables ODP, PTAB, citations and office actions |
EPO_CONSUMER_KEY | optional secret | EPO OPS consumer key (developers.epo.org) — enables international patent families and legal status |
EPO_CONSUMER_SECRET | optional secret | EPO OPS consumer secret |
GOOGLE_APPLICATION_CREDENTIALS | optional | Path to a GCP service-account key with bigquery.jobUser and bigquery.dataViewer — enables full-text search across 90M+ patents |
GOOGLE_CREDENTIALS_JSON | optional secret | GCP service-account key as inline JSON — the alternative to GOOGLE_APPLICATION_CREDENTIALS when no file can be mounted |
GOOGLE_CLOUD_PROJECT | optional | GCP project ID billed for the BigQuery queries |
TRANSPORT | optional | Transport: 'stdio' (default) or 'httpStream' for remote/Docker deployments |
PORT | optional | Port to listen on when TRANSPORT is httpStream (default 8080) |
LOG_LEVEL | optional | Log verbosity: DEBUG, INFO (default), WARN or ERROR |
HOST | optional | Interface to bind when TRANSPORT is httpStream (default 0.0.0.0) |
PUBLIC_BASE_URL | optional | Base URL used to build the /resources/{id}.pdf links that odp-download-document returns |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add patents-mcp-server -- npx -y patents-mcp-server@2.0.0Add to
claude_desktop_config.json{
"mcpServers": {
"patents-mcp-server": {
"args": [
"-y",
"patents-mcp-server@2.0.0"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"patents-mcp-server": {
"args": [
"-y",
"patents-mcp-server@2.0.0"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"patents-mcp-server": {
"args": [
"-y",
"patents-mcp-server@2.0.0"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.patents-mcp-server]
command = "npx"
args = ["-y", "patents-mcp-server@2.0.0"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: info, check-api-status, get-cpc-info, get-status-code.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json