PatentRef is a PatentsView-compatible API for US patents granted from 1976 onward, refreshed every week from USPTO data. It keeps the same endpoints, q/f/s/o parameters and response shape, so existing PatentsView code runs after a base URL change and a free API key. A free key allows 1,000 requests a month and 45 a minute, and you can try the API without a key. It also returns claim trees for US grants since 1976, expiry and maintenance-fee status, and ships a local MCP server for AI agents (patentref-mcp on PyPI). Independent service, not affiliated with the USPTO.