🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

airtreks-mcp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

airtreks-mcp

AirTreks MCP Server — complex flight routing intelligence for AI agents. Plan multi-city trips, validate alliance routings, get carrier recommendations, and create trip ideas.

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
43
30.3%
Maintainers
1
Weekly downloads
 
Created
Source

AirTreks MCP Server

Complex flight routing intelligence for AI agents. Validates multi-city itineraries, suggests proven RTW routing templates, identifies dead legs, and recommends fare products.

Tools

ToolDescription
route_validateValidate a multi-city routing — checks alliance rules, dead legs, poison carriers, bookability
route_suggestGet 3 suggested routings by region, direction, and alliance
hub_checkBest connection between two airports — dead leg detection + hub fixes
fare_product_matchRecommend fare type: RTW, Circle Pacific/Atlantic, Open Jaw, or Custom

Run

# Development
npm run dev

# Production
npm run build && npm start

Add to Claude Code

Already configured in ~/.claude.json. Restart Claude Code to pick up.

Add to any MCP client

{
  "mcpServers": {
    "airtreks": {
      "type": "stdio",
      "command": "node",
      "args": ["/Users/supernova/projects/airtreks-mcp/dist/index.js"]
    }
  }
}

Data Sources

  • Alliance members and poison carriers from AirTreks routing intelligence (April 2026)
  • Dead legs and hub rules from RTW pricing analysis (53 dead legs, 1,400+ failures)
  • 20 proven routing templates from top AirTreks bookings
  • Fare product rules from consultant knowledge

Architecture

src/
  index.ts          — MCP server entry point (stdio transport)
  data/
    alliances.ts    — Star Alliance (26) + oneworld (14) carrier data
    hubs.ts         — Dead legs, hub rules, known connections
    fare-products.ts — RTW, CP, CA, OJ, Custom fare product definitions
    routes.ts       — 20 routing templates
  tools/
    route-validate.ts
    route-suggest.ts
    hub-check.ts
    fare-product-match.ts

Keywords

mcp

FAQs

Package last updated on 02 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts