Build
Connect & operate
Design & teams
Start hereScope a build in one callBring a spec, a wireframe, or a paragraph. You leave with an architecture, a timeline, and a number.Book a scoping call
AI software
LLM & data systems
Vibe coding
Ready to ship?Put AI where the work isAgents, RAG, and private LLMs wired into the systems your team already uses — not a chatbot bolted to a homepage.Discuss an AI project
Domain firstWe learn your workflow before we model itRegulated, operational, or high-volume — the constraints belong in the schema, not in a training doc.Talk about your domain
Plan smarterEstimate before you commitCost ranges, scope templates, and the questions we ask in discovery — free, no form.Open the cost calculator
Real conversationsTalk with a technical leadNo SDR, no discovery gauntlet. The person on the call is the one who scopes the build.Book a call
MCP Servers · lorryjovens-hub

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.

Source: GitHub — github.com/lorryjovens-hub/claude-code-rust
1.7k
GitHub stars
638
Forks
TypeScript
Primary language
MIT
License (OSI-approved)

Key facts

Objective fields from the source. Values we can't verify are shown as “Unknown” rather than guessed.

FieldValue
Repositorylorryjovens-hub/claude-code-rust
Ownerlorryjovens-hub
Primary languageTypeScript
LicenseMIT — OSI-approved
Stars1.7k
Forks638
Open issues16
Latest releaseUnknown
Last updated2026-05-30
Sourcehttps://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).

Quickstart

Get the claude-code-rust source

Clone the repository and explore it locally.

terminalbash
git clone https://github.com/lorryjovens-hub/claude-code-rust.gitcd claude-code-rust# follow the project's README for install & configuration

Need it deployed, integrated, or customized instead? DEV.co ships production installs.

Best use cases

High-frequency serverless/containerized deployments

97% smaller footprint and 2.5x faster startup ideal for Lambda, Cloud Run, or Kubernetes pods that invoke CLI commands repeatedly or scale rapidly.

Resource-constrained edge and embedded systems

10MB base memory and zero garbage collection overhead enable deployment on limited-resource devices and IoT platforms without performance degradation.

CLI-driven CI/CD and automation pipelines

25x faster config queries and sub-second REPL responses eliminate latency bottlenecks in automated coding workflows and real-time code generation pipelines.

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.

SignalAssessment
MaintenanceActive
DocumentationAdequate
License clarityClear
Deployment complexityModerate
DEV.co fitGood
Assessment confidenceMedium
Security considerations

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).

Software development agency

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.co

Related open-source tools

Surfaced by semantic similarity across the DEV.co open-source index.

claude-code-rust FAQ

Are the 2.5x performance gains real, or marketing?
Benchmark methodology not independently verified, but startup times (63ms vs 158ms) and binary size (5MB vs 164MB) are mechanically sound: native compilation vs. runtime overhead is a known difference. Gains are real but specific to cold-start and disk I/O; runtime LLM API latency dominates actual usage.
Will I lose features migrating from TypeScript to Rust version?
README claims 100% feature compatibility, but comprehensive testing required. Plugin ecosystem likely differs; some integrations/extensions may not exist in Rust variant.
How do I get started without Rust knowledge?
Use install scripts (Windows PowerShell or Linux bash). If you hit build errors, a basic Rust setup understanding is needed. Community support available via GitHub issues.
What if Anthropic releases a major update to Claude Code?
This project must be manually rebased. No automatic sync. Compatibility risk grows over time unless community forks stay active.

Software developers & web developers for hire

The gap between a working claude-code-rust demo and a supportable mcp servers system is where DEV.co works. We offer custom software development and web development services for exactly that stretch.

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.