npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@junyjeon/claude-codex-orchestrator

v0.2.0

Published

MCP tool providing Claude Code access to Codex CLI (GPT-5) for code generation

Readme

claude-codex-orchestrator

MCP tool providing Claude Code access to Codex CLI (GPT-5) for code generation.

Overview

Simple MCP server that enables Claude Code to use Codex CLI for code generation tasks. Claude Code handles orchestration, analysis, and validation - this tool just calls Codex and returns results.

Architecture:

  • Claude Code: Orchestration, analysis, validation
  • This MCP server: Execute Codex CLI
  • Codex CLI: Code generation

Prerequisites

  • Node.js ≥20.0.0
  • Codex CLI installed and authenticated
  • ChatGPT Plus, Pro, Business, Edu, or Enterprise plan

Install Codex CLI

# Install (follow official guide)
npm install -g @openai/codex

# Authenticate
codex
# or
printenv OPENAI_API_KEY | codex login --with-api-key

Verify: codex exec "test prompt" should work.

Installation

npm (Recommended)

npm install -g @junyjeon/claude-codex-orchestrator

Local Development

git clone https://github.com/junyjeon/claude-codex-orchestrator.git
cd claude-codex-orchestrator
npm install
npm run build
npm link

Claude Code Integration

1. Register MCP Server

Add to ~/.claude.json:

{
  "mcpServers": {
    "codex": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@junyjeon/claude-codex-orchestrator"]
    }
  }
}

For local development:

{
  "mcpServers": {
    "codex": {
      "type": "stdio",
      "command": "node",
      "args": ["/path/to/claude-codex-orchestrator/dist/index.js"]
    }
  }
}

2. Environment Variables (Optional)

Create .env file:

# Log level (default: info)
LOG_LEVEL=debug

# Codex CLI timeout (default: 30000ms)
CODEX_TIMEOUT=60000

3. Activate (If Needed)

Some environments require activation in ~/.claude/settings.json:

{
  "enabledMcpjsonServers": [
    "codex"
  ]
}

Usage

Ask Claude Code to generate code:

"Create a binary search function in TypeScript"

Claude Code will:

  1. Decide to use Codex
  2. Call generate_code tool
  3. Validate generated code
  4. Present results

Troubleshooting

Codex CLI not found

Codex CLI not found. Please install...

Fix:

  1. Install Codex CLI
  2. Verify: which codex
  3. Restart Claude Code

Authentication failed

Codex authentication failed. Please run: codex login

Fix:

  1. Run codex or codex login
  2. Authenticate in browser
  3. Restart Claude Code

Timeout

Codex CLI timeout after 30000ms

Fix:

  1. Increase CODEX_TIMEOUT in .env
  2. Check network connection
  3. Try simpler prompt

MCP server not detected

generate_code tool not in Claude Code.

Fix:

  1. Check ~/.claude.json configuration
  2. Restart Claude Code completely
  3. Manual test:
npx @junyjeon/claude-codex-orchestrator
# or
node /path/to/dist/index.js

Documentation

Update

# npm package
npm update -g @junyjeon/claude-codex-orchestrator

# Local development
cd claude-codex-orchestrator
git pull
npm install
npm run build

Uninstall

# npm package
npm uninstall -g @junyjeon/claude-codex-orchestrator

# Remove from ~/.claude.json
# Delete codex section

License

MIT

Author

junyjeon

Repository

https://github.com/junyjeon/claude-codex-orchestrator