Composer API is a free, open-source service that lets you use Cursor Composer—the AI coding assistant built into the Cursor editor—as if it were a standard OpenAI-compatible AI service. You can connect your own Cursor account and use Composer with any AI-powered tool, or use the built-in chat page. Your Cursor API key is passed directly to Cursor and is never stored. The service handles translating between standard AI formats and Cursor's internal format, supports streaming responses, and even converts Cursor's tool-calling into standard function calls that your tools can understand.
How It Works
You've been using Cursor Composer to work on your projects, but you wish you could use it with your existing tools and workflows.
This project acts like a translator, letting any app that speaks the standard AI language talk directly to Cursor Composer.
You enter your Cursor API key from the Cursor website. Your key goes straight to Cursor and is never stored anywhere else.
Open the chat page in your browser, pick a model like Composer 2.5, and start asking questions right away.
Point your AI app at the service URL and use Cursor Composer just like you would use any other AI assistant.
Behind the scenes, your request travels to Cursor Composer, which reads your files, runs commands, and thinks through your problem.
Watch the answer appear word by word. If you asked for code changes, you see the exact commands Composer wants to run.
Cursor Composer helps you build, fix, and improve your code while your favorite tools handle the conversation. Everything just works.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.