head to head · open source

codex-security vs toolhive

codex-security has 11,287 GitHub stars, 903 forks, 220 open issues and last shipped yesterday. toolhive has 2,321 stars, 324 forks, 369 open issues and last shipped yesterday. codex-security leads on adoption by 386% (11,287 vs 2,321 stars). codex-security is written in TypeScript under Apache-2.0; toolhive is written in Go under Apache-2.0. codex-security has attracted 8% as many forks as stars, toolhive 14%. codex-security was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 1 topic tag (ai-security), so they are genuine substitutes rather than adjacent tools.

Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.

codex-security ★ 11K toolhive ★ 2.3K category AI & Machine Learning

← all 20902 open source comparisons

Side by side

codex-security toolhive
GitHub stars ★ 11K ★ 2.3K
License Apache-2.0 Apache-2.0
Written in TypeScript Go
Last push 2026-11-02 2026-11-02
Forks ⑂ 903 ⑂ 324
Self-hosting Yes Yes
Data ownership Your server Your server

pick codex-security if

  • You weight community size — 11K stars and counting
  • You want the Apache-2.0 license terms
  • Your stack matches TypeScript
  • You value the larger contributor base for long-term maintenance

full codex-security profile →

pick toolhive if

  • You want the toolhive feature set and don't need the biggest community
  • You prefer the Apache-2.0 license terms
  • Your stack matches Go
  • You evaluated both and toolhive fits your workflow better

full toolhive profile →

About codex-security

Codex Security @openai/codex security is a CLI and TypeScript SDK for defining security policy and finding, validating, and fixing security vulnerabilities in your code. 👉👉 See the Codex Security documentation for full documentation. Some cybersecurity requests and protected findings require approval through Trusted Access for Cyber. To join the program, visit chatgpt.com/cyber. Quick start Requires Node.js 22.13.0 or later and Python 3.10 or later. For CI, set OPENAI API KEY instead of signing in. Generate SECURITY.md Draft repository wide or component scoped SECURITY.md guidance for future scans: The command…

read the full codex-security overview →

About toolhive

The open source MCP platform trusted by developers and enterprises [![Release][release img]][release] [![Build status][ci img]][ci] [![Coverage Status][coveralls img]][coveralls] [![License: Apache 2.0][license img]][license] [![Star on GitHub][stars img]][stars] [![Discord][discord img]][discord] Run any MCP server securely, instantly, anywhere. ToolHive runs every MCP server in an isolated container, enforces identity and access policy per request when configured with an authentication source, and gives platform teams the observability they need to put MCP in production. Why ToolHive? Here are some of the more…

read the full toolhive overview →

More in AI & Machine Learning

Related comparisons

More AI Security & Privacy projects

Compare either of these against the rest of the AI Security & Privacy field.

Frequently asked questions

Is codex-security or toolhive more popular?

codex-security has 11,287 GitHub stars and toolhive has 2,321. codex-security has the larger community by that measure.

Are codex-security and toolhive free?

Both are open source. codex-security is licensed under Apache-2.0 and toolhive under Apache-2.0. Neither carries a licence fee.

What is the difference between codex-security and toolhive?

codex-security is written in TypeScript and toolhive in Go. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.

Which should I choose, codex-security or toolhive?

Choose codex-security if you want the larger community (11,287 stars) or its Apache-2.0 licence terms. Choose toolhive if its feature set, stack or Apache-2.0 licence fits better. Both are self-hostable.