Discover and explore top open-source AI tools and projects—updated daily.
7836246Proxy service for Cursor API, enabling OpenAI/Anthropic clients
Top 24.0% on SourcePulse
This project provides a proxy service that converts Cursor's AI chat interface, specifically Claude Code, to be compatible with the OpenAI/Anthropic Messages API. It addresses Cursor's AI limitations by restoring full IDE operation capabilities, enabling advanced tool usage and multi-modal features, thereby empowering developers to maximize Cursor's AI potential.
How It Works
cursor2api acts as an intermediary, translating Anthropic Messages API requests from Claude Code into Cursor's internal /api/chat format. Its core innovation is a "Cognitive Reframing" prompt injection strategy. Instead of fighting Cursor's AI's restricted "Documentation Assistant" persona, it frames requests as generating API documentation examples. This psychological manipulation bypasses built-in filters, restoring full tool execution permissions. The service also simulates Chrome TLS fingerprints and employs multi-layer defenses against AI refusals and identity probes, ensuring consistent Claude identity.
Quick Start & Requirements
npm installconfig.yaml (e.g., cursor_model, fingerprint.user_agent, vision.enabled, vision.mode).npm run devexport ANTHROPIC_BASE_URL=http://localhost:3010 with claude CLI.
Highlighted Details
/v1/messages.Maintenance & Community
Recent updates (March 6, 2026) focus on vision preprocessing, OpenAI API defense, and non-tool scenario reframing. No community links or contributor details are provided.
Licensing & Compatibility
Limitations & Caveats
Effectiveness primarily verified with Claude Code; other clients may not function as expected. Use carries a risk of account bans or restrictions. The project is unofficial and disclaims liability for user-induced issues.
1 week ago
Inactive
philschmid
SilasMarvin