---
name: "xpay-flight-search"
description: "Search and compare flight prices and availability"
version: "1.0.0"
provider: "Flight Search"
tools: 4
---

# Flight Search

Search and compare flight prices and availability

## Flight Search

Search and compare flight prices and availability

### Available Tools (4)

- **search_flights**: Search for flights between cities or airports. Provide city names or IATA codes (e.g., 'Austin', 'LAX') and departure date. City names often work better than airport codes. For round-trip flights, always provide a return_date. For one-way flights, omit the return_date parameter. — $0.01/call
- **search_calendar**: Find the cheapest travel dates for a route. Provide origin/destination airports and target month/date. Returns price calendar showing best dates to travel. Supports V1 price trends (daily cheapest non-stop/one-stop/two-stop flights) and V2 matrix views. Optional: trip length, flight class, calendar type. — $0.01/call
- **get_reference_data**: Get travel reference data - airports, cities, airlines, or countries. Use 'list' to get all data or 'search' with query to find specific items. Helpful for finding IATA codes and location information. — $0.01/call
- **discover_flights**: Discover flight deals and travel inspiration. Get popular routes, find alternative nearby airports for better deals, or browse special offers from an origin city. Great for flexible travel planning. — $0.01/call

### Quick Start

```json
{
  "mcpServers": {
    "flight-search": {
      "url": "https://flight-search.mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY"
    }
  }
}
```

### Pricing

$0.01 per tool call. Pay per use from your XPay wallet. No subscriptions.

Get an API key at [xpay.tools](https://xpay.tools).


**Tools:** 4
**Category:** Finance & Markets

## When to Use

Use Flight Search tools when you need to search and compare flight prices and availability. All tools are available through xpay✦'s single MCP connection.

## MCP Connection

```json
{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}
```

For Claude Code:
```bash
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
```

## Available Tools

- **Search Flights** — Search for flights between cities or airports. Provide city names or IATA codes (e.g., 'Austin', 'LAX') and departure date. City names often work better than airport codes. For round-trip flights, always provide a return_date. For one-way flights, omit the return_date parameter. — $0.01/call — [SKILL.md](https://xpay.tools/skills/flight-search/search-flights/SKILL.md)
- **Search Calendar** — Find the cheapest travel dates for a route. Provide origin/destination airports and target month/date. Returns price calendar showing best dates to travel. Supports V1 price trends (daily cheapest non-stop/one-stop/two-stop flights) and V2 matrix views. Optional: trip length, flight class, calendar type. — $0.01/call — [SKILL.md](https://xpay.tools/skills/flight-search/search-calendar/SKILL.md)
- **Get Reference Data** — Get travel reference data - airports, cities, airlines, or countries. Use 'list' to get all data or 'search' with query to find specific items. Helpful for finding IATA codes and location information. — $0.01/call — [SKILL.md](https://xpay.tools/skills/flight-search/get-reference-data/SKILL.md)
- **Discover Flights** — Discover flight deals and travel inspiration. Get popular routes, find alternative nearby airports for better deals, or browse special offers from an origin city. Great for flexible travel planning. — $0.01/call — [SKILL.md](https://xpay.tools/skills/flight-search/discover-flights/SKILL.md)

## How to Execute

1. **`xpay_discover`** — Search for tools: `xpay_discover("flight-search")`
2. **`xpay_details`** — Get input schema: `xpay_details("flight-search/TOOL_NAME")`
3. **`xpay_run`** — Execute: `xpay_run("flight-search/TOOL_NAME", { ...inputs })`
4. **`xpay_balance`** — Check credits

## Links

- Provider page: https://xpay.tools/flight-search/
- All providers: https://xpay.tools/explore
- Docs: https://docs.xpay.sh
