
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


