claude-code-rust
Claude Code Rust is a high-performance rewrite of the Claude Code tool in Rust, delivering 2.5x faster startup and 97% smaller binary size while maintaining full feature compatibility. It provides a CLI, REPL, MCP server, and plugin system with zero runtime dependencies.
Key facts
Objective fields from the source. Values we can't verify are shown as “Unknown” rather than guessed.
| Field | Value |
|---|---|
| Repository | lorryjovens-hub/claude-code-rust |
| Owner | lorryjovens-hub |
| Primary language | TypeScript |
| License | MIT — OSI-approved |
| Stars | 1.7k |
| Forks | 638 |
| Open issues | 16 |
| Latest release | Unknown |
| Last updated | 2026-05-30 |
| Source | https://github.com/lorryjovens-hub/claude-code-rust |
What claude-code-rust is
Native Rust implementation replacing the TypeScript version, eliminating Node.js runtime dependency. Achieves ~63ms startup vs 158ms (TypeScript), 5MB binary vs 164MB (npm), and 10-12MB base memory vs 50-150MB. Includes MCP protocol support, session management, plugin architecture, and multi-API backends (Anthropic/DeepSeek).
Get the claude-code-rust source
Clone the repository and explore it locally.
git clone https://github.com/lorryjovens-hub/claude-code-rust.gitcd claude-code-rust# follow the project's README for install & configurationNeed it deployed, integrated, or customized instead? DEV.co ships production installs.
Best use cases
Implementation considerations
- Verify API key configuration: project expects Anthropic/DeepSeek API credentials. Unclear if full API feature parity is maintained; test against your use cases.
- Plugin ecosystem maturity unknown: architecture includes plugin system, but adoption/ecosystem size vs. TypeScript version is undocumented.
- Build from source required: no prebuilt binaries visible in latest release section (marked 'none'). Rust toolchain and compilation time (~1-2 min) needed for each deployment.
- Installation paths platform-dependent: scripts provided but require PowerShell (Windows) or bash (Linux/macOS) with manual path setup; no simple package manager distribution visible.
- MCP protocol compliance: claims MCP support but no test coverage or validation against official MCP spec documented.
When to avoid it — and what to weigh
- You need official Anthropic support — This is a community rewrite. No official support channel or SLA from Anthropic. Use the official TypeScript version for production environments requiring vendor backing.
- Your team lacks Rust expertise — Maintenance, debugging, and feature additions require Rust knowledge. If your team is TypeScript-only, forking or contributing may face steep learning curves.
- You rely on undocumented TypeScript internals — Architecture differs significantly from the original. Code that depends on specific TypeScript implementation details will require rework.
- You need Windows GUI out-of-the-box — While GUI screenshots exist in README, installation/build instructions are incomplete; unclear if prebuilt GUI binaries are available. CLI-first tool.
License & commercial use
MIT License. Permissive OSI-approved license allowing commercial use, modification, and distribution with minimal restrictions (require attribution and include license in copies).
MIT license permits commercial use without royalties or restrictions, but note: (1) this is a third-party rewrite without official Anthropic blessing, so liability and support remain unclear; (2) Anthropic's Claude API terms still apply to runtime API calls; (3) review Anthropic's API ToS for restrictions on the underlying model. Consult legal before deploying in mission-critical commercial systems.
DEV.co evaluation signals
Editorial assessment — not user reviews. Directional, with an explicit confidence level.
| Signal | Assessment |
|---|---|
| Maintenance | Active |
| Documentation | Adequate |
| License clarity | Clear |
| Deployment complexity | Moderate |
| DEV.co fit | Good |
| Assessment confidence | Medium |
Rust provides compile-time memory safety (no buffer overflows, use-after-free, or data races by construction). No runtime exploit surface from garbage collection pauses or unsafe language idioms. However: (1) security audit status unknown; (2) third-party rewrite may not receive security updates as quickly as official version; (3) API credentials stored in config—review file permissions and secret management practices; (4) plugin system poses sandbox/isolation risks if plugins are untrusted (README claims 'isolation' but mechanism unclear).
Alternatives to consider
Official Claude Code (TypeScript/Node.js)
Backed by Anthropic, full support, guaranteed API compatibility, larger ecosystem, but 32x larger footprint and 2.5x slower startup.
GitHub Copilot CLI
Similar CLI-driven workflow, native performance, strong GitHub integration, but tied to GitHub ecosystem and different model backend.
LLM CLI (Simon Willison's tool)
Lightweight Rust-based CLI for LLM interaction, minimal dependencies, active maintenance, but narrower feature set (no MCP/REPL/plugins).
Build on claude-code-rust with DEV.co software developers
Clone the repo, run the install script, and experience 63ms startup times with just 5MB. Perfect for CI/CD pipelines and resource-constrained deployments.
Talk to DEV.coRelated open-source tools
Surfaced by semantic similarity across the DEV.co open-source index.
Related on DEV.co
Explore the category and the services that help you build with it.
claude-code-rust FAQ
Are the 2.5x performance gains real, or marketing?
Will I lose features migrating from TypeScript to Rust version?
How do I get started without Rust knowledge?
What if Anthropic releases a major update to Claude Code?
Software developers & web developers for hire
DEV.co helps companies turn open-source tools like claude-code-rust into production software. Our software development services cover the full lifecycle — architecture, web development, integration, and maintenance — delivered by software developers and web developers who ship. Engage our software development agency to implement or customize it for your mcp servers stack.
Ready to accelerate your AI workflow?
Clone the repo, run the install script, and experience 63ms startup times with just 5MB. Perfect for CI/CD pipelines and resource-constrained deployments.