Skip to main content
Glama
Filip-Kin

ita-matrix-mcp

by Filip-Kin

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoListen port.3000
ITA_MATRIX_API_KEYNoPin the upstream key instead of discovering it.auto
ITA_MATRIX_TIMEOUT_MSNoUpstream timeout. Multi-city searches are slow.150000
ITA_MATRIX_SECRET_PATHNoMounts MCP at /mcp/<secret> instead of /mcp. The URL then acts as the credential.
ITA_MATRIX_ALLOWED_HOSTSNoComma-separated Host allowlist, guarding against DNS rebinding.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_flightsA

Search ITA Matrix for itineraries. A trip is a list of legs (slices): • 1 slice = one-way • 2 slices = round-trip (second slice reverses the first) • 3+ = multi-city / open-jaw — legs need not connect Each leg takes its own routing code, so you can pin a carrier, force a connection city, or require a specific number of flights per leg. Expect 20-60s. Returns ranked itineraries and a Search ID for get_itinerary_details.

get_itinerary_detailsA

Show per-segment detail for one itinerary from a previous search: operating flight numbers, booking class (RBD), fare basis codes, and aircraft type. Reuses the earlier search session, so it is fast.

search_flexible_datesA

Scan a range of departure dates and report the cheapest fare on each, to find when to fly. Runs one search per date, so keep ranges modest (a 14-day scan takes several minutes). For a single date with ±flexibility, use search_flights with flexDays instead.

lookup_airportA

Resolve a partial city or airport name to IATA codes. Use this when the user names a place rather than a code, or to find the metro code that covers every airport in a city.

routing_language_referenceA

Full syntax for the routing and extraCodes fields: carrier pinning, forced connection points, alliances, exclusions, stop counts, and fare-bucket filters. Read this before composing a non-trivial routing code.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Filip-Kin/ita-matrix-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server