A minimal chat UI and local backend that routes prompts through the Claude Code CLI, so users can access Claude with their Claude Pro or Claude Max subscription without an API key.
- Node.js 18+
- Claude Code CLI installed and logged in
claude --versionclaude login
cd claude-subscription-chat
npm install
npm startOpen http://localhost:3006 in your browser.
- The browser sends your chat history to
/chat. - The server builds a simple prompt with a helpful assistant system instruction.
- The server invokes
claudevia the local CLI and returns the response.
- This app does not require an Anthropic API key. It uses your existing Claude Code CLI session.
- If you see a backend error, confirm the CLI is installed and authenticated.