Skip to content

Build on Datanest

Datanest exposes a remote MCP server and an agent HTTP API so AI agents can search, understand, preview, and purchase 530+ MIT-licensed digital developer products across 50 stores — safely.

Endpoints

  • MCP (Streamable HTTP): https://datanest-stores.pages.dev/mcp
  • REST: https://datanest-stores.pages.dev/api/agent/v1/*
  • Machine catalogue: /catalog.json
  • OpenAPI: /openapi.yaml
  • llms.txt: /llms.txt

MCP tools

  • search_products — Search the catalogue → concise product cards + canonical URLs.
  • get_product_details — Exact contents, price, versions, license, verification status.
  • compare_products — Factual metadata-only comparison of 2–4 products.
  • get_product_preview — Safe public previews (file tree, docs excerpt, samples).
  • create_checkout_link — Prepare a verified Stripe checkout link (buyer authorizes).
  • check_order_status — Poll a checkout: paid | open | expired (no PII).
  • get_purchase_access — Owner-only: short-lived signed download for a completed order.

Connect an MCP client

Native Streamable HTTP client (e.g. Claude Desktop):

{
  "mcpServers": {
    "datanest-stores": {
      "type": "streamable-http",
      "url": "https://datanest-stores.pages.dev/mcp"
    }
  }
}

Or bridge a stdio-only client with mcp-remote:

{
  "mcpServers": {
    "datanest-stores": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://datanest-stores.pages.dev/mcp"]
    }
  }
}

Use the REST API

Search:

curl "https://datanest-stores.pages.dev/api/agent/v1/search?q=airflow&page_size=3"

Prepare a checkout link (price resolved server-side; buyer authorizes payment in Stripe):

curl -X POST "https://datanest-stores.pages.dev/api/agent/v1/checkout-links" \
  -H "Content-Type: application/json" \
  -d '{"product_id":"data-engineering:airflow-dag-templates"}'

How buying works

  1. Find a product with search_products / get_product_details.
  2. Call create_checkout_link → you get a hosted Stripe Checkout URL + checkout_session_id.
  3. The buyer approves payment in Stripe Checkout (no autonomous charging).
  4. Poll check_order_status; when paid, call get_purchase_access for a short-lived download link.

Products marked unaudited or deprecated are discoverable but cannot be purchased through agent checkout. Prices, Stripe IDs, and files are resolved server-side — client-supplied prices are rejected.

Rate limits & terms

Public read tools are rate-limited and free. By using these endpoints you agree to the Datanest terms. Questions: @DatanestDigital.