# 7836246/cursor2api

将 Cursor Web Docs 免费 API 转换为 OpenAI/Anthropic 兼容格式的代理服务。提供 Claude Code工具及图片支持。

Repository: https://github.com/7836246/cursor2api
Canonical: https://ross.abutalabs.com/products/cursor2api
Homepage: https://cursor.com/cn/docs
Language: TypeScript
License: MIT
License Family: permissive
Topics: ai, cc, claude, gpt, cursor
Last push: 2026-06-01T07:31:54+00:00

## Health v2 (maintenance only)
Score: 69/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 85, release rhythm 77, longevity 18
- inputs: {"age_days": 260, "days_push": 93, "days_rel": 159, "gap_med": 0.0, "n_releases_24m": 25}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1885, forks 516 (observed 2026-08-28T04:05:48.997637+00:00)

## What it is
A self-hosted proxy service that converts Cursor's free documentation-page AI chat endpoint into OpenAI Chat Completions and Anthropic Messages API compatible endpoints. It lets tools like Claude Code, Cursor IDE, ChatBox, and LobeChat use Cursor's backend models through standard API formats.

## Use cases
- use claude code with cursor's free api
- expose an openai-compatible endpoint backed by cursor
- proxy cursor chat api to anthropic messages format
- connect chatbox or lobechat to cursor models
- self-host an llm api gateway for cursor
- use cursor models in any openai sdk client

## When to choose
- you want to use Cursor's free docs-page models with Claude Code or OpenAI-compatible clients
- you need Anthropic Messages API and OpenAI Chat Completions compatibility from one proxy
- you want tool calling, vision, and thinking support without an official API key

## When to avoid
- you need a production-reliable or officially supported LLM API
- you are unwilling to depend on an unofficial free endpoint that may break or be blocked
- you require guaranteed model availability or billing compliance

## Facets
- artifact type: service
- maturity: active
- function: proxy, api-framework, http-server, llm-inference, middleware
- domain: large-language-models, apis, developer-tools, self-hosted
- platform: self-hosted
- tags: api-gateway, openai-compatible, anthropic-compatible, claude-code, cursor, reverse-proxy, streaming, sse, nodejs, docker, web-server

## Member repositories
- 7836246/cursor2api (main) score 69

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:48.997637+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:13:36.124612+00:00, confidence not recorded.
  - readme: https://github.com/7836246/cursor2api (fetched 2026-08-28T04:05:48.997637+00:00, sha b51143194428)
  - homepage: https://cursor.com/cn/docs (fetched 2026-08-29T10:53:02.739201+00:00, sha e5ef33bf11da)
  - site_page: https://cursor.com/docs (fetched 2026-08-29T10:53:02.749252+00:00, sha 1d118e30b13a)
  - site_page: https://cursor.com/docs/api (fetched 2026-08-29T10:53:02.751827+00:00, sha 4333df8b4c19)
  - site_page: https://cursor.com/cn/docs/get-started/quickstart (fetched 2026-08-29T10:53:02.754890+00:00, sha 0fc6b4a54c62)
  - site_page: https://cursor.com/cn/docs/agent/overview (fetched 2026-08-29T10:53:02.759758+00:00, sha b605e253152e)
  - site_page: https://cursor.com/cn/docs/agent/agents-window (fetched 2026-08-29T10:53:02.762145+00:00, sha e8740afa5edc)
  - site_page: https://cursor.com/cn/docs/agent/agent-review (fetched 2026-08-29T10:53:02.764225+00:00, sha 8726d1fe8c57)
  - site_page: https://cursor.com/cn/docs/agent/plan-mode (fetched 2026-08-29T10:53:02.766296+00:00, sha ae87934247d8)
  - site_page: https://cursor.com/changelog (fetched 2026-08-29T10:53:02.757281+00:00, sha 06a7d8d5dcbe)
- Data as of 2026-08-30T08:39:29.467469+00:00.
