{
  "$schema": "https://static.modelcontextprotocol.io/schemas/v1/server-card.schema.json",
  "description": "Search verified flight deals with affiliate booking links. Sparkflights aggregates and verifies airfare deals, ranking them by cost per mile against historical baselines.",
  "name": "Sparkflights Flight Deals",
  "tools": [
    {
      "description": "Search current verified flight deals by destination, origin, cabin class, and region. Returns deals ranked by value with affiliate booking links.",
      "inputSchema": {
        "properties": {
          "cabin": {
            "description": "economy, premium_economy, business, first",
            "type": "string"
          },
          "destination": {
            "description": "Destination IATA code",
            "type": "string"
          },
          "destination_region": {
            "description": "north_america, europe, asia, africa, oceania, south_america",
            "type": "string"
          },
          "limit": {
            "description": "Max results 1-25, default 10",
            "type": "number"
          },
          "origin": {
            "description": "Origin IATA code",
            "type": "string"
          },
          "sort": {
            "description": "score (default) or cpm",
            "type": "string"
          }
        },
        "type": "object"
      },
      "name": "search_deals"
    },
    {
      "description": "Get full details for a specific flight deal by ID, including all available date options and affiliate booking links.",
      "inputSchema": {
        "properties": {
          "id": {
            "description": "Deal ID",
            "type": "number"
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "name": "get_deal"
    },
    {
      "description": "Submit a flight deal for verification and publication. Agent API key is optional for attribution.",
      "inputSchema": {
        "properties": {
          "agent_key": {
            "description": "Optional API key for attribution",
            "type": "string"
          },
          "airline": {
            "description": "Airline name",
            "type": "string"
          },
          "booking_url": {
            "description": "Booking URL",
            "type": "string"
          },
          "cabin_class": {
            "description": "economy, premium_economy, business, first",
            "type": "string"
          },
          "depart_date": {
            "description": "YYYY-MM-DD",
            "type": "string"
          },
          "destination": {
            "description": "Destination IATA code",
            "type": "string"
          },
          "notes": {
            "description": "Additional context",
            "type": "string"
          },
          "origin": {
            "description": "Origin IATA code",
            "type": "string"
          },
          "price_usd": {
            "description": "Price in USD",
            "type": "number"
          },
          "return_date": {
            "description": "YYYY-MM-DD",
            "type": "string"
          },
          "source_url": {
            "description": "Source URL",
            "type": "string"
          },
          "trip_type": {
            "description": "round_trip or one_way",
            "type": "string"
          }
        },
        "required": [
          "origin",
          "destination",
          "price_usd"
        ],
        "type": "object"
      },
      "name": "submit_deal"
    },
    {
      "description": "Submit feedback about the API, MCP tools, or discovery layer. Helps improve the service.",
      "inputSchema": {
        "properties": {
          "agent_key": {
            "description": "Optional API key for attribution",
            "type": "string"
          },
          "category": {
            "description": "bug, feature_request, improvement, documentation, discovery, other",
            "type": "string"
          },
          "message": {
            "description": "Your feedback",
            "type": "string"
          }
        },
        "required": [
          "category",
          "message"
        ],
        "type": "object"
      },
      "name": "submit_feedback"
    }
  ],
  "transport": {
    "type": "streamable-http"
  },
  "url": "https://www.sparkflights.com/mcp",
  "version": "1.0.0"
}