Skip to setup

Use Cursor in any CLI editor.

Cursor Bridge exposes your Cursor account through OpenAI and Anthropic compatible APIs. Create a key, pick your editor, paste the config.

Create a key at Cursor Dashboard > API Keys > Create

Update

August 15, 2026: Fixed silent tool-call failures.

New

Web chat: use your Cursor models in the browser. Chats are saved on this server.

Choose your editor

Config generator

Claude Code

Run Claude with Cursor Bridge as the Anthropic base URL.

One-liner
Terminal
ANTHROPIC_BASE_URL=https://cursorbridge.dev ANTHROPIC_AUTH_TOKEN=<your Cursor API key> claude

One account, familiar APIs.

Cursor Bridge is an unofficial compatibility service that translates OpenAI and Anthropic API formats for use with your own Cursor account. It supports streaming responses, tool calls, images, reasoning usage, and standard SDK integrations.

What is Cursor Bridge?

A translation layer for connecting Cursor to developer tools that accept custom OpenAI or Anthropic API endpoints.

Which tools work?

Configuration is provided for Claude Code, Codex CLI, opencode, Cline, Kilo Code, and standard OpenAI or Anthropic SDKs.

How do I authenticate?

Create an API key in the Cursor dashboard, then use it as the bearer token or API key in your client configuration.

Which API features are supported?

Cursor Bridge supports streaming responses, tool calling, image inputs, reasoning usage, and both OpenAI and Anthropic compatible request formats.