Comparison

Claude Code vs Codex

How the two compare on the things that decide whether your setup carries over: open standards, license, models and where they run.

Claude CodeCodex
MakerAnthropicOpenAI
LicenseProprietaryApache-2.0
ModelsAnthropic Claude modelsOpenAI models
Runs inTerminal, IDE, Desktop, WebTerminal, IDE, Desktop, Web
MCPMCP: supportedMCP: supported
Agent SkillsAgent Skills: supportedAgent Skills: supported
AGENTS.md?AGENTS.md: not yet verifiedAGENTS.md: supported
ACPACP: supportedACP: supported

Key differences

  • Codex is open source (Apache-2.0); Claude Code is proprietary. If you need to self-host, audit or fork the harness, that settles it.
  • Models: Claude Code runs Anthropic Claude models; Codex runs OpenAI models.
  • Codex supports AGENTS.md; we have not verified it for Claude Code.
  • Both support MCP, Agent Skills, ACP, so MCP servers, skills and repo instructions you set up carry over if you switch.

In their own words

Claude Code

Anthropic's agentic coding tool. Reads the codebase, edits files, runs commands, and extends through MCP servers, Skills, subagents, hooks and plugin marketplaces. Project instructions live in CLAUDE.md.

Codex

OpenAI's coding agent across CLI, IDE, ChatGPT and cloud. One of the originators of AGENTS.md, with Skills, MCP and a plugin marketplace.

FAQ

Is Claude Code or Codex open source?
Claude Code is proprietary. Codex is open source under Apache-2.0.
Do Claude Code and Codex support MCP servers?
Claude Code: yes. Codex: yes.
Can I reuse Agent Skills between Claude Code and Codex?
Yes. Both read the open Agent Skills (SKILL.md) format, so the same skill folder works in both.

Set up MCP servers in either one

More comparisons

Reviewed Oct 5, 2026.