Skip to main content

ClaudeCode-Next

An unofficial CLI coding agent that runs on the Claude.ai web interface.

This tool lets you use Claude as a coding assistant from your terminal – reading files, running commands, refactoring code – without needing an API key or paying per-token. It extracts your Claude.ai session from your browser once, then works entirely from the CLI and it's completely free.

What it does

  • Read/write files in your project
  • Run shell commands (git, npm, tests, builds)
  • Search code and refactor across multiple files
  • Interactive REPL with agent mode
  • Workspace-restricted operations with confirmation

How it's different

Claude Code (official) : Uses API keys, per-token billing, guaranteed reliability
This tool : Uses your browser session, free with Claude.ai subscription, may break if the web UI changes

Who it's for

  • Developers without Claude API access
  • Hobbyists who want to experiment with CLI coding agents
  • Anyone who prefers the terminal over the chat interface

Installation

pip install claudecode-next

For browser automation and automated cookie extraction:

pip install "claudecode-next[browser]"
playwright install chromium

Quick Start

claudecode-next --auto-fetch

Direct Prompts

claudecode-next --prompt "Explain quantum computing in simple terms"

Specify a model:

claudecode-next --model opus --prompt "Write a high-performance HTTP server in Rust"

Agent Mode

Run the autonomous coding agent on a task:

claudecode-next --agent "Refactor utils.py to use pathlib"

Credential Setup

Login via browser to capture session credentials:

claudecode-next --login

Or auto-fetch cookies from an existing Chrome session:

claudecode-next --auto-fetch

Or enter credentials manually:

claudecode-next --manual

⚠️ Disclaimer

This is an unofficial, research-grade tool. It's not endorsed by Anthropic, uses the Claude.ai web interface (which may violate ToS), and can break at any time, developers won't be responsible for any misuse and damage caused by it. Use responsibly and at your own risk.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

claudecode_next-1.0.0.tar.gz (30.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

claudecode_next-1.0.0-py3-none-any.whl (32.8 kB view details)

Uploaded Python 3

File details

Details for the file claudecode_next-1.0.0.tar.gz.

File metadata

  • Download URL: claudecode_next-1.0.0.tar.gz
  • Upload date:
  • Size: 30.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.9

File hashes

Hashes for claudecode_next-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c54e28b6564048b32c821ea65ce3ff5cadfb9809b2b57a02e8bf8f88612ce90f
MD5 5a789d11a1966c29b5cd2f43136474c7
BLAKE2b-256 139d5e69967ff47615ab7fd399f39bcd4c45ae7f8b3f36bd39a68ccb2c41b3cd

See more details on using hashes here.

File details

Details for the file claudecode_next-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for claudecode_next-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9e97adaf797ab854e6aa911ae2ab909f4fc2c2205f458d0e2b9545b6274b4f58
MD5 5cf232ca1407390f4cf98890566fb6e8
BLAKE2b-256 2f352722290056a6c0222f130667376b3d7b086c159f4cbccfdadeb5869f5b91

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.1

2 files

This release

1.0.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page