{
  "$schema": "https://modelcontextprotocol.io/schema/v1/mcp.json",
  "version": "1.0.0",
  "name": "Spectrum Data Digital",
  "description": "Data marketplace for autonomous AI agents with quality-scored datasets, compliance verification, and programmatic API access.",
  "homepage": "https://spectrumdatadigital.org",
  "logo": "https://spectrumdatadigital.org/favicon.png",
  "contact": {
    "email": "support@spectrumdatadigital.org",
    "support_url": "https://spectrumdatadigital.org/contact"
  },
  "server": {
    "type": "http",
    "url": "https://ugduocbgwoqoiyyjdnzr.supabase.co/functions/v1"
  },
  "authentication": {
    "type": "api_key",
    "header": "x-api-key",
    "registration_endpoint": "/api-register",
    "registration_method": "POST",
    "registration_body": {
      "name": "string (required)",
      "description": "string (optional)"
    },
    "starter_credits": 100
  },
  "protocols": {
    "ap2": {
      "enabled": true,
      "version": "1.0",
      "mandate_verification": "/api-mandate-verify",
      "liability_model": "seller_guarantee"
    },
    "ucp": {
      "enabled": true,
      "version": "1.0",
      "commerce_type": "digital_goods",
      "fulfillment": "instant"
    },
    "x402": {
      "enabled": true,
      "network": "eip155:8453",
      "asset": "USDC",
      "pricing_endpoint": "/x402-pricing"
    }
  },
  "tools": [
    {
      "name": "browse_catalog",
      "description": "Browse available data listings with quality scores, pricing, freshness tiers, compliance badges, and bulk pricing signals autonomous buyers use before purchase",
      "endpoint": "/api-catalog",
      "method": "GET",
      "authentication_required": true,
      "response_includes": ["listings", "bulk_pricing", "quality_guarantees", "freshness_tiers"],
      "intent_mapping": [
        "find data",
        "browse datasets",
        "search data catalog",
        "what data is available",
        "show me listings"
      ]
    },
    {
      "name": "purchase_data",
      "description": "Purchase data records from a listing using credits or x402 USDC micropayments",
      "endpoint": "/api-purchase",
      "method": "POST",
      "authentication_required": true,
      "parameters": {
        "listing_id": {
          "type": "string",
          "required": true,
          "description": "UUID of the data listing to purchase"
        },
        "quantity": {
          "type": "number",
          "required": true,
          "description": "Number of records to purchase",
          "alias": "records_requested"
        }
      },
      "supports_x402": true,
      "intent_mapping": [
        "buy data",
        "purchase records",
        "get dataset",
        "acquire data"
      ]
    },
    {
      "name": "check_balance",
      "description": "Check current credit balance and recent transaction history",
      "endpoint": "/api-balance",
      "method": "GET",
      "authentication_required": true,
      "intent_mapping": [
        "check balance",
        "how many credits",
        "my credits",
        "account balance"
      ]
    },
    {
      "name": "request_refund",
      "description": "Request quality guarantee refund within 24 hours of purchase",
      "endpoint": "/api-refund",
      "method": "POST",
      "authentication_required": true,
      "parameters": {
        "transaction_id": {
          "type": "string",
          "required": true
        },
        "reason": {
          "type": "string",
          "required": true
        }
      },
      "intent_mapping": [
        "refund",
        "quality issue",
        "return data",
        "dispute purchase"
      ]
    }
  ],
  "commerce": {
    "currency": "USD",
    "credit_value_usd": 0.01,
    "payment_methods": ["credits", "x402_usdc", "stripe"],
    "price_guarantees": {
      "enabled": true,
      "duration_seconds": 300,
      "description": "Catalog prices guaranteed for 5 minutes after retrieval"
    },
    "fulfillment": {
      "type": "instant",
      "format": "json",
      "delivery_method": "api_response"
    },
    "refund_policy": {
      "enabled": true,
      "window_hours": 24,
      "reason_required": true,
      "automatic_approval": false
    },
    "bulk_discounts": [
      { "min_quantity": 100, "discount_percent": 5 },
      { "min_quantity": 500, "discount_percent": 10 },
      { "min_quantity": 1000, "discount_percent": 15 },
      { "min_quantity": 5000, "discount_percent": 20 }
    ]
  },
  "data_quality": {
    "scoring": {
      "enabled": true,
      "scale": "0-10",
      "factors": ["completeness", "freshness", "accuracy"]
    },
    "freshness_tiers": {
      "live": { "max_age_hours": 1, "discount": 0 },
      "fresh": { "max_age_hours": 6, "discount": 0 },
      "day_old": { "max_age_hours": 24, "discount": 0 },
      "week_old": { "max_age_hours": 168, "discount": 5 },
      "stale": { "min_age_hours": 168, "discount": 10 }
    },
    "compliance": {
      "gdpr": true,
      "ccpa": true,
      "robots_txt": true
    }
  },
  "rate_limits": {
    "requests_per_minute": 60,
    "requests_per_day": 10000
  },
  "categories": [
    "real_estate", "jobs", "ecommerce", "finance", "technology",
    "healthcare", "education", "travel", "automotive", "food",
    "entertainment", "sports", "general"
  ],
  "last_updated": "2026-01-16T00:00:00Z"
}
