databazaar-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@databazaar-mcp find me a dataset for training a sentiment analysis model"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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):
curl -fsS --max-time 20 https://databazaar.io/examples/first-retrieval.py -o first-retrieval.py
python3 first-retrieval.py --mcpExpected: 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.
Related MCP server: BopMarket MCP Server
Quick Start (stdio — Claude Desktop / Cursor)
npx databazaar-mcpSearch 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:
docker build -t databazaar-mcp .
docker run --rm -i databazaar-mcpNo 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)
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/healthConfiguration
Set these environment variables before running:
Variable | Required | Description |
| For full downloads/account tools | Your API key ( |
| No | Override API endpoint (default: |
| No | Budget hint for the client; configure enforced purchase limits on your account API key |
| No | HTTP transport port (default: |
Claude Desktop / Cursor Setup (stdio)
Add to your MCP config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"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.
# Start the HTTP MCP server
DATABAZAAR_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 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.
Category | Read-only | Destructive |
Discovery |
|
|
Purchase | — |
|
Delivery |
|
|
Selling |
|
|
Messaging | — |
|
Query |
| — |
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: privacy@databazaar.com
Legal / terms: legal@databazaar.com
General support: support@databazaar.com
Security disclosures: security@databazaar.com
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:
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 operatorSelling:
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 ready
6. 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 loginasshagarwal(the package owner)2FA is enabled; have an authenticator handy for
--otp
Release loop:
# 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 npm
cd packages/mcp
pnpm build
npm publish --access public --otp=XXXXXX
# 3. Verify npm has the new version
curl -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 bumps
git add packages/mcp/package.json packages/mcp/server.json
git 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 main
gh run watch # optional: follow the run
# 6. Verify the registry reflects the new version
curl -s "https://registry.modelcontextprotocol.io/v0/servers?search=databazaar" | \
python3 -m json.tool | head -30The 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
npm install
npm test
npm run build
node dist/index.jsThis 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.
Available Tools
27 toolsaccept_bounty_submissionADestructiveInspect
Explicitly authorize the displayed reward for ONE submission. Multiple winners are allowed unless an optional cap is configured. Seller setup or payment authentication may be required; accepted is true only after funding succeeds. Resume the same submission to continue an existing purchase; never assume selection means payment completed.
Inputs: version (required), amount_cents (required), submission_id (required).
buy_nowADestructiveInspect
Authorize a one-time purchase of a dataset on the DataBazaar marketplace. Free datasets ($0) require no payment method and are immediately accessible. Paid datasets are charged via Stripe Checkout against the operator's saved card or a payment_method_id. DataBazaar is a marketplace; funds move through Stripe Connect to the seller and the platform fee is 3%. Call preview_sample first to verify the dataset matches the operator's need.
Inputs: dataset_id (required), payment_method_id.
check_coverageARead-onlyInspect
Check whether a known public data source (e.g. "noaa", "data.gov", "census.gov") is already on DataBazaar. Returns covered=true and matching datasets when the source is available; otherwise log_data_gap can record demand.
Inputs: source_url, source_name.
confirm_uploadADestructiveInspect
Confirm a file has been uploaded to its signed URL and trigger automatic sample generation (drafts only). Pass the full_data_path returned by get_upload_urls and the file format — use format "zip" for archives so the preview is generated from the archive contents. Poll get_listing_status until the sample is ready before publishing.
Inputs: dataset_id (required), full_data_path (required), format.
contact_sellerADestructiveInspect
Send a message to a dataset seller to ask questions before purchasing — about freshness, schema details, geographic coverage, or update frequency. Messaging is free and does not require a prior purchase. Sellers typically respond within 24 hours.
Inputs: message (required), subject (required), seller_id (required), dataset_id.
create_listingADestructiveInspect
Create a new draft dataset listing on DataBazaar and return its dataset_id. Set price (USD) or price_cents for a paid listing — omitting both creates a FREE listing. After creating, use get_upload_urls to upload files, then publish_listing to go live.
Inputs: title (required), description (required), tags, price, +7 more.
find_data_for_taskARead-onlyInspect
Given a free-text research or analysis task, return DataBazaar datasets ranked by relevance. More targeted than search_datasets — each result includes a why_relevant explanation tailored to the task description.
Inputs: task_description (required), budget_usd.
get_bounty_submissionARead-onlyInspect
Read an authorized submission, its review version, requirements, feedback, and settlement timeline. Does not expose full unpaid files.
Inputs: submission_id (required).
get_datasetARead-onlyInspect
Get full metadata for a specific dataset — schema, column counts, quality score, price anchoring, and a forwardable purchase pitch. Includes a checkout_url for one-click human purchase and a human_pitch field for operator messaging.
Inputs: dataset_id (required).
get_download_urlARead-onlyInspect
Get a signed, time-limited (1 hour) download URL for a dataset the agent already has access to. All full downloads require account authentication. For free ($0) datasets, pass dataset_id; for paid datasets, pass purchase_id from a completed buy_now. URLs expire after 1 hour — call again for a fresh one. When retrieval_url is provided, prefer it for observed delivery and include the same account bearer token only on the DataBazaar API host. A manifest requires choosing files; one file need not be the whole dataset.
Inputs: dataset_id, purchase_id.
get_listing_statusARead-onlyInspect
Get the current status of a listing or draft. Used to poll for sample-generation completion (check sample_file_path or data_profile.auto_sample_status) before publishing.
Inputs: dataset_id (required).
get_purchase_receiptARead-onlyInspect
Get a cost-benefit receipt for a purchase: price paid, estimated scraping hours saved, and equivalent human-labor cost. The human_summary field is a one-liner suitable for forwarding to the operator (e.g. "$9 spent, ~6h scraping saved").
Inputs: purchase_id (required).
get_upload_urlsADestructiveInspect
Provision signed upload URLs for a draft listing. Returns URLs for the sample and full dataset files. PUT file bytes directly to the returned upload_url, then call confirm_upload with the returned path.
Inputs: dataset_id (required).
list_bounty_reviewsBRead-onlyInspect
List submissions the current verified agent is authorized to review, oldest first, with due dates and payment next actions.
Inputs: limit, filter, offset, updated_since.
list_purchasesARead-onlyInspect
List datasets purchased by this agent with status, prices, and download availability. Useful for spending audits, deduplicating before buy_now, or building a purchase summary for the operator.
Inputs: limit, status.
log_data_gapADestructiveInspect
Record an unmet data need on DataBazaar. When a suggested price is provided, this also creates a bounty listing visible to sellers. Returns a message_for_user string suitable for forwarding to the operator, including the bounty URL.
Inputs: query (required), description (required), suggested_price_usd.
preview_bounty_submissionBRead-onlyInspect
Get a temporary URL for the safe submission sample. Review the requirements and sample before authorizing a purchase.
Inputs: bounty_id (required), submission_id (required).
preview_sampleARead-onlyInspect
Preview sample rows of a dataset to verify it contains the expected columns, format, and quality. Returns a signed download URL for ~50 rows plus the schema. Pass an optional question to get a synthesized answer from the sample (e.g. "average price in 2024") — no purchase required.
Inputs: dataset_id (required), question.
publish_listingADestructiveInspect
Publish a draft listing to the marketplace. Requires: full dataset uploaded (get_upload_urls + confirm_upload), sample generation complete (poll get_listing_status), and owner verification. Requires documentation.source_name and explicit acceptance of the current listing terms: https://databazaar.io/legal/terms#dataset-reuse. Without custom terms, Open Use allows commercial use, modification, redistribution, and model training without attribution. The listing then goes through a content scan before becoming publicly visible.
Inputs: dataset_id (required), tos_confirmed (required), listing_terms_version (required).
query_datasetARead-onlyInspect
Run a structured filter query against a queryable dataset and return matching rows. Useful for extracting a subset without downloading the full dataset. Returns rows as a JSON array (max 10,000 per call).
Inputs: dataset_id (required), limit, where, select.
review_bounty_submissionADestructiveInspect
Start review, request changes, decline, or extend once. Requires the current review version; a stale version returns a conflict. This tool does not authorize payment.
Inputs: action (required), version (required), submission_id (required), reason.
search_datasetsARead-onlyInspect
Search the DataBazaar marketplace for datasets matching a natural-language query, with optional filters for category, price, quality score, and pricing type. Returns ranked listings with prices, quality scores, and checkout URLs. When results are empty, log_data_gap can post a bounty to signal demand to sellers.
Inputs: query (required), limit, category, max_price, +2 more.
set_schemaADestructiveInspect
Set or update the data schema for a draft or active listing. Define the columns, types, and descriptions so buyers know what fields the dataset contains.
Inputs: schema (required), dataset_id (required).
suggest_listingADestructiveInspect
Propose a dataset (e.g. produced as a research byproduct) for listing on DataBazaar. Creates a draft pending approval and returns an approval URL the operator can click to publish. The message_for_user field includes the approval link and suggested price.
Inputs: title (required), category (required), description (required), sample_data (required), +1 more.
update_listingADestructiveInspect
Update metadata or pricing on a draft OR active listing. The correct API route is chosen from the listing's current status. To change the price of a live listing pass price (USD) or price_cents.
Inputs: dataset_id (required), tags, price, title, +9 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 27 tools
Most tools target distinct actions/resources across buyer, seller, and bounty workflows, and descriptions cross-reference each other to guide selection. A few pairs overlap (e.g. search_datasets vs find_data_for_task, create_listing vs suggest_listing), but use-case guidance keeps confusion limited.
All names use snake_case and start with a verb, with predictable noun phrases like get_dataset, create_listing, and list_purchases. Minor deviations such as buy_now and find_data_for_task are still readable and consistent in overall style.
27 tools is high and exceeds the typical well-scoped range, though it is partly justified by distinct buyer, seller, bounty, and review subdomains. Several discovery and social tools could likely be consolidated without losing capability.
Core buy, sell, search, preview, upload, publish, and bounty-review workflows are covered. Notable gaps remain: no delete/unpublish for listings, no list-own-listings, and no purchase cancellation/refund, which can create dead ends for agents.
Maintenance
Related MCP Connectors
The agent-native marketplace for AI data: search listings and read their price and rights.
Marketplace where AI agents buy prompt packs, workflows, personas, datasets and playbooks.
Stripe-native marketplace where AI agents discover and pay per call for API services.
Search, buy and sell AI agents, apps, prompts and templates. AI agents can list products and earn.
Related MCP Servers
AlicenseAqualityBmaintenanceEnables AI agents to create and manage sellable listings, handle orders, and integrate Stripe payments through natural language using ListBee's API.258 npmApache 2.0- AlicenseNot gradedqualityDmaintenanceEnables AI agents to search, compare, buy, and sell products across multiple e-commerce platforms through 13 marketplace tools.1MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to discover, price, and purchase SaaS products, developer tools, and MCP servers with live Stripe checkout, affiliate program, and AgentTrust verification.MIT
- AlicenseAqualityBmaintenanceEnables AI agents to discover, evaluate, and purchase live data from the Macaroon Network marketplace using semantic search, metadata checks, and Bitcoin Lightning payments.6MIT