Codex¶
This page is written for an agent that needs to install NBER-CLI into Codex without guessing.
What to Install¶
Use the NBER-CLI Codex plugin.
Repository:
Marketplace name:
Plugin name:
MCP server name:
The Codex marketplace file is:
The Codex plugin manifest is:
The plugin includes:
- the
NBER-CLIskill - the
.mcp.jsonMCP server configuration - the
uvx nber-cli mcp-servercommand used to start the MCP server
Install from GitHub¶
Use this path when Codex can reach GitHub.
Run:
What each command means:
codex plugin marketplace add sepinetam/nber-cliadds this GitHub repository as a Codex marketplace source.codex plugin add nber-cli@nber-cliinstalls thenber-cliplugin from thenber-climarketplace.
If the repository was just updated and Codex already knows the marketplace, refresh it:
Install from a Local Checkout¶
Use this path only when the user has already cloned the repository.
Run from anywhere:
Replace /absolute/path/to/nber-cli with the real path to the repository root. The repository root is the directory that contains .agents/plugins/marketplace.json.
Verify the Plugin¶
List marketplaces:
List plugins:
Expected result:
- marketplace
nber-cliis visible - plugin
nber-cliis visible - plugin
nber-cliis installed aftercodex plugin add nber-cli@nber-cli
If the plugin does not appear, the marketplace source is wrong or stale. Add the repository again or run:
Verify the MCP Server¶
The installed plugin should provide an MCP server named:
Check configured MCP servers:
If you need details for the server:
If the server fails to start, run:
If uvx nber-cli --help fails, install uv first or fix PATH. If uvx nber-cli mcp-server fails, report the exact error.
Verify NBER-CLI Behavior¶
Run direct CLI checks:
uvx nber-cli --help
uvx nber-cli info w25000 --format json
uvx nber-cli search "labor economics" --format json
Then ask Codex:
Expected behavior:
- Codex should use the NBER-CLI skill or MCP server.
- It should not ask the user to clone the repository.
- It should not assume that
nber-cliis already installed. - It may use
uvx nber-cli ....
If Plugin Installation Fails¶
Use this fallback only when the plugin path above is unavailable.
Add the MCP server manually:
Then provide Codex with the skill content from:
If the user does not have this repository checked out, tell them to read the skill from:
Manual MCP JSON equivalent:
Common Mistakes¶
Use these exact values:
| Setting | Value |
|---|---|
| Repository | https://github.com/sepinetam/nber-cli |
| Marketplace | nber-cli |
| Plugin | nber-cli |
| MCP server | nber-cli-mcp |
Order matters: add the sepinetam/nber-cli marketplace before installing the plugin. If using a local checkout, use the repository root as the marketplace source; it is the directory containing .agents/plugins/marketplace.json. Do not clone the repository just to run the CLI; use uvx nber-cli ....
Access Policy¶
NBER-CLI does not bypass NBER access controls. If NBER returns 403, 404, an access-denied page, or a download-limit response, report that result to the user. Do not rotate proxies, share credentials, bypass CAPTCHA, or disguise traffic.