crabforge/crab-code
π¦ Open-source alternative to Claude Code, built from scratch in Rust. Agentic coding CLI β thinks, plans, and executes with any LLM. Compatible with Claude Code workflows.
Platform-specific configuration:
{
"mcpServers": {
"crab-code": {
"command": "npx",
"args": [
"-y",
"crab-code"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
<div align="center">
Open-source alternative to Claude Code, built from scratch in Rust.
*Inspired by Claude Code's agentic workflow β open source, Rust-native, works with any LLM.*
[](https://www.rust-lang.org/) [](LICENSE) [](CONTRIBUTING.md)
</div>
---
Claude Code pioneered the agentic coding CLI β an AI that doesn't just suggest code, but thinks, plans, and executes autonomously in your terminal.
Crab Code brings this agentic coding experience to the open-source world, independently built from the ground up in Rust:
CLAUDE.md, settings.json, and MCP configsIf you're already using Claude Code, Crab Code is designed to feel familiar. We aim to be compatible with the workflow and config conventions that Claude Code users already know:
| Claude Code | Crab Code | |-------------|-----------| | claude | crab | | CLAUDE.md | Reads CLAUDE.md (+ CRAB.md for extras) | | settings.json | Compatible settings.json | | /slash commands | Same slash commands | | MCP servers | Same MCP config format | | Permission modes | Same permission model |
> π§ Under active development β Star & watch to follow the journey.
Loading reviews...