Best for
- Developers concerned about privacy and local development
- Individuals or teams needing a lightweight alternative to Claude Code
- Developers familiar with Bun and TypeScript
Created by community developer txl16095, based on Claude Code, with code size about 20% of the original.
MiniClaude is a lightweight local AI coding assistant derived from Claude Code, which removes cloud services, telemetry, and collaboration code (about 92,000 lines), while retaining core development features such as AI conversation, code generation, file operations, Git, MCP, plugin system, and skills. It supports using various AI models (e.g., DeepSeek) and is configured via settings.json.
Prerequisites: Bun >= 1.3.11 and Git. Installation and build:
git clone https://github.com/txl16095/MiniClaude.git && cd MiniClaude
bun install
bun run buildThen copy the configuration file:
cp settings.example.json ~/.claude/settings.jsonAnd edit it as needed, for example configuring DeepSeek:
{
"env": {
"ANTHROPIC_BASE_URL": "https://api.deepseek.com/anthropic",
"ANTHROPIC_AUTH_TOKEN": "sk-your-api-key-here",
"ANTHROPIC_MODEL": "deepseek-v4-pro[1m]"
},
"model": "deepseek-v4-pro[1m]"
}