
cursor-bridge
Claude Code that runs on your Cursor subscription. One Rust binary, zero config.
Install with your AI
Paste into Claude Code, Cursor, or any agent — it reads the repo and wires the tool into your project.
Install and set up cursor-bridge (release-binary project) into my current project. Found on https://claudeers.com/cursor-bridge Repo: https://github.com/hkc5/cursor-bridge Homepage/docs: — Detected install method: release-binary → inspect the README Category: devtools. Platforms: cli, api. Read the repo's README for exact setup and env vars, then install it and wire it into my project. Claudeers Health Verdict: active; community-verified: false. Confirm the source before running anything.
Grab the latest release asset from GitHub.
# download a build from https://github.com/hkc5/cursor-bridge/releases
git clone https://github.com/hkc5/cursor-bridge
// compatibility
| Platforms | cli, api |
|---|---|
| Operating systems | — |
| AI compatibility | claude |
| License | MIT |
| Pricing | open-source |
| Language | Rust |
cursor-bridge
One binary. Claude Code on Cursor's backend. Zero config.
Why does this exist?
You have a Cursor subscription. You want to use Claude Code (the CLI). Cursor's Auto model is included with your subscription — free, unlimited, no extra per-token cost.
Without cursor-bridge, you'd pay separately for Anthropic API credits or a Claude Pro plan.
With cursor-bridge, you just run cursor-bridge and it works — Claude Code runs on your Cursor backend.
Use cases:
- You're already paying for Cursor → get Claude Code for free on top
- You want Claude Code's agent capabilities (file editing, shell commands, tool use) without Anthropic billing
- Cursor's Auto model is free and unlimited with subscription — Claude Code becomes effectively free to run
cursor-bridge # interactive session
cursor-bridge "refactor this file" # one-shot prompt
cursor-bridge -p "list files" # pipe mode
That's it. No proxy management. No env vars. Everything automatic.
How it works
cursor-bridge (Rust binary)
├── Starts a local HTTP proxy on a random port
├── Reads your Cursor auth token from macOS keychain (or CURSOR_TOKEN env var on Linux)
├── Spawns `claude` with env vars pointing at the proxy
├── Proxy translates Anthropic API calls → Cursor agent CLI
└── Cleans up on exit
You don't see the proxy. You don't manage it. It's there and gone.
Install
# Prerequisites
# - Cursor installed with `agent` CLI authenticated (`agent login`)
# - Claude Code installed (`curl -O https://claude-code.anthropic.com/claude && chmod +x claude`)
cargo install cursor-bridge
# Then just use it
cursor-bridge
Or download a binary from Releases.
Requirements
- macOS or Linux
- Cursor subscription (with
agentCLI in PATH) - Claude Code CLI (
claudein PATH) - macOS: token auto-read from keychain
- Linux: set
CURSOR_TOKENenv var (no keychain fallback)
How it differs from other proxies
All other solutions are background servers you manage. cursor-bridge is a command you run.
Existing proxies (cursor-api-proxy, cursor-composer-in-claude, cursor-proxy) are Node.js servers that live in your process list, occupy a port, and need manual env var wiring. They don't ship with Claude Code — they sit between you and it, adding ceremony.
cursor-bridge is the opposite. There is nothing to start, stop, or configure. It is the session:
| The old way | cursor-bridge |
|---|---|
Start a proxy daemon, note the port, set env vars, then run claude | Run cursor-bridge — done |
| Background process that outlives your session | Lives and dies with your terminal |
| Pick a port, pray it doesn't clash | Random port, zero conflicts |
npm install + npx + Node.js runtime (60+ MB) | One Rust binary, ~780 KB, statically compiled |
| Multiple npm packages, peer deps, version mismatches | cargo install or download. One binary. Nothing else. |
No daemon. No npm install. No env vars. No port hunting. No cleanup. Just a single binary that works.
cursor-bridge replaces claude entirely — it manages the proxy lifecycle internally, spawns the CLI, and cleans up after itself when you're done.
Caveats
- Linux: requires
CURSOR_TOKENenv var (no keychain support). - No workspace sandboxing — the agent runs in your current directory.
- Single account — no multi-account rotation (yet).
Legal
This project is not affiliated with Anthropic or Cursor/Anysphere. Use at your own risk.
License
MIT
// faq
What is cursor-bridge?
Claude Code that runs on your Cursor subscription. One Rust binary, zero config.. It is open-source on GitHub.
Is cursor-bridge free to use?
cursor-bridge is open-source under the MIT license, so it is free to use.
What category does cursor-bridge belong to?
cursor-bridge is listed under devtools in the Claudeers registry of Claude-compatible tools.
// embed badge
[](https://claudeers.com/cursor-bridge)
// retro hit counter
[](https://claudeers.com/cursor-bridge)
// reviews
// guestbook
// related in Developer Tools
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Curs…
Use Garry Tan's exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA
AI coding assistant skill (Claude Code, Codex, OpenCode, Cursor, Gemini CLI, and more). Turn any folder of code, SQL schemas, R scripts, shell scripts, docs,…
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.