Claude's back door is now a brick wall
A reverse-engineered API for Anthropic's chatbot that worked until the company slammed it shut.

What it does
This was a zero-dependency JavaScript library that let you script Claude-2 conversations programmatically: start chats, upload files, switch models (claude-2, claude-instant-100k, etc.), and continue threads via an unofficial internal API. It shipped with both a Node package (claude-ai) and a global CLI (claude-cli).
The interesting bit
The whole thing ran on stolen session cookies. You’d grab your sessionKey from the browser, feed it to the constructor, and the library would impersonate web traffic to hit Claude’s private endpoints. The author even wired in proxy support for CORS evasion — a tell that this was always a cat-and-mouse game.
Key highlights
- Isomorphic, zero-dependency JavaScript with async/await syntax
- CLI and programmatic API for conversation lifecycle management
- File upload support and model switching via
--modelflag - Unit tests claimed at 85% coverage with 100% pass rates
- Roadmap included caching, token counting, and event hooks (mostly unchecked)
Caveats
- Effectively dead: Claude “seems to have blocked all non-browser traffic,” per the author’s own warning — the project is openly soliciting workarounds
- Requires manual cookie extraction; no proper auth flow
- “Isomorphic” claim comes with a hand-wavy “supposing you setup a proxy” caveat
Verdict If you’re looking for a cautionary tale about building on unofficial APIs, bookmark this. If you need a working Claude integration, use the official Anthropic API instead — this repo is now a museum piece.