How to use Claude Code in Cursor
Tyler J. Cagle7 min read
Auto, the Mac app for all your coding agents runs your Claude plan inside Cursor's own Agent: connect the plan in Auto, enable Cursor and restart it, and new chats start on Auto, with no API key. To run Claude Code itself in Cursor, install Anthropic's Claude Code extension, which Anthropic lists for Cursor next to VS Code (Anthropic), and sign in with your Claude account, or run the claude CLI in Cursor's terminal. Either one runs on your Claude plan. Cursor's own Agent doesn't take a Claude subscription: it bills Claude models from prepaid credit at API list price, on Premium and above (Cursor).
Auto wrote this post. Every Cursor and Anthropic detail below comes from their docs and pricing pages as read on November 20, 2026; check the linked page before you paste a command.
How do you install Claude Code in Cursor?
Install the Claude Code extension from Cursor's Extensions view and sign in. Anthropic publishes it to the Visual Studio Marketplace and the Open VSX Registry, and its docs link an Install for Cursor button (Anthropic).
- Open the Extensions view with
Cmd+Shift+X, search for "Claude Code" and click Install, or use Install for Cursor on Anthropic's VS Code page. - Open a file and click the Spark icon in the editor toolbar. The Spark icon in the Activity Bar and Claude Code in the status bar open it too, even with no file open.
- Click Sign in and finish in your browser. Any paid Claude plan (Pro, Max, Ultra, Team or Enterprise) or a Claude Console account works, and no API key is needed.
- If the extension doesn't appear, run Developer: Reload Window from the Command Palette.
The extension bundles its own copy of the CLI for its panel. To run claude in Cursor's integrated terminal as well, install the standalone CLI (Anthropic):
curl -fsSL https://claude.ai/install.sh | bash
claude
The extension and the CLI share ~/.claude/settings.json and their conversation history, so claude --resume in the terminal picks up a conversation you started in the panel (Anthropic).
Does Claude Code in Cursor use your Claude plan?
Yes. Claude Code signs in with your Claude account wherever it runs, so requests from the extension or the CLI in Cursor count against your Claude plan's limits, as they would in a plain terminal. As of November 20, 2026, Claude Pro costs $20 a month ($17 a month billed annually), Max $100 and Ultra $200 (Anthropic).
Cursor's own Agent is billed differently. Its plans include a weekly pool for Cursor's own models; Claude, GPT and Gemini are third-party models that bill at API list price from prepaid credit from the first request on Premium ($30 a month) and above, and Free and Plus don't include them (Cursor). You can also add an Anthropic API key in Cursor's settings, billed per token by Anthropic; How to use your own API key in Cursor covers that route. Neither one draws on a Claude subscription.
How do you use your Claude plan in Cursor's own Agent?
Connect the plan in Auto and enable Cursor. In Cursor, Auto uses the plans you connect in Auto, and other models run on credits:
- Download Auto for macOS from autorouter.com.
- Open it, sign in or create a free account, and sign in to your Claude plan and the other AI subscriptions you already pay for.
- Allow Accessibility and click Enable on Cursor's row.
- Click Restart on Auto's notice. New Cursor chats start on
autorouter; you can also pick one of Auto's Claude models yourself in the model picker.
Cursor support is experimental. It covers Chat and Agent; Tab, Cursor's Auto, cloud agents and the Cursor CLI stay on Cursor. While it's on, Cursor's own named models stop working, because Cursor's API key setting covers every model; Cursor's Auto keeps working. Turning Cursor off in Auto puts your earlier settings back (Auto for Cursor).
Choosing a specific model sends your requests straight to it. Choose Auto instead and it works out how hard each task is and sends it to the model that fits: hard work goes to the most capable model your plans cover, and quick work to the model that costs you least, which is often your plan or a low-cost open model. Every request shows its model, what it cost and why. How AutoRouter picks a model covers the rules, and Which model to use for which coding task covers which work needs which model.
Your connected plans work in every app you enable. If you also run the Claude Code CLI in Cursor's terminal, enable Claude Code in Auto and pick Auto or another model with /model; a connected ChatGPT plan runs there too. How to use Claude in Codex and GPT in Claude Code covers the plan in the other direction; for a ChatGPT plan in Cursor, see How to use Codex in Cursor, and How to choose and change models in Codex and Claude Code covers the wider lineup. Disabling an app in Auto's settings switches it back.
What does each way of using Claude in Cursor cost?
Only the Claude Code routes and Auto draw on a Claude plan. As of November 20, 2026:
| Route | Where it runs | What pays |
|---|---|---|
| Claude Code extension | Its own panel in Cursor | Your Claude plan, from $20 a month |
claude CLI | Cursor's terminal | Your Claude plan |
| Claude model in Cursor's Agent | Cursor's Agent | Cursor prepaid credit at API list price, Premium ($30) and above |
| Your Anthropic API key | Cursor's Agent | Your Anthropic account, per token; not on Plus |
| Auto | Cursor's Chat and Agent, and every app you enable | Your connected plans; $0 on Free for two subscriptions |
Auto Free costs $0 a month and connects two subscriptions, and routing across your own subscriptions is free. Pro connects any number and adds every other model, billed at the provider's price plus 10%. When one account reaches its limit, Auto moves on to the account with the most room left, before it spends any credit. Auto earns nothing on plans.
The limits: Auto runs on macOS 14 or later and is in beta. Requests pass through Auto's servers on their way to each provider; Auto doesn't store transcripts, but keeps the message that opens each request, up to 4,000 characters, to review routing, along with records of the model chosen, tokens and cost (Auto privacy). Claude Code needs Node 22.18 or later to use Auto.
Should you use the extension or Cursor's Agent?
- Use the Claude Code extension if you want Claude Code itself beside your editor, with its plan review and inline diffs, on your Claude plan.
- Use Cursor's Agent with Auto if you prefer Cursor's own agent and want your Claude plan, and the other AI subscriptions you pay for, to pay for it, with a model picked for each task.
- Use both if you like each for different work. The extension and Cursor's Agent run side by side, and Auto shares one set of plans across every app you enable.
Cursor vs Claude Code compares the two tools themselves, including what each plan costs.
Questions
Can I use my Claude subscription in Cursor?
Yes, two ways. Claude Code's extension or CLI runs inside Cursor on your Claude plan, and Auto runs the plan in Cursor's own Agent. Cursor itself doesn't list a Claude subscription as a way to pay; its Agent bills Claude models from prepaid credit (Cursor).
Why don't I see the Spark icon in Cursor?
The Spark icon in the editor toolbar shows only while a file is open. Click the Spark icon in the Activity Bar or Claude Code in the status bar instead, and if neither appears, run Developer: Reload Window (Anthropic).
Does Cursor Tab use my Claude plan?
No. Cursor's docs say Tab completion keeps using Cursor's built-in models even when you add your own API key (Cursor), and the Claude Code extension works in its own panel without changing Tab.
What happens when my Claude plan runs out?
In Claude Code, past a limit you can switch on usage credits at API rates or wait for the reset (Anthropic). With Auto, a request moves on to the connected account with the most room left before it spends any credit, and on Pro it keeps going from the monthly usage until the plan resets.
Sources
- Auto
- Auto privacy
- Use Claude Code in VS Code, Anthropic, read November 20, 2026
- Set up Claude Code, Anthropic, read November 20, 2026
- Plans and pricing, Anthropic, read November 20, 2026
- Manage usage credits, Anthropic
- Models & Pricing, Cursor, read November 20, 2026
- Bring your own API key, Cursor