# Search Google Flights MCP

Search Google Flights-style itineraries with simple MCP tools for route lookup, date-range discovery, and flexible travel planning.

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add rbxwilliams/tmcp

# Browse available tools
npx -y @smithery/cli@latest tool list rbxwilliams/tmcp

# Get full schema for a tool
npx -y @smithery/cli@latest tool get rbxwilliams/tmcp search_flights

# Call a tool
npx -y @smithery/cli@latest tool call rbxwilliams/tmcp search_flights '{}'
```

## Direct MCP Connection

Endpoint: `https://tmcp--rbxwilliams.run.tools`

**Optional config:**
- `api-key` (query) — optional

## Tools (2)

- `search_flights` — Search for flights between two airports on a specific date.
- `search_dates` — Find the cheapest travel dates between two airports within a date range.

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get rbxwilliams/tmcp <tool-name>
```

## Resources

- `resource://fli-mcp/configuration` — Optional configuration defaults and environment variables for the Flight Search MCP server.

## Prompts (3)

- `flight-search-system-prompt` — Action-oriented system prompt for agents using this flight-search MCP server.
- `search-direct-flight` (origin, destination, date, prefer_non_stop) — Generate a tool call to find direct flights between two airports on a target date.
- `find-budget-window` (origin, destination, start_date, end_date, duration) — Suggest the cheapest travel dates for a route within a flexible window.
