leookun/cursor-byok
cursor-byok is a local implementation of Cursor's backend. https://github.com/leookun/cursor-byok/releases observed · 2026-08-28
Health v2 · maintenance only
81/100
- Activity 99
- Release rhythm 99
- Longevity 10
Flags: young
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 143
- days_rel: 6
- days_push: 7
- n_releases_24m: 60
Adoption not part of the score
2537 stars · 391 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
cursor-byok is an open-source local implementation of Cursor's backend that runs a gateway service on your machine, connecting the Cursor editor to your own OpenAI- or Anthropic-compatible model APIs. It lets you configure custom endpoints, API keys, and model IDs while preserving Cursor Agent features like tool calling, Skills, and MCP.
Use cases
- use my own API keys with Cursor instead of the built-in models
- connect Cursor to a custom OpenAI-compatible endpoint
- route Cursor requests through Anthropic or local providers
- keep Cursor Agent tool calling and MCP working with my own models
- benchmark model providers for time to first token and speed
- track token usage and cache hit rate for Cursor sessions
When to choose
- you want Cursor to use your own model API keys, endpoints, or self-hosted models
- you need model channels beyond those officially offered in Cursor
- you want local control over routing, credentials, and request parameters
- you want to measure and compare provider latency and throughput
When to avoid
- you are happy with Cursor's official model offerings and billing
- you need a fully managed cloud service rather than a locally run gateway
- you expect free model usage - connected APIs may still charge
Facets
application · maturity active
llm-inference api-gateway proxy mcp developer-tools large-language-models developer-tools self-hosted apis windows cross-platform self-hosted cursor byok model-gateway api-proxy local-backend rust macos linux
1 source
- readme: https://github.com/leookun/cursor-byok · fetched 2026-08-28 · fbbe8e0ea36f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| leookun/cursor-byok | main | 81 |
For agents
markdown · JSON · MCP: product_card(name="leookun/cursor-byok")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem