Chab in Codex

Chab adds its tools to Codex, OpenAI's coding agent: Google results, SEO data, maps and business details, company lookups, reading web pages and more. Codex needs a ChatGPT plan that includes it; Chab itself only needs a free account.

Create a free Chab account

Create a free Chab account 0:24
  1. On www.chab.ai, press Sign in, then Register here.
  2. Enter your name, email address and a password, then press Register.
  3. Open the email from Chab and press Verify Email Address. Your account starts with free credits.

You can also skip this step: when you connect Codex without an account, Chab's page offers Start for free.

Add Chab to Codex

Add Chab to Codex 0:21

Run this in your terminal:

codex mcp add chab --url https://www.chab.ai/mcp

Codex sees that Chab needs a sign-in and opens Chab's page in your browser. Press Approve (sign in first if you aren't signed in to Chab). The terminal then says "Successfully logged in." To sign in again later, run codex mcp login chab.

Your first request

Your first request in Codex 0:23

Start codex in your project folder and name Chab in your request, for example "Use Chab to show me the top 10 Google results for best running shoes in the United States." Codex asks before it uses Chab: choose Allow for this session so it asks only once, or Always allow.

Each request uses a few credits from your Chab account. Your Chab overview shows what is left.

More credits

When the credits run out, Chab tells Codex, and Codex gives you a link to buy a credit pack or choose a plan in your browser. See credits and billing.