Lufthansa MCP server for AI agents
Let Claude, ChatGPT or your own agent read Lufthansa: 2 typed functions through one MCP server. No Lufthansa API key needed.
- Site
- lufthansa.com
- Functions
- 2
- Sign-in
- Not needed
- Works with
- MCP, HTTP, Node, Python
Connect
Just Lufthansa
An MCP server for Lufthansa alone, with one tool per function. Paste it into Claude, ChatGPT, Cursor or any MCP client as a remote server.
https://api.bowmark.ai/mcp/site/lufthansaEvery site
One MCP server for Lufthansa and every other site Bowmark covers. Your agent looks up what it needs and calls it.
https://api.bowmark.ai/mcpSet it up in your clientBoth need a Bowmark API key. The quickstart gets you one and a first result in a few minutes.
Functions
Open a function to see its arguments, what it returns and how to call it.
Read 2
getBaggageAllowanceReads the checked and carry-on baggage allowance for a fare class and route.Arguments
Name Type Required originstringYes destinationstringYes travelClassstringNo tariffstringNo Returns
LufthansaBaggageAllowanceinterface LufthansaBaggageAllowanceItem { id: string; name: string; quantity: number; description: string; note: string | null; } interface LufthansaBaggageFee { category: string; categoryType: string; channel: "online" | "check-in" | "at-the-gate"; name: string; description: string; priceUSD: number | null; } interface LufthansaBaggageAllowance { origin: string; destination: string; airline: string; travelClass: string; tariff: string | null; tariffName: string | null; freeBaggage: LufthansaBaggageAllowanceItem[]; fees: LufthansaBaggageFee[]; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/lufthansa/getBaggageAllowanceCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.lufthansa.getBaggageAllowance("JFK", "FRA");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.lufthansa.getBaggageAllowance("JFK", "FRA"))curl -X POST https://api.bowmark.ai/v1/sites/lufthansa/getBaggageAllowance \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"origin":"JFK","destination":"FRA"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.lufthansa.getBaggageAllowance("JFK", "FRA");getFlightStatusLooks up a flight's real-time status by flight number and date.Arguments
Name Type Required flightNumberstringYes datestringYes Returns
LufthansaFlightStatusinterface LufthansaFlightLeg { flightDuration: string; overallStatus: string; departureAirport: string; departureAirportName: string; departureStatus: string; departureTerminal: string | null; departureGate: string | null; departureScheduledTime: string; departureBestTime: string | null; arrivalAirport: string; arrivalAirportName: string; arrivalStatus: string; arrivalTerminal: string | null; arrivalGate: string | null; arrivalScheduledTime: string; arrivalBestTime: string | null; } interface LufthansaFlightStatus { airline: string; flightNumber: string; flightDate: string; operatingCarrier: string; operatingCarrierName: string; aircraftType: string | null; multiLeg: boolean; legs: LufthansaFlightLeg[]; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/lufthansa/getFlightStatusCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.lufthansa.getFlightStatus("LH400", { $daysFromNow: 0 });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.lufthansa.getFlightStatus("LH400", {"$daysFromNow": 0}))curl -X POST https://api.bowmark.ai/v1/sites/lufthansa/getFlightStatus \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"flightNumber":"LH400","date":{"$daysFromNow":0}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.lufthansa.getFlightStatus("LH400", { $daysFromNow: 0 });
Use it from code
- Node
npm i @bowmark/web - Python
pip install bowmark-web - HTTP
POST /v1/sites/lufthansa/<function> - OpenAPI
/v1/sites/lufthansa/openapi.json