NYSgptData LibraryConnectPricing

Historical masterfile

Historical patent data back to the nineteenth century: master file, classes, subclasses and annual and monthly counts.

18.6MRecords
7Tables
565Fields
CurrentYears

Publisher: USPTO Office of the Chief Economist

Try it

This runs against the full table, free, with no key.

Tables
Fields in hist_masterfile
FieldTypeExample
appl_idstring11574592
pubnostringUS20090053327A1
patentstring9005671
nberstring31
uspcstring424
uspc_substring663
appl_dtstring28oct2008
prior_dtstring05jun2008
pub_dtstring26feb2009
disp_dtstring05jun2009
disp_tystringISS
exp_dtstring27feb2028
exp_dt_maxstring
ptastring0
source_filestringlake/v1/patents/raw/histexc/2026-11-12/2014/historical_maste
Connect

Claude

Settings, Connectors, Add custom connector. Paste this address:

https://data.nysgpt.com/mcp

Claude Code

claude mcp add --transport http nysgpt-data https://data.nysgpt.com/mcp

HTTP

curl -s https://data.nysgpt.com/query -H "content-type: application/json" \
  -d '{"sql":"SELECT count(*) FROM govblock_awards.usaspending_contracts"}'

Any MCP client works. The tools are list_databases, list_tables, describe_table and query (Athena SQL, read-only, up to 1,000 rows a query). With a paid key, add ?key=YOUR_KEY to the address or send the header X-Api-Key.

Pricing

Free

$0

30 queries a day, 1 GB scanned per query. No key, no sign-up.

Connect

Day pass

$29

300 queries and 100 GB scanned in 24 hours. One payment.

Buy a day pass

Monthly

$149/month

2,000 queries and 200 GB scanned a day. Cancel any time.

Subscribe

Institution

$1,500/month

20,000 queries and 1 TB scanned a day, for a lab, department or team.

Subscribe

Payment is by card through Stripe. The key appears on screen as soon as payment completes.

More in Patents