KeyFlight PNR Converter
What it does
Decode Amadeus, Sabre, Galileo and Worldspan PNRs into itineraries, JSON and PRO ticket PDFs.
- Connects クラウドで動く
- Account or key Needs Authorization
- Category 開発者ツール
インストール
使っているAIアプリを選んで、設定をコピーしてください。
チェック 4/4 合格 · 質問内容は提供元のサーバー(keyflight.io)を通ります · ✓ コマンド確認済み 2026年11月13日
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげます · 約 5 分
KeyFlight PNR Converter のキーが必要です(提供元のサイトで作成) · claude.ai かデスクトップアプリで一度設定すれば、チャットで使えます · 無料アカウントは 1 つまで · Team/Enterprise はオーナー(Owner)が追加
KeyFlight PNR Converter に登録してキーを作る
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
Claude の Connectors ページを開く
CustomizeConnectors
「Add」→「Custom」→「Web」を押し、この 2 つを入力
ここからコピーして Claude の同じ名前の欄に貼り付け、Continue を押します
Name · 名前KeyFlight PNR ConverterRemote MCP server URL · アドレスhttps://keyflight.io/mcpRequest headers に、この名前と値を追加
ヘッダー名Authorization値Bearer <ここにキーを貼り付け>キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Claude が検出したサインイン設定の画面で Continue を押す · Authentication は作者の説明どおり(Sign in now・Sign in when needed・No sign in)を選び Add を押します
チャットで有効にする
+ConnectorsKeyFlight PNR Converter
試してみる
KeyFlight PNR Converter を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が KeyFlight PNR Converter を使っていると言うか、回答に KeyFlight PNR Converter のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ KeyFlight PNR Converter につなげません
KeyFlight PNR Converter は接続時に自分のキーが必要ですが、OpenAI のヘルプページは OAuth ログインしか説明しておらず、確認できたキー入力方法がありません
代わりにできること
A · KeyFlight PNR Converter につなげるアプリを使う
- KeyFlight PNR Converter のキーが必要です(提供元のサイトで作成) · claude.ai かデスクトップアプリで一度設定すれば、チャットで使えます · 無料アカウントは 1 つまで · Team/Enterprise はオーナー(Owner)が追加
- KeyFlight PNR Converter のキーが必要です(提供元のサイトで作成)
- KeyFlight PNR Converter のキーが必要です(提供元のサイトで作成)
- KeyFlight PNR Converter のキーが必要です(提供元のサイトで作成)
B · 開発者ツール の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
Claude Code につなげます · 約 5 分
KeyFlight PNR Converter のキーが必要です(提供元のサイトで作成)
KeyFlight PNR Converter に登録してキーを作る
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
このコマンドを貼り付けて Enter
claude mcp add --transport http --scope user pnr https://keyflight.io/mcp --header 'Authorization: Bearer {api_key}'Enter の前に「your-value」を自分のキーに書き換えてください
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Claude Code で /mcp と入力
KeyFlight PNR Converter が一覧にあり、接続済みと表示されれば OK です
試してみる
KeyFlight PNR Converter を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が KeyFlight PNR Converter を使っていると言うか、回答に KeyFlight PNR Converter のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげます · 約 5 分
KeyFlight PNR Converter のキーが必要です(提供元のサイトで作成)
KeyFlight PNR Converter に登録してキーを作る
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
キーを入力
KeyFlight PNR Converter の設定で Authorization が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Cursor の AI チャットを Agent モードで開く
試してみる
KeyFlight PNR Converter を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が KeyFlight PNR Converter を使っていると言うか、回答に KeyFlight PNR Converter のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげます · 約 5 分
KeyFlight PNR Converter のキーが必要です(提供元のサイトで作成)
KeyFlight PNR Converter に登録してキーを作る
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
キーを入力
KeyFlight PNR Converter の設定で Authorization が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
VS Code の AI チャットを Agent モードで開く
試してみる
KeyFlight PNR Converter を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が KeyFlight PNR Converter を使っていると言うか、回答に KeyFlight PNR Converter のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください
Web 経由でつなぐアプリ用のアドレス
https://keyflight.io/mcpJSON 設定は下の「開発者向け」にあります
開発者向け:ターミナルのコマンドと JSON 設定
Web 経由
Claude Code
claude mcp add --transport http --scope user pnr https://keyflight.io/mcp --header 'Authorization: Bearer {api_key}'Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"pnr": {
"url": "https://keyflight.io/mcp",
"headers": {
"Authorization": "Bearer {api_key}"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"pnr": {
"type": "http",
"url": "https://keyflight.io/mcp",
"headers": {
"Authorization": "Bearer {api_key}"
}
}
}
}自分で入力する値
- Your KeyFlight API key as a Bearer token: Bearer kfp_… Keys come with the KeyFlight subscription for travel agents: https://keyflight.io/subscription
説明は英語の原文のままです。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
ひと目でわかる
使えるアプリ
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
インターネット経由でつなげるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
できること
ツールの名前と説明は、サーバーが2026年11月12日に返したそのままの内容です。書いたのは作者で、私たちではありません。プレーンテキストとして表示しています。
decode_pnrDecode a raw PNR into a readable itinerary (text) and structured JSON: passengers, flights, airports, terminals, times, flight duration, airline locators. Each decode with flights counts towards the monthly limit of the KeyFlight subscription, as in the PNR API.
make_ticketMake a PRO e-ticket PDF (Expedia style: PNR, airline logos, class, optional price) from a raw PNR and return a link to the PDF. Passenger names and the PNR code come from the text unless given here. Included in the KeyFlight subscription.
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月14日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名はドメイン keyflight.io で確認済みです(レジストリがドメインの所有を確認しています)
- ✓ 合格
今もメンテナンスされている
コードの最終更新:12 日前
- – 対象外
ライセンスがある
対象外:keyflight.io の所有者が自ら運営するクラウドのサーバーで、リポジトリのコードを実行しません
- ✓ 合格
エンドポイントが応答する
51ミリ秒で応答(HTTP 200)
- – 対象外
OAuthでサインイン
サインイン不要
- ✓ 合格
ツールの説明に隠れた指示がない
2件のツールの説明を読み、AIへの隠れた指示は見つかりませんでした
話し合い
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
ユーザーレビュー
まだレビューはありません
開発者ツールのほかのサーバーとの比較i
- このカテゴリのほかの5863件のうち0%よりスターが多い
- このカテゴリのほかの5863件のうち55%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの5863件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
KeyFlight PNR Converterは安全ですか?
当てはまる基本チェック4項目のうち4項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
入力が必要なもの:Authorization
パソコンで動きますか、それともクラウドですか?
作者のクラウドで動きます。インストール不要でインターネット経由でつながりますが、送った内容は作者のサーバーを通ります。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は12 日前、最新バージョン(1.0.0)がレジストリに届いたのは24 日前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。URL で接続するので、リモート MCP を受け付けるアプリでも使えます。例:Web 版 ChatGPT(Business 以上はフル MCP、Pro は読み取りのみ)。
同じカテゴリのほかの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Serena MCP: the IDE for your agent
A powerful toolkit for coding, providing semantic retrieval and editing capabilities.
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
KeyFlight PNR Converter: MCP server and PNR API
Paste a raw booking from a GDS (Amadeus, Sabre, Galileo, Worldspan) into Claude, Cursor or another AI assistant and get a readable itinerary, the booking as JSON, or a PRO ticket PDF.
KeyFlight runs a hosted Model Context Protocol server at https://keyflight.io/mcp and an HTTP API at https://keyflight.io/api/v1/pnr/decode. Both use the same decoder as the free PNR converter on keyflight.io.
This repository holds the documentation and examples. The server itself is hosted by KeyFlight: there is nothing to install or run. Full reference: keyflight.io/pnr-api.
Who it is for: travel agents and agencies who work with GDS bookings, and developers who add PNR decoding to a booking tool, CRM, chat bot or e-mail flow.
- Get an API key
- Connect an AI assistant (MCP)
- MCP tools
- PNR API over HTTP
- Limits
- Errors
- Supported GDS formats
Get an API key
The MCP server and the PNR API take the same key, kfp_ followed by 43 letters, digits, - and _.
- Get the KeyFlight subscription (the subscription for travel agents).
- On the same page use "Already subscribed?", open the link we e-mail you and press "Create API key".
- Copy the key: it is shown once. A subscription can have 2 keys at a time; you revoke a key on the same page.
While the subscription is not active, the key answers 403 subscription_inactive. There is no free tier for the API or the MCP server. The PNR converter on the website is free for everyone, with no key.
Connect an AI assistant (MCP)
| Server URL | https://keyflight.io/mcp |
| Transport | Streamable HTTP, POST only, no sessions and no server-sent event stream |
| Authentication | header Authorization: Bearer kfp_… |
| Protocol versions | 2025-06-18, 2025-03-26, 2024-11-05 |
Claude Code
claude mcp add --transport http keyflight https://keyflight.io/mcp --header "Authorization: Bearer kfp_…"
Cursor (.cursor/mcp.json)
{
"mcpServers": { "keyflight": { "url": "https://keyflight.io/mcp", "headers": { "Authorization": "Bearer kfp_…" } } } }
Claude Desktop (claude_desktop_config.json, needs Node.js)
Claude Desktop connects through mcp-remote:
{
"mcpServers": { "keyflight": { "command": "npx", "args": [ "-y", "mcp-remote", "https://keyflight.io/mcp", "--header", "Authorization: Bearer kfp_…" ] } } }
Cline (cline_mcp_settings.json)
In Cline open MCP Servers → Configure MCP Servers and add:
{
"mcpServers": { "keyflight": { "type": "streamableHttp", "url": "https://keyflight.io/mcp", "headers": { "Authorization": "Bearer kfp_…" }, "disabled": false, "autoApprove": [] } } }
Step-by-step notes for AI agents that install the server: llms-install.md.
Then ask, for example: *"Decode this PNR and make a PRO ticket with a price of 850 EUR"* and paste the booking.
Other clients: any MCP client that supports Streamable HTTP and custom headers. Requests sent from web pages of other sites (with a browser Origin header) are refused with 403 origin_not_allowed, so connect from a desktop app, a CLI or your server. Without a client, see examples/mcp/raw-jsonrpc.sh: one JSON-RPC message per POST, JSON back.
MCP tools
decode_pnr: decode a PNR
Turns a raw PNR into a readable itinerary (text) and structured JSON: passengers, flights, airports, terminals, local times, flight duration, airline locators.
| Argument | Type | Default | Description |
|---|---|---|---|
text | string, required | The PNR as the GDS shows it, up to 20,000 characters. The format is recognised from the text. | |
view | table, lines2, lines3, whatsapp | table | Layout of the itinerary text. |
time_format | "24", "12" | "24" | 24 or 12 hour time. |
date_format | "short", "numeric" | "short" | short: 3 May 2026, numeric: 03.05.2026. |
Returns the itinerary text, then JSON: and the same JSON as the PNR API answer. Clients that read structuredContent get that JSON there.
Each decode that finds flights counts towards the monthly decodes of the subscription, like an API call. A text without flights returns an error and does not count. When the decodes of the month are used up, the tool returns an error until the 1st (UTC).
make_ticket: make a PRO ticket PDF
Makes a PRO ticket PDF (PNR, airline logos, class, optional price) from a raw PNR and returns a link to the PDF. Included in the KeyFlight subscription.
The ticket is a document for the traveller: it is not an airline ticket and its PNR is not checked against airline systems.
| Argument | Type | Default | Description |
|---|---|---|---|
text | string, required | The PNR, up to 20,000 characters. Every flight needs a date and times. | |
passengers | array of strings, up to 20 | the names in the PNR | Passenger names as on the ticket, e.g. "SMITH/JOHN MR". |
pnr | string | the code in the text, or a random one | Booking code printed on the ticket, 5–8 letters and digits. |
booking_class | Economy, Premium Economy, Business, First Class | the cabin of the first flight's booking class | Class on the ticket. |
price | string | no price on the ticket | Total price printed on the ticket, e.g. "1200.50". |
currency | string, up to 10 characters | "$" | Currency next to the price, e.g. "USD", "€". |
logo | none, expedition | none | Logo in the ticket header. |
time_format | "24", "12" | "24" | 24 or 12 hour time. |
date_format | "short", "numeric" | short or numeric. |
Returns a line PRO ticket PDF: https://keyflight.io/tickets/….pdf with the PNR, the number of flights and the passengers, and as structuredContent:
{ "url": "https://keyflight.io/tickets/….pdf", "pnr": "PQ7XNR", "passengers": ["JOHNSON JOHN", "JOHNSON JANE"], "segments": 2 }
Tickets do not count towards the monthly decodes; one key can make up to 30 tickets an hour.
Errors (no flights in the text, a flight without a date or time, no passenger names, a wrong pnr or option, more than 30 tickets in an hour) come back as tool results with isError: true, so the assistant can read them and fix the call.
PNR API over HTTP
POST https://keyflight.io/api/v1/pnr/decode with Content-Type: application/json and Authorization: Bearer kfp_…. The body is { "text": "…", "options": { … } }. The HTTP API returns data and the itinerary as text and HTML; PRO ticket PDFs come from the MCP tool make_ticket. The examples below send the Amadeus booking from examples/pnr-amadeus.txt.
curl
curl https://keyflight.io/api/v1/pnr/decode \
-H "Authorization: Bearer $KEYFLIGHT_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "text": "RP/LHRBA/LHRBA BA/BA 26APR26/1200Z PQ7XNR\nPQ7XNR/BA QLHR 03MAY\n1.JOHNSON JOHN\n2.JOHNSON JANE\n3 BA 178 Y 03MAY 7 LHRJFK HK2 0855 1205 03MAY E BA/PQ7XNR\n4 BA 117 Y 10MAY 7 JFKLHR HK2 1830 0640 11MAY E BA/PQ7XNR\n5 TKT/TIME LIMIT\n6 OPC LHRBA-10MAY:1900/1S2/Q TKT/T-BA\n7 FA PAX 125-2196837482/ETBA/GBP560.20/03MAY26/LHRBA2104/00390755/S3-4", "options": { "view": "table" } }'
Node.js 18+
// Node.js 18+ (fetch is built in), in an ES module or an async function
const text = RP/LHRBA/LHRBA BA/BA 26APR26/1200Z PQ7XNR PQ7XNR/BA QLHR 03MAY 1.JOHNSON JOHN 2.JOHNSON JANE 3 BA 178 Y 03MAY 7 LHRJFK HK2 0855 1205 03MAY E BA/PQ7XNR 4 BA 117 Y 10MAY 7 JFKLHR HK2 1830 0640 11MAY E BA/PQ7XNR 5 TKT/TIME LIMIT 6 OPC LHRBA-10MAY:1900/1S2/Q TKT/T-BA 7 FA PAX 125-2196837482/ETBA/GBP560.20/03MAY26/LHRBA2104/00390755/S3-4;
const response = await fetch('https://keyflight.io/api/v1/pnr/decode', { method: 'POST', headers: { Authorization: Bearer ${process.env.KEYFLIGHT_API_KEY}, 'Content-Type': 'application/json', }, body: JSON.stringify({ text, options: { "view": "table" } }), }); const data = await response.json(); if (response.ok) { data.segments.forEach((s) => console.log(s.airlineCode, s.flightNumber, s.departure.date)); } else { console.error(response.status, data.error, data.message); }
Python
examples/api/decode.py (needs requests):
import os
import requests
text = """RP/LHRBA/LHRBA BA/BA 26APR26/1200Z PQ7XNR PQ7XNR/BA QLHR 03MAY 1.JOHNSON JOHN 2.JOHNSON JANE 3 BA 178 Y 03MAY 7 LHRJFK HK2 0855 1205 03MAY E BA/PQ7XNR 4 BA 117 Y 10MAY 7 JFKLHR HK2 1830 0640 11MAY E BA/PQ7XNR 5 TKT/TIME LIMIT 6 OPC LHRBA-10MAY:1900/1S2/Q TKT/T-BA 7 FA PAX 125-2196837482/ETBA/GBP560.20/03MAY26/LHRBA2104/00390755/S3-4"""
response = requests.post( "https://keyflight.io/api/v1/pnr/decode", headers={"Authorization": f"Bearer {os.environ['KEYFLIGHT_API_KEY']}"}, json={"text": text, "options": { "view": "table" }}, timeout=30, ) data = response.json() if response.ok: for s in data["segments"]: print(s["airlineCode"], s["flightNumber"], s"departure") else: print(response.status_code, data["error"], data["message"])
Options
| Field | Values | Default |
|---|---|---|
text | Required. The booking as the GDS shows it, up to 20,000 characters. | |
options.view | table, lines2, lines3, whatsapp: the layout of itinerary. | table |
options.timeFormat | "24" (18:30), "12" (6:30 PM) | "24" |
options.dateFormat | "short" (3 May 2026), "numeric" (03.05.2026) | "short" |
options.show.logo | true / false. Airline logos (HTML only). | true |
options.show.airports | true / false. Airport names and terminals next to the city. | true |
options.show.cabin | true / false. Cabin and booking class: Economy (Y). | false |
options.show.status | true / false. Segment status: Confirmed, Waitlisted. | false |
options.show.passengers | true / false. Passenger names above the flights. | false |
options.show.pnr | true / false. The booking reference and the airlines' references above the flights. | false |
An unknown option or a wrong value answers 400 invalid_option with the field and the allowed values.
Response
The full answer to the example above: examples/api/response-example.json (itinerary.html shortened). Main fields:
| Field | Meaning |
|---|---|
pnrCode | The booking reference found in the text, or null. |
passengers[].name | A passenger name as the PNR writes it. |
segments[].airlineCode, airlineName, flightNumber | Airline and flight number ("950" for UA0950). |
segments[].bookingClass, cabin | Booking class letter and cabin by it: Economy, Premium Economy, Business, First Class. |
segments[].status, statusText | Status code as in the PNR ("HK2") and Confirmed, Waitlisted or the code itself. |
segments[].logoUrl | Airline logo, 64×64 PNG. |
| segments[].duration | Flight time in minutes across the two airports' time zones, or null