
NYSgpt Data Library
com.nysgpt由 nysgpt.com 发布官方发布者v2.0.0更新于 Nov 17, 2026
SQL over 52.8B public records: USAspending, OpenAlex, patents, LEHD jobs, SEC, EPA, FERC, Medicare.
概览
远程 MCP 服务器,让助手对 6,396 张预载表中的 528 亿条公共记录执行只读 SQL,涵盖联邦支出、专利、健康等数据。
- 可以做什么
- 查看按主题划分的数据库及其表,并附行数
- 查询某张表的字段、类型和说明
- 每次调用执行一条只读 SQL 语句(Athena/Trino 方言),最多返回 1,000 行
- 查询已预载的公共数据集,如 USAspending、OpenAlex、专利、LEHD 就业、SEC 申报、EPA、FERC 和 Medicare
- 适用场景
- 适合需要基于美国大型公共数据集回答问题、又不想下载或还原数据档案的场景,例如联邦支出、专利、学术、劳动力、能源、健康或法院记录。
- 运行要求
- 远程 streamable HTTP 端点,无需安装。需要访问密钥,通过 key 查询参数或 X-Api-Key 请求头传入。访问为付费服务,从日票起,并有每日查询次数与扫描数据量限制。
安装
在 SourceWeft 中
- 打开 控制台中的 NYSgpt Data Library,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/com.nysgpt%2Fdata-library/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"nysgpt-data-library": {
"type": "http",
"url": "https://data.nysgpt.com/mcp"
}
}
}README
NYSgpt Data Library
52.8B public records in 6,396 SQL tables, queryable from Claude (or any MCP client) and over plain HTTP. Federal spending, patents, company filings, scholarly works, labor, census, energy, health, courts and more, already loaded and typed. Nothing to download or restore.
- Browse every dataset: https://nysgpt.com/data
- MCP server:
https://data.nysgpt.com/mcp(remote, streamable HTTP, no install; needs a key) - Access: by key, from $29: https://nysgpt.com/data#pricing. Free 20,000-row samples of ten datasets: https://huggingface.co/NYSgpt
What people use it for
- The full USAspending database in SQL without restoring the 177 GB PostgreSQL archive: transactions, awards, sub-awards, recipients and account balances.
- OpenAlex in SQL: 465 million works with authors, institutions, funders and topics.
- Every U.S. patent: PatentsView grants from 1976 and applications from 2001, claims, citations, assignments, examination history and office actions.
- Jobs by census block (LEHD LODES): home-to-work flows and job counts, 2002 to 2024, 15.6 billion rows.
- SEC financial statements, 13F holdings and insider transactions, EPA facility and emissions data, FERC electricity sales, Medicare payments and cost reports, IRS and Form 5500 filings, court opinions.
Connect
Claude (claude.ai or desktop): Settings, Connectors, Add custom connector, and paste https://data.nysgpt.com/mcp?key=YOUR_KEY.
Claude Code:
Cursor, VS Code and other MCP clients (mcp.json):
HTTP:
Tools
HTTP equivalents: GET /databases, GET /tables?database=, GET /table?database=&table=, POST /query.
Example
More in examples/.
Largest datasets
All 132 datasets, with every table and field: https://nysgpt.com/data
Limits and plans
Every call needs a key: add ?key=YOUR_KEY to the MCP address or send the header X-Api-Key.
Notes
- Queries are read-only:
SELECT,WITH,SHOW,DESCRIBE. - Many source files are loaded as published, so numeric columns are often text; use
try_cast. - The data is public records as issued by each publisher. Each dataset page names its publisher. Check the publisher's terms for your use.
- Questions and requests for datasets: open an issue here.
来源:README.md,提交 e862d22
工具
0版本历史
1- v2.0.0最新Nov 17, 2026
评分
已满足适用检查项的 75%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具必需15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。