{
  "schema_version": "2024-11-05",
  "name": "data-marketplace",
  "display_name": "Data Marketplace",
  "description": "Search, inspect, and query machine-ready datasets on the Data Marketplace.",
  "documentation": "https://www.datamarketplace.io/llms.txt",
  "privacy_policy": "https://www.datamarketplace.io/privacy",
  "terms_of_service": "https://www.datamarketplace.io/terms",
  "servers": [
    {
      "name": "data-marketplace",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mvp/mcp-server"
      ],
      "env": {
        "API_BASE_URL": {
          "description": "Base URL of the Data Marketplace agent gateway.",
          "required": false,
          "default": "https://app.datamarketplace.io"
        },
        "MCP_API_KEY": {
          "description": "Data Marketplace API key. Create one at /settings/api-keys.",
          "required": true
        }
      }
    }
  ],
  "tools": [
    {
      "name": "search_datasets",
      "description": "Ranked natural-language search over the dataset catalog."
    },
    {
      "name": "describe_dataset",
      "description": "Schema, quality signals, sample rows, and license for one dataset."
    },
    {
      "name": "query_dataset",
      "description": "Run a whitelisted structured query against a dataset (100-row cap)."
    }
  ],
  "authentication": {
    "type": "api_key",
    "header": "X-API-Key",
    "instructions_url": "https://app.datamarketplace.io/settings/api-keys"
  },
  "api": {
    "base_url": "https://app.datamarketplace.io/agent/v1",
    "endpoints": [
      {
        "method": "POST",
        "path": "/discover",
        "description": "Ranked dataset search."
      },
      {
        "method": "GET",
        "path": "/inspect/{dataset_id}",
        "description": "Schema, quality, sample rows, and license."
      },
      {
        "method": "POST",
        "path": "/query",
        "description": "Whitelisted structured query, capped at 100 rows."
      }
    ]
  }
}