Back to Home
openpharma-org icon

patents-mcp

Verified Safe

by openpharma-org

Overview

Accessing and searching patent data from the United States Patent and Trademark Office (USPTO) and Google Patents, including full text, metadata, and PDF downloads.

Installation

Run Command
uv --directory /path/to/patents_mcp_server run patents-mcp-server

Environment Variables

  • USPTO_API_KEY
  • GOOGLE_CLOUD_PROJECT
  • GOOGLE_APPLICATION_CREDENTIALS

Security Notes

The server follows good practices for loading API keys and credentials from environment variables. BigQuery queries use parameterized statements, mitigating SQL injection risks. The `PpubsClient` handles session expiration and rate limiting gracefully. A potential minor concern is that the `LoggingTransport` can log full request/response bodies and headers, which, if debug logging is enabled in a production environment, could expose sensitive information (e.g., API keys, query data) if logs are not adequately secured. PDF downloads involve base64 encoding the file content, which can be memory-intensive for large files.

Similar Servers

Stats

Interest Score12
Security Score8
Cost ClassHigh
Avg Tokens10000
Stars1
Forks0
Last Update2025-12-22

Tags

Patent SearchUSPTOGoogle PatentsBigQueryData Retrieval