● LIVESEADUBEIJ55KYYZISTTurkishJ65KYULOPOAeroplanJ65.4KYYZMADAeroplanJ65.5KPHLEDIAAdvantageJ45KORDVIEBTJ88KJFKDOHQatarJ70KSFOHKGAlaskaJ70KLAXSYDQantasJ80KMIAGRULifeMilesJ78KJFKAUHEtihadF88KBOSHELFinnairJ62K
All AI agents
Codex · Setup guide

Award flight search in OpenAI Codex

Codex supports Streamable HTTP MCP servers with a bearer token read from an environment variable. Add AwardClaw and Codex can pull live award space into scripts, notebooks and trip tools.

Included with AwardClaw Pro+. About two minutes to set up.

Set it up

  1. 1In AwardClaw (Pro+), open Agents, tap Connect an agent, pick this app and choose what it may do. Copy the key it shows.
  2. 2Export your key: export AWARDCLAW_KEY=ac_live_... (add it to your shell profile).
  3. 3Run the command below, or add the same block to ~/.codex/config.toml.
  4. 4Start Codex and check that the awardclaw tools are listed.
Terminal, or ~/.codex/config.toml
codex mcp add awardclaw --url https://www.awardclaw.com/api/mcp --bearer-token-env-var AWARDCLAW_KEY

# or in ~/.codex/config.toml
[mcp_servers.awardclaw]
url = "https://www.awardclaw.com/api/mcp"
bearer_token_env_var = "AWARDCLAW_KEY"
  • Codex reads the token from AWARDCLAW_KEY at startup, so the key never sits in the config file.

Try asking Codex

“Use awardclaw to pull every open business date from ORD to Europe in May into a pandas DataFrame.”
“Build a CLI that prints my best AwardClaw drops each morning.”
“Compare miles prices for the same Tokyo dates across programs.”
“I need two seats Miami to Buenos Aires between March 1 and 6 in business. What is open?”

What Codex can do

search_drops

Live saver drops in business and first, ranked by quality, with open dates, miles, taxes and booking links. Defaults to your tracked cities.

search_award_space

Every open saver date on a route inside a date window, cheapest program first. The tool for "I have dates."

get_drop

Full detail for one drop, both directions.

create_trip_watch

Email alert when saver space opens on your dates.

list_trip_watches / delete_trip_watch

Manage the watches you or your agent created.

get_daily_briefing

Today's briefing: deals that expire soon, live transfer bonuses, and the top news and data points, each with why it matters.

search_points_news

Search the last 30 days of points and miles news, deals and data points on any program, card or airline.

get_card_offers

The best credit card welcome offers right now: this month's new and elevated bonuses, plus cards ranked by bonus value.

get_account

Your plan, cities and API usage today.

Read-only on award data. Codex never sees airline logins or points balances, and every date links to the program's own site to book.

One key per tool. Revoke any key in AwardClaw and that connection stops at once.

Codex questions

Where does my key go?+

In an Authorization: Bearer header, so it never appears in a URL or a log line. You can create a separate key for each tool and revoke any of them on its own.

Does this work in the Codex IDE extension?+

The IDE extension reads the same ~/.codex/config.toml, so AwardClaw shows up there too.

Can Codex cloud tasks use it?+

Cloud tasks run in their own environment. Use the REST API with the key stored as an environment secret if you need award data there.

Works with your other tools too

Automation
Build your own
REST API docs

Put Codex on award duty.

Pro+ is $120 a year: text alerts, first class drops, trip watches and AI agent access with 1,000 requests a day.

Get Pro+ and my key