<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/github---hkc5-cursor-bridge-claude-code-that-runs-on-your-cursor-subscription-one-rust-binary-zer-9ayh3z07l" -->

---
title: GitHub - hkc5/cursor-bridge: Claude Code that runs on...
description: cursor-bridge is a single Rust binary (~780 KB) that lets you run Claude Code CLI using your existing Cursor subscription's backend, avoiding separate...
canonical: https://daily.dev/posts/github---hkc5-cursor-bridge-claude-code-that-runs-on-your-cursor-subscription-one-rust-binary-zer-9ayh3z07l
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: GitHub - hkc5/cursor-bridge: Claude Code that runs on your Cursor subscription. One Rust binary, zero config. | daily.dev
og:description: cursor-bridge is a single Rust binary (~780 KB) that lets you run Claude Code CLI using your existing Cursor subscription's backend, avoiding separate...
og:url: https://daily.dev/posts/github---hkc5-cursor-bridge-claude-code-that-runs-on-your-cursor-subscription-one-rust-binary-zer-9ayh3z07l
og:image: https://api.daily.dev/og/posts/9aYH3z07L.png
og:image:alt: GitHub - hkc5/cursor-bridge: Claude Code that runs on your Cursor subscription. One Rust binary, zero config.
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# GitHub - hkc5/cursor-bridge: Claude Code that runs on your Cursor subscription. One Rust binary, zero config.

**[Hacker News](https://daily.dev/sources/hn)** · 3 min read · 0 upvotes · 0 comments

## Summary

cursor-bridge is a single Rust binary (~780 KB) that lets you run Claude Code CLI using your existing Cursor subscription's backend, avoiding separate Anthropic API billing. It works by spawning a local HTTP proxy that translates Anthropic API calls to Cursor's agent CLI, reads your auth token automatically from the macOS keychain (or via env var on Linux), and cleans up after itself. Unlike existing Node.js proxy solutions that run as background daemons requiring manual configuration, cursor-bridge is a self-contained command with zero config — just run it and Claude Code works on Cursor's backend.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.com/hkc5/cursor-bridge>

## Questions this post answers

### How can I use Claude Code without paying for Anthropic API credits or a Claude Pro plan?

You can run Claude Code through your existing Cursor subscription using cursor-bridge, a Rust binary that starts a local HTTP proxy, reads your Cursor auth token, and translates Anthropic API calls into Cursor's agent CLI calls, letting Claude Code run against Cursor's free, unlimited Auto model instead of Anthropic billing.

_Developers weighing AI coding tool costs can track workflow shortcuts like this on daily.dev._

### What are the limitations of using cursor-bridge to run Claude Code on a Cursor subscription?

On Linux it requires manually setting a CURSOR_TOKEN environment variable since there is no keychain fallback, there is no workspace sandboxing so the agent runs directly in the current directory, and it only supports a single account with no multi-account rotation yet. macOS auto-reads the token from the keychain instead.

_Anyone piecing together AI coding agent setups can follow tool caveats like these on daily.dev._

## Similar posts on daily.dev

- [The debugging wars: Cursor 3 takes aim at Claude Code’s agentic edge](https://daily.dev/posts/the-debugging-wars-cursor-3-takes-aim-at-claude-code-s-agentic-edge-xou7apagw) · The New Stack · 1 upvotes · 0 comments
- [Claude Code vs Cursor: The Ultimate Comparison \(2026\)](https://daily.dev/posts/claude-code-vs-cursor-the-ultimate-comparison-2026--znifsd1js) · SitePoint · 0 upvotes · 0 comments
- [Claude Code Remote Control Keeps Your Agent Local and Puts it in Your Pocket](https://daily.dev/posts/claude-code-remote-control-keeps-your-agent-local-and-puts-it-in-your-pocket-yvaalh68b) · DevOps.com · 1 upvotes · 0 comments

---

Tags: [#ai](https://daily.dev/tags/ai), [#rust](https://daily.dev/tags/rust), [#claude](https://daily.dev/tags/claude), [#claude-code](https://daily.dev/tags/claude-code)

[View this post on daily.dev](https://daily.dev/posts/github---hkc5-cursor-bridge-claude-code-that-runs-on-your-cursor-subscription-one-rust-binary-zer-9ayh3z07l)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"GitHub - hkc5/cursor-bridge: Claude Code that runs on your Cursor subscription. One Rust binary, zero config.","url":"https://daily.dev/posts/github---hkc5-cursor-bridge-claude-code-that-runs-on-your-cursor-subscription-one-rust-binary-zer-9ayh3z07l","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/github---hkc5-cursor-bridge-claude-code-that-runs-on-your-cursor-subscription-one-rust-binary-zer-9ayh3z07l"},"datePublished":"2026-07-27T00:09:44.206Z","dateModified":"2026-09-14T08:03:58.058Z","description":"cursor-bridge is a single Rust binary (~780 KB) that lets you run Claude Code CLI using your existing Cursor subscription's backend, avoiding separate...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/8dee49d2b116a3725bdfab66c09ef01e?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/8dee49d2b116a3725bdfab66c09ef01e?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Hacker News","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hacker News","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn","url":"https://daily.dev/sources/hn"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/github---hkc5-cursor-bridge-claude-code-that-runs-on-your-cursor-subscription-one-rust-binary-zer-9ayh3z07l","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ai,rust,claude,claude-code","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hacker News","item":"https://daily.dev/sources/hn"},{"@type":"ListItem","position":3,"name":"GitHub - hkc5/cursor-bridge: Claude Code that runs on your Cursor subscription. One Rust binary, zero config."}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/github---hkc5-cursor-bridge-claude-code-that-runs-on-your-cursor-subscription-one-rust-binary-zer-9ayh3z07l#faq","mainEntity":[{"@type":"Question","name":"How can I use Claude Code without paying for Anthropic API credits or a Claude Pro plan?","acceptedAnswer":{"@type":"Answer","text":"You can run Claude Code through your existing Cursor subscription using cursor-bridge, a Rust binary that starts a local HTTP proxy, reads your Cursor auth token, and translates Anthropic API calls into Cursor's agent CLI calls, letting Claude Code run against Cursor's free, unlimited Auto model instead of Anthropic billing. Developers weighing AI coding tool costs can track workflow shortcuts like this on daily.dev."}},{"@type":"Question","name":"What are the limitations of using cursor-bridge to run Claude Code on a Cursor subscription?","acceptedAnswer":{"@type":"Answer","text":"On Linux it requires manually setting a CURSOR_TOKEN environment variable since there is no keychain fallback, there is no workspace sandboxing so the agent runs directly in the current directory, and it only supports a single account with no multi-account rotation yet. macOS auto-reads the token from the keychain instead. Anyone piecing together AI coding agent setups can follow tool caveats like these on daily.dev."}}]}
```

