# Use Optifeed Radar with Codex

Canonical HTML guide: https://radar.optifeed.com/codex/

Verified package: `optifeed-radar@0.1.0`

Optifeed Radar exposes five local MCP tools for auditing AI readiness and measuring brand and supplied-product visibility.

## Connect

```bash
codex mcp add optifeed-radar -- \
  npx -y --package=optifeed-radar optifeed-mcp
```

Verify the configuration:

```bash
codex mcp list
```

In the Codex terminal UI, use `/mcp` to see active MCP servers. The Codex app, CLI, and IDE extension share MCP configuration on the same host.

## Start with the free audit

```text
Run a free AI-readiness audit on mybrand.com with Optifeed Radar.
Explain every finding and do not start a paid visibility check.
```

This maps to `audit_store`, which makes no AI calls and needs no provider key.

## Example paid prompt

```text
Generate the buyer questions mybrand.com should be visible for and show them to me.
After I approve them, check the domain in quick mode using OpenAI only.
Cap total spend at $0.15.
```

## Forward provider keys

Radar reads `OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, `GOOGLE_API_KEY`, and `PERPLEXITY_API_KEY`. Use only the providers you need. One Codex configuration is:

```toml
[mcp_servers.optifeed-radar]
command = "npx"
args = ["-y", "--package=optifeed-radar", "optifeed-mcp"]
env_vars = ["OPENAI_API_KEY", "ANTHROPIC_API_KEY", "GOOGLE_API_KEY", "PERPLEXITY_API_KEY"]
```

Codex stores user-level configuration in `~/.codex/config.toml`; trusted projects can also use `.codex/config.toml`. Do not put key values in prompts or commit them. A local `.env` file in Radar's working directory is another supported option.

## Tools

- `audit_store` — free site-readiness audit.
- `generate_buyer_queries` — generate the intent-matched question pack.
- `check_visibility` — run a capped brand visibility check.
- `shopping_check` — compare explicitly supplied products. Beta.
- `get_snapshot_diff` — compare the last two local snapshots for free.

Scores are point-in-time estimates and vary between runs. Paid tools spend the user's provider credit; set `max_cost` for unattended runs.

Official Codex MCP documentation: https://learn.chatgpt.com/docs/extend/mcp
Repository: https://github.com/optifeed/optifeed-radar
