
Dataville
com.datavillev0.1.5更新于 Oct 8, 2026
Search Wikipedia, arXiv, SEC EDGAR, US Census, USDA, PyPI and more through one Dataville API.
概览
让助手通过一个 Dataville API 检索十个公共数据集,包括 Wikipedia、arXiv、SEC EDGAR、美国人口普查、USDA、PyPI 等。
- 功能
- 把 Dataville 的统一数据源 API 封装为 MCP 工具。list_dataville_sources 列出可用数据源,search_dataville 用关键词和可选参数查询某个数据源。底层 API 覆盖 Wikipedia、arXiv、Project Gutenberg、美国人口普查、USDA FoodData、Papers with Code、SEC EDGAR、OpenAlex、PyPI 和 Stack Exchange,并支持 CSV/Parquet 导出与 SQL 查询。
- 适用场景
- 适合助手需要可核实的公共数据时,例如软件包版本、SEC 申报文件与营收数字、营养成分、人口普查或学术记录,无需为每个数据源单独做集成。除非需要固定版本或离线使用,托管端点通常是更简单的选择。
- 运行要求
- 可以连接托管 HTTP 端点 Node.js(LTS)通过 npx 在本地运行 npm 包 @dataville/dataville-mcp。本地方式以及托管端点的完整配额都需要 Dataville API 密钥,通过 DATAVILLE_API_KEY 或 Authorization bearer 头传入。DATAVILLE_API_BASE_URL 可选,默认是
安装
在 SourceWeft 中
- 打开 控制台中的 Dataville,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"dataville-mcp": {
"type": "http",
"url": "https://api.dataville.com/mcp"
}
}
}README
dataville-mcp
MCP server exposing Dataville's data source API as tools for MCP clients (Claude Desktop, Claude Code, etc.).
Dataville is a unified REST API over ten public datasets — Wikipedia, arXiv, Project Gutenberg, US Census, USDA FoodData, Papers with Code, SEC EDGAR, OpenAlex, PyPI, and Stack Exchange — behind one interface and one API key, with CSV/Parquet export and SQL query support. This package lets an MCP client search any of those sources as a tool call.
Requires a Dataville API key — get one from the Dataville dashboard.
Tools
list_dataville_sources— lists the data sources available viasearch_dataville.search_dataville— query a data source:{ source, keywords, params? }.
Setup
This package is a local (stdio) MCP server: the client launches it on your
machine via npx. If you don't need it running locally, connecting to
Dataville's hosted endpoint instead takes one line and no install.
Hosted, in one line (no install)
Dataville also serves MCP directly over HTTP, so a client can connect without running anything locally — no Node, no config file, no restart:
That works with no credentials at all (anonymous limits). Add
--header "Authorization: Bearer dataville_your_key_here" for the full quota.
Other clients take the same URL; the app's Integrations page has the exact
snippet for each. Use the hosted endpoint unless you specifically want to pin a
version or work offline — the rest of this section covers that local setup.
Prerequisites
- Node.js (LTS) installed — this is what runs
npx. Without it the server fails to start. Check withnode --version. - A Dataville API key — get one from https://app.dataville.com/api-keys.
The config block is the same everywhere; only where you put it differs:
No install step needed — npx fetches and runs the package on demand.
Claude Desktop
- Open Settings → Developer → Edit Config. This opens
claude_desktop_config.json:- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
- Add the block above (merge into
mcpServersif the file already has one), with your real key. - Fully quit and reopen Claude Desktop — quit from the menu bar / system tray, not just closing the window.
- The dataville tools now appear under the tools icon in the chat box, and
Settings → Developer shows
datavillerunning.
Note: the server appears as tools, not in the Connectors directory — that directory only lists remote (hosted) connectors and will not find a local server. Ask naturally ("get Apple's latest revenue from dataville") and the client calls the tool.
Claude Code
Restart the session so the tools load. Add -s user to make it available in
every project instead of just the current one.
Configuration
DATAVILLE_API_BASE_URL is optional and defaults to https://api.dataville.com;
set it to http://localhost:5000 to point at a local backend during development.
Running from source
Check that it works
Ask your client one of these. Each answer is checkable on purpose — a model that skipped the tool and answered from memory sounds just as confident, so a reply on its own proves nothing.
Clients show when a tool ran. If you don't see that, say "use dataville" in the prompt to make it explicit, and check the answer against the source.
Development
Releasing
Publishes run from CI via npm trusted publishing (OIDC) — no tokens are stored.
To cut a release: bump the version, update CHANGELOG.md, then publish a GitHub
Release for the new tag. The Publish workflow builds, tests, and publishes to npm,
then publishes server.json to the MCP Registry
(its version is set from package.json, so don't bump it by hand).
The registry name com.dataville/dataville-mcp is authorized by a DNS TXT record
on the dataville.com apex (v=MCPv1; k=ed25519; p=<public key>), checked
against the Ed25519 private key in the MCP_PRIVATE_KEY repo secret (hex). If the
mcp-registry job fails at login, check that record and secret, then re-run just
that job.
来源:README.md,提交 3446127
工具
0版本历史
1- v0.1.5最新Oct 8, 2026


