
Databazaar
io.github.shagarwal由 GitHub 账号 shagarwal 发布v1.5.1更新于 Oct 24, 2026
Search and preview datasets publicly. Account-required full data via MCP.
概览
DataBazaar MCP 让助手搜索、预览、购买并下载数据集市中的数据,也能上架和出售自己的数据;完整数据需登录账户。
- 可以做什么
- 搜索与评估数据集:关键词与分面搜索、按任务推荐、覆盖情况查询、元数据、样本预览、相关数据集,并可记录未满足的数据需求以生成悬赏。购买前预览样本行,可选获得综合答案。购买与获取数据:直接购买数据集、获取一小时有效的签名下载链接、列出购买记录、获取成本收益回执。出售数据:创建草稿上架、获取上传链接、确认上传、设置数据结构、查看状态、更新并发布上架。分享分析发现,并在购买前联系卖家。
- 适用场景
- 适合助手需要为分析或模型训练寻找、获取数据集,在爬取前确认公开数据源是否已收录,或发布并出售自己产出的数据时使用。公开搜索和样本无需账户;购买、完整下载和出售需要登录。
- 运行要求
- 可作为远程端点运行(搜索和样本用无需密钥的公开端点,完整数据用需认证的端点),也可通过 npx databazaar-mcp 以 stdio 在本地运行,或作为监听 8788 端口的本地 HTTP 服务。完整下载和账户工具需要 OAuth 授权或账户 API 密钥(环境变量 DATABAZAAR_API_KEY)。可选变量:DATABAZAAR_API_URL、DATABAZAAR_BUDGET_LIMIT_USD、DATABAZAAR_MCP_PORT。需要网络访问。
安装
在 SourceWeft 中
- 打开 控制台中的 Databazaar,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.github.shagarwal%2Fdatabazaar/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"mcpServers": {
"databazaar": {
"type": "http",
"url": "https://api.databazaar.io/mcp"
}
}
}README
databazaar-mcp
MCP server for DataBazaar — the data marketplace where AI agents discover, preview, purchase, and sell datasets.
DataBazaar is a marketplace, not a payment network. All paid transactions are processed by Stripe (Stripe Connect for seller payouts; Stripe Billing for subscriptions). Funds move from the buyer's card to a registered seller's Stripe-Connected bank account, with DataBazaar collecting a 3% platform fee. No cryptocurrency, no peer-to-peer asset transfers, no money-transmission — the legal structure is the same as eBay or Etsy: an online marketplace where the marketplace operator does not hold or move user funds outside the regulated payments processor.
Quick Start (Claude.ai — remote connector)
For public discovery, connect to https://api.databazaar.io/mcp/public using
Streamable HTTP with no authentication. It exposes search_datasets, get_dataset,
preview_sample. Full downloads (including free data), purchases, private
history, and writes require the authenticated endpoint.
Run a public search → sample preview example with Python 3 (no packages):
Expected: success: true, scope: sample_only, sample rows, and elapsed seconds.
This does not measure a full retrieval.
Without --mcp, the same example uses REST. See the guide.
For full datasets (even free ones) and account operations, DataBazaar runs an authenticated remote MCP server at https://api.databazaar.io/mcp.
Claude.ai discovers OAuth via the standard RFC 8414 metadata document and
self-registers as a client via RFC 7591 Dynamic Client Registration — no
manual setup beyond clicking "Authorize" in the popup.
After signing up and authorizing the agent, call get_download_url with dataset_id.
For the Python full-data check, set DATABAZAAR_API_KEY in the environment and run
python3 first-retrieval.py --download (add --mcp for the authenticated transport).
It validates all 11 rows and times retrieval. Account setup is required first and
sample timings must not be reported as end-to-end onboarding success.
Quick Start (stdio — Claude Desktop / Cursor)
Search and samples work without credentials. To download full data, run
npx -y databazaar-mcp auth login or use an account API key from databazaar.io/operator/keys.
Quick Start (Docker — stdio)
For a local stdio container, build from this repository and run with stdin open:
No credentials are needed to start the server, inspect its tools, search, or
preview samples. For account operations, pass your own key at runtime with
docker run --rm -i -e DATABAZAAR_API_KEY databazaar-mcp after setting the
environment variable locally. Do not put credentials in the Dockerfile.
The container runs the stdio entry point. CI checks initialization and tool/resource discovery with network access disabled; it does not perform marketplace actions.
Quick Start (Hosted HTTP — long-lived service)
Configuration
Set these environment variables before running:
Claude Desktop / Cursor Setup (stdio)
Add to your MCP config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
Hosted HTTP Transport Setup
Run databazaar-mcp-http as a long-lived process. Each HTTP caller supplies its own Bearer account credential; the server never lends an environment credential to callers. For managed account authorization, use https://api.databazaar.io/mcp.
Available Tools
Search & Discovery
find_data_for_task— Task-based dataset recommendation withwhy_relevantexplanationssearch_datasets— Keyword + faceted search across the marketplacecheck_coverage— Look up whether a known public source is already listedget_dataset— Full metadata includingcheckout_urlandhuman_pitchpreview_sample— Sample rows + optional synthesized answer (no purchase required)get_related_datasets— Similar datasets by tag overlap in the same categorylog_data_gap— Record an unmet data need; optionally auto-creates a bounty
Purchase
buy_now— Purchase a dataset immediately (free datasets need no payment method)
After Purchase
get_download_url— Get a signed 1-hour download URL (free datasets: no purchase needed)list_purchases— List all purchases for this API keyget_purchase_receipt— Cost-benefit receipt showing time saved vs. money spent; forwardhuman_summaryto your operatorshare_finding— Share an analysis finding derived from a purchased dataset; returns a shareable URL
Listing & Selling
suggest_listing— Propose a dataset you produced for listing on DataBazaar; returns a one-click approval URLcreate_listing— Create a new draft dataset listingget_upload_urls— Get signed URLs to upload sample and full dataset filesconfirm_upload— Confirm file upload and trigger sample generationget_listing_status— Check listing status (poll for sample generation)update_listing— Update metadata on a draft or active listingset_schema— Set the data schema describing columns/fieldspublish_listing— Publish a draft listing to the marketplace
Communication
contact_seller— Send a message to a dataset seller before committing to a purchase
Tool safety classification
Every tool below carries an MCP annotations block declaring readOnlyHint or
destructiveHint so connector hosts can surface the correct user prompt. Tools
that move money are marked destructiveHint and require interactive operator
consent on first use.
Payments and money handling
buy_now is the only tool that initiates a charge. It:
- Authorize a Stripe charge against an operator-registered card or saved payment method — no funds are held by DataBazaar at any point.
- Settle through Stripe Connect to a seller's verified bank account, with DataBazaar deducting a 3% platform fee from the gross sale.
- Are subject to a 24-hour escrow window before payout (a Stripe-held timer, not a DataBazaar-held custody account) so disputes can be raised.
- Cannot transfer cryptocurrency, securities, gift cards, or any other asset class. The marketplace lists only data files; the payments rail is regulated card payments via Stripe.
This MCP server therefore does not fall under the Connectors Directory's "money/cryptocurrency/financial asset transfers" disqualifier — it is a marketplace integration, structurally identical to a Shopify/eBay/Etsy connector that lets an agent place an order on a third-party storefront.
Privacy and data handling
- Privacy policy: databazaar.io/legal/privacy
- Terms of service: databazaar.io/legal/terms
- The MCP server stores OAuth tokens locally at
~/.config/databazaar/token.json(mode 0600). No conversation contents, prompts, or chat history are ever sent to the DataBazaar API — only the explicit tool arguments shown in each tool's inputSchema. - DataBazaar collects only operational data needed for the marketplace (account email, purchases, listings, messages between buyer and seller).
- Stripe receives card details directly from the buyer's browser via Stripe Elements / Checkout — DataBazaar never touches PAN, CVC, or expiration.
Support
DataBazaar's mail domain is databazaar.com (Google Workspace). The legal
pages above are the source of truth for current contact addresses.
- Privacy: [email protected]
- Legal / terms: [email protected]
- General support: [email protected]
- Security disclosures: [email protected]
Resources
databazaar://categories— All available dataset categoriesdatabazaar://recipes— Worked example flows: find→buy→download, post bounty when missing, check coverage before scraping, etc.databazaar://onboarding— Plain-English explanation of DataBazaar for your operator; includes a paste-ready pitch paragraphdatabazaar://agent/identity— Your agent identity and configdatabazaar://agent/spending— Spending summary and purchase history
Example Workflows
Buying:
Selling:
Releasing a new version
The package is published to two places: npm (the artifact) and the
official MCP Registry at registry.modelcontextprotocol.io (the metadata
entry). Both need to be updated for a release to be fully propagated.
Prerequisites (one-time):
npm loginasshagarwal(the package owner)- 2FA is enabled; have an authenticator handy for
--otp
Release loop:
The workflow (.github/workflows/publish-mcp-registry.yml) uses GitHub Actions
OIDC for auth — no secrets required, and it sidesteps the mcp-publisher device-
flow rate limits you hit running it locally. See that file if the auth or publish
step ever needs adjusting.
Invariants to preserve on every release:
package.jsonmust keepmcpName: "io.github.shagarwal/databazaar"— this is how the registry validates npm ownership. Remove it and the registry publish will fail.server.jsondescription is capped at 100 characters — the registry rejects longer. Long copy belongs in this README,llms.txt, and the homepage;server.jsonis the short blurb only.binvalues inpackage.jsonmust NOT have a./prefix — npm 11 silently strips the prefix and then rejects the result, removing the bin entries from the published tarball. Usedist/index.js, not./dist/index.js.
Links
Tested workflows and integrations
min_quality_score uses 0–100 in this release. It measures sample structure, not customer ratings or factual accuracy. See the published rubric.
Full downloads always require a signed-in account, including free data. Public discovery is available through the local server without a token or the hosted /mcp/public endpoint.
Source and issues: https://github.com/shagarwal/databazaar-mcp. Marketplace feedback: https://databazaar.io/feedback.
Listing source and reuse terms
Before publishing, provide documentation.source_name through create_listing or
update_listing. Name the original source or creator; a source URL is optional.
Coverage dates may use documentation.coverage_status: "not_applicable".
documentation.update_frequency optionally describes whether this is a fixed
snapshot or receives updates, and whether later versions are included.
license and documentation.license_url are optional custom reuse terms. If both
are blank, accepting the listing terms
grants commercial use, modification, redistribution, and model training without
attribution under DataBazaar Open Use. Access charges still apply. Only confirm
tos_confirmed: true and listing_terms_version: "2026-10-09" with the supplier's
authorization. The same acceptance is required when changing live reuse terms.
Older listings without recorded acceptance remain unspecified, not automatically open.
Build and test this public client
This repository mirrors the released MCP client. The marketplace API and web app
are developed separately. Search and samples work without signing in; account
credentials are required for full retrieval and account operations. The published
npm package is the supported installation route: npx -y databazaar-mcp.
The registry record advertises both authenticated /mcp and keyless
/mcp/public transports. The public endpoint exposes search, metadata, and
samples; full data still requires account authentication. Historical registry
versions may reference the private development repository; use this public
repository for the client source and issue tracker.
来源:README.md,提交 24fb550
工具
0版本历史
3- v1.5.1最新Oct 10, 2026
- v1.4.0Oct 9, 2026
- v1.3.0Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分