Databazaar

io.github.shagarwal由 GitHub 帳號 shagarwal 發布v1.5.1更新於 Oct 24, 2026

Search and preview datasets publicly. Account-required full data via MCP.

已驗證Streamable HTTP可網頁執行資料庫資料與分析商業與電商

概覽

AI 產生的概覽

DataBazaar MCP 讓助理搜尋、預覽、購買並下載資料集市中的資料集,也能上架與出售自己的資料;完整資料需登入帳號。

可以做什麼
搜尋與評估資料集:關鍵字與分面搜尋、依任務推薦、覆蓋情況查詢、中繼資料、樣本預覽、相關資料集,並可記錄未滿足的資料需求以建立懸賞。購買前預覽樣本列,可選擇取得綜合答案。購買與取得資料:直接購買資料集、取得一小時有效的簽章下載連結、列出購買紀錄、取得成本效益回執。出售資料:建立草稿上架、取得上傳連結、確認上傳、設定資料結構、查看狀態、更新並發佈上架。分享分析發現,並在購買前聯絡賣家。
適用情境
適合助理需要為分析或模型訓練尋找、取得資料集,在爬取前確認公開資料源是否已收錄,或發佈並出售自己產出的資料時使用。公開搜尋與樣本無需帳號;購買、完整下載與出售需要登入。
執行需求
可作為遠端端點執行(搜尋與樣本用免金鑰的公開端點,完整資料用需驗證的端點),也可透過 npx databazaar-mcp 以 stdio 在本機執行,或作為監聽 8788 埠的本機 HTTP 服務。完整下載與帳號工具需要 OAuth 授權或帳號 API 金鑰(環境變數 DATABAZAAR_API_KEY)。選用變數:DATABAZAAR_API_URL、DATABAZAAR_BUDGET_LIMIT_USD、DATABAZAAR_MCP_PORT。需要網路存取。
安裝前請注意
buy_now 會對已儲存的付款方式發動真實的 Stripe 扣款,收取 3% 平台費並有 24 小時託管期;應在帳號 API 金鑰上設定強制購買上限。出售類工具會建立、上傳、更新與發佈上架,若未提供授權條款,接受上架條款可能授予廣泛的重複使用權利。OAuth 權杖保存在本機 ~/.config/databazaar/token.json。帳號電子郵件、購買紀錄、上架資訊與買賣雙方訊息會傳送給 DataBazaar;卡號資訊由買家瀏覽器直接提交給 Stripe。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Databazaar,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

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):

bash
curl -fsS --max-time 20 https://databazaar.io/examples/first-retrieval.py -o first-retrieval.pypython3 first-retrieval.py --mcp

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)

bash
npx databazaar-mcp

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:

bash
docker build -t databazaar-mcp .docker run --rm -i databazaar-mcp

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)

bash
npx --package databazaar-mcp databazaar-mcp-http# Listens on port 8788 by default# MCP endpoint: POST http://localhost:8788/mcp# Health check: GET  http://localhost:8788/health

Configuration

Set these environment variables before running:

VariableRequiredDescription
DATABAZAAR_API_KEYFor full downloads/account toolsYour API key (dbz_live_...)
DATABAZAAR_API_URLNoOverride API endpoint (default: https://api.databazaar.io)
DATABAZAAR_BUDGET_LIMIT_USDNoBudget hint for the client; configure enforced purchase limits on your account API key
DATABAZAAR_MCP_PORTNoHTTP transport port (default: 8788)

Claude Desktop / Cursor Setup (stdio)

Add to your MCP config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

json
{  "mcpServers": {    "databazaar": {      "command": "npx",      "args": ["-y", "databazaar-mcp"]    }  }}

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.

bash
# Start the HTTP MCP serverDATABAZAAR_MCP_PORT=8788 npx --package databazaar-mcp databazaar-mcp-http
# Configure your agent framework to connect via HTTP:# URL: http://your-host:8788/mcp# Method: POST (Streamable HTTP transport per MCP spec)

Available Tools

Search & Discovery

  • find_data_for_task — Task-based dataset recommendation with why_relevant explanations
  • search_datasets — Keyword + faceted search across the marketplace
  • check_coverage — Look up whether a known public source is already listed
  • get_dataset — Full metadata including checkout_url and human_pitch
  • preview_sample — Sample rows + optional synthesized answer (no purchase required)
  • get_related_datasets — Similar datasets by tag overlap in the same category
  • log_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 key
  • get_purchase_receipt — Cost-benefit receipt showing time saved vs. money spent; forward human_summary to your operator
  • share_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 URL
  • create_listing — Create a new draft dataset listing
  • get_upload_urls — Get signed URLs to upload sample and full dataset files
  • confirm_upload — Confirm file upload and trigger sample generation
  • get_listing_status — Check listing status (poll for sample generation)
  • update_listing — Update metadata on a draft or active listing
  • set_schema — Set the data schema describing columns/fields
  • publish_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.

CategoryRead-onlyDestructive
Discoverysearch_datasets, get_dataset, preview_sample, find_data_for_task, check_coverage, get_related_datasetslog_data_gap
Purchase—buy_now
Deliveryget_download_url, list_purchases, get_purchase_receiptshare_finding, suggest_listing
Sellingget_listing_statuscreate_listing, get_upload_urls, confirm_upload, update_listing, set_schema, publish_listing
Messaging—contact_seller
Queryquery_dataset—

Payments and money handling

buy_now is the only tool that initiates a charge. It:

  1. Authorize a Stripe charge against an operator-registered card or saved payment method — no funds are held by DataBazaar at any point.
  2. Settle through Stripe Connect to a seller's verified bank account, with DataBazaar deducting a 3% platform fee from the gross sale.
  3. 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.
  4. 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.

Resources

  • databazaar://categories — All available dataset categories
  • databazaar://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 paragraph
  • databazaar://agent/identity — Your agent identity and config
  • databazaar://agent/spending — Spending summary and purchase history

Example Workflows

Buying:

1. find_data_for_task("train rent prediction model for SF 2024")2. preview_sample(dataset_id, question="average rent by neighborhood")3. buy_now(dataset_id)4. get_download_url(purchase_id)5. get_purchase_receipt(purchase_id)  → forward human_summary to operator

Selling:

1. create_listing(title, description, category, pricing_type)2. get_upload_urls(dataset_id)3. (PUT file bytes to the returned signed URL)4. confirm_upload(dataset_id, full_data_path)5. get_listing_status(dataset_id)  → poll until sample ready6. publish_listing(dataset_id, tos_confirmed=true, listing_terms_version="2026-10-09")

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 login as shagarwal (the package owner)
  • 2FA is enabled; have an authenticator handy for --otp

Release loop:

bash
# 1. Bump the version in BOTH files (keep them in sync)#    - packages/mcp/package.json       : "version"#    - packages/mcp/server.json        : "version" AND "packages[0].version"
# 2. Build and publish to npmcd packages/mcppnpm buildnpm publish --access public --otp=XXXXXX
# 3. Verify npm has the new versioncurl -s https://registry.npmjs.org/databazaar-mcp | \  python3 -c "import json,sys; d=json.load(sys.stdin); print('latest:', d['dist-tags']['latest'])"
# 4. Commit + push the version bumpsgit add packages/mcp/package.json packages/mcp/server.jsongit commit -m "chore(mcp): release x.y.z"git push origin main
# 5. Update the MCP Registry entry#    Trigger the "Publish to MCP Registry" GitHub Actions workflow:gh workflow run "Publish to MCP Registry" --ref maingh run watch   # optional: follow the run
# 6. Verify the registry reflects the new versioncurl -s "https://registry.modelcontextprotocol.io/v0/servers?search=databazaar" | \  python3 -m json.tool | head -30

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.json must keep mcpName: "io.github.shagarwal/databazaar" — this is how the registry validates npm ownership. Remove it and the registry publish will fail.
  • server.json description is capped at 100 characters — the registry rejects longer. Long copy belongs in this README, llms.txt, and the homepage; server.json is the short blurb only.
  • bin values in package.json must NOT have a ./ prefix — npm 11 silently strips the prefix and then rejects the result, removing the bin entries from the published tarball. Use dist/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

bash
npm installnpm testnpm run buildnode dist/index.js

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
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

3
  1. v1.5.1最新Oct 10, 2026
  2. v1.4.0Oct 9, 2026
  3. v1.3.0Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分