NYSgptData LibraryConnectPricing

Income by ZIP code

Returns and amounts by ZIP code and income class.

7.1MRecords
4Tables
660Fields
CurrentYears

Publisher: Internal Revenue Service

Try it

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

Tables
Fields in soi_zip_zipcode
FieldTypeExample
statestringAK
zipcodestring99501
agi_classstring1
n1string1459
n2string1865
n6string342
a00100string1709
n00200string994
a00200string5588
n00300string409
a00300string235
n00600string240
a00600string231
n01000string154
a01000string209
n00900string116
a00900string-273
n02100string0
a02100string0
n03150string0
a03150string0
n03300string0
a03300string0
n21060string36
a21060string511
n19700string21
a19700string28
n18300string48
a18300string154
n09600string0
a09600string0
n05800string609
a05800string43
n09200string596
a09200string116
n11000string528
a11000string394
prepstring730
agi_04470string208
agi_19700string131
agi_18300string-3789
source_filestringlake/v1/tax/raw/irs-soi-zip-code/2026-11-14/2005zipcode.zip
n23900string
a23900string
n04470string
a04470string
n59660string
a59660string
mars2string
numdepstring
a01400string
a01700string
a02300string
a02500string
a18425string
a18450string
a18500string
a19300string
a04800string
a07100string
af5695string
a07220string
a07180string
a59720string
a06500string
a10300string
a11900gt0string
a11900lt0string
schfstring
n01400string
n01700string
n02300string
n02500string
n18425string
n18450string
n18500string
n19300string
n04800string
n07100string
nf5695string

138 more fields; select the table above to list them all.

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 Tax Statistics