Back to Home
john-walkoe icon

uspto_pfw_mcp

Verified Safe

by john-walkoe

Overview

Provides enhanced search, data retrieval, and secure document management for USPTO Patent File Wrapper data, enabling legal research, due diligence, and cross-MCP (FPD, PTAB, Citations, Pinecone) integration.

Installation

Run Command
uv run -m patent_filewrapper_mcp

Environment Variables

  • USPTO_API_KEY
  • MISTRAL_API_KEY
  • INTERNAL_AUTH_SECRET
  • PFW_PROXY_PORT
  • PROXY_PORT
  • USPTO_TIMEOUT
  • USPTO_DOWNLOAD_TIMEOUT
  • MISTRAL_OCR_TIMEOUT
  • USPTO_MAX_RETRIES_PER_HOUR
  • ENABLE_ALWAYS_ON_PROXY
  • ENVIRONMENT
  • ENABLE_PROXY_SERVER

Security Notes

The server demonstrates a high level of security consciousness. It employs IP whitelisting (localhost only), CORS restrictions, robust security headers, and request size limits for its internal proxy. API keys are managed via unified secure storage (Windows DPAPI or environment variables) and are never exposed in URLs. Inter-MCP communication uses HMAC-SHA256 tokens instead of raw keys. All logging is sanitized to prevent sensitive data exposure (API keys, tokens, IPs, emails). Rate limiting is implemented for external USPTO API calls. The `INTERNAL_AUTH_SECRET` can be auto-generated if not provided, which is acceptable for development but should be explicitly configured in production environments as per `SECURITY_GUIDELINES.md`.

Similar Servers

Stats

Interest Score32
Security Score9
Cost ClassMedium
Avg Tokens10000
Stars2
Forks0
Last Update2026-01-19

Tags

patent researchUSPTO APIdocument managementlegal techAPI clientdata retrievalPDF extraction