
Claude Code Source
Supports UIby wuwangzhang1216
Open-source Bun CLI implementation of Claude Code workflows with multi-provider support via OpenRouter.
What it does
This project provides a source-run implementation of the Claude Code CLI, enabling developers to run and customize Claude Code workflows directly using Bun. It extends the original functionality by adding multi-provider support, allowing the CLI to route traffic through OpenRouter to access various LLMs beyond just Anthropic's native API.
Tools
The project exposes a comprehensive set of CLI-based tools for agentic coding, including:
auth: Manage API keys and authentication for Anthropic and OpenRouter.model: Interactive model switching (e.g.,/model sonnet,/model opus).cli: Core execution engine for running agentic coding tasks from the shell.provider-management: Configuration for routing traffic to different model providers.
Installation
To run this server from source, use the following configuration in your claude_desktop_config.json (assuming the repo is cloned locally):
{
"mcpServers": {
"claude-code-source": {
"command": "bun",
"args": ["run", "src/entrypoints/cli.tsx"],
"cwd": "/path/to/claude-code-source"
}
}
}
Supported hosts
- Claude Desktop
- Cursor
Quick install
bun src/entrypoints/cli.tsxInformation
- Pricing
- free
- Published
- 4/29/2026
- stars
- 0
Categories
Choose your AI client and follow the steps below.
Claude Desktop
Add the bun command and project path to your claude_desktop_config.json.





