Skip to content
PluginStats

cursor-opencode-provider weekly downloads statistics

By oakimov · npm · AI SDKs

Use Cursor subscription models from OpenCode via Cursor's Connect-RPC agent protocol

View on npm Outdated · Nov 18, 2026

cursor-opencode-provider has 582 recorded weekly downloads on npm, an increase of 26.5% over the past 30 days, ranking #2220 of 3,247 tracked listings.

Weekly downloads
582
Official API · Dec 5, 2026
7-day growth
+102%
+294 weekly downloads
30-day growth
+26.5%
+122 weekly downloads
90-day growth
+104%
+297 weekly downloads
Rank
#2220
▲ 67 in 7 days

About cursor-opencode-provider

cursor-opencode-provider

Use Cursor subscription models from OpenCode and compatible coding agents by speaking Cursor's Connect-RPC agent protocol.

This project is a custom AI SDK provider (LanguageModelV3) plus an OpenCode plugin that handles authentication and model discovery. Instead of calling a generic chat-completions API, it encodes and decodes Cursor's protobuf agent protocol over HTTP/2 to Cursor's agent backend.

Runs unchanged across OpenCode, OpenCode 2.x, and five additional coding agents. OpenCode loads this plugin natively, including through the dedicated OpenCode 2.x entrypoint. OCP — OpenCode Plugin Compatibility runs the same published plugin, without a provider fork, in Kilo Code, MiMo Code, pi, oh-my-pi, and DeepSeek Harness. See Coding-agent compatibility.

Status: Usable end-to-end for authentication, model discovery, streaming, and tools. See Known limitations.

Coding-agent compatibility

This package remains one OpenCode plugin and AI SDK provider. The external OCP compatibility layer adapts other hosts around that unchanged package: it translates their plugin surfaces, model catalogs, tool vocabulary, authentication, and streaming events instead of requiring a host-specific Cursor provider.

Coding agentHow this package runs
OpenCodeNative plugin and AI SDK provider — OpenCode 1.x setup
OpenCode 2.xNative cursor-opencode-provider/plugin/opencode2 — OpenCode 2.x setup
Kilo CodeUnchanged through OCP's OpenCode-clone compatibility layer
MiMo CodeUnchanged through OCP's OpenCode-clone compatibility layer
piUnchanged through @opencode-compat/pi-bridge and pi's provider extension API
oh-my-pi (omp)Unchanged through the same Pi-family bridge
DeepSeek Harness (dsh)Unchanged through @opencode-compat/dsh-bridge and DSH's Cordis LlmAdapter API

Start with OCP's host guides:

OCP is designed to grow by adding host profiles and narrow adapters or bridges, so support for other coding agents can be added there while this provider and its package remain unchanged.

Demo

OpenCode driving a Cursor-routed Grok model through this provider:

OpenCode running a Grok model via cursor-opencode-provider

Features

  • Multi-host compatibility — the same plugin package runs natively in OpenCode and OpenCode 2.x, and unchanged through OCP in Kilo Code, MiMo Code, pi, oh-my-pi, and DeepSeek Harness; new host support belongs in the compatibility layer rather than a provider fork
  • OpenCode integration — registers a cursor provider with auth hooks and cached model list
  • Authentication — browser OAuth (PKCE), or API key from cursor.com/settings
  • Model discovery — fetches available models from Cursor's API and caches them locally
  • Image input — advertises vision only for supported models and forwards OpenCode image attachments to Cursor
  • Streaming — bidirectional Connect-RPC Runs with stale-session rotation, health checks, semantic/read-idle deadlines, bounded replay-safe recovery, and activity-aware held tool continuations
  • Tool calls — maps Cursor exec-server messages to AI SDK / OpenCode tool-call parts using only the advertised canonical catalog. Exact advertised subagent names win; standard Cursor roles select compatible OpenCode agents, and native Task maps to OpenCode 1.x task or OpenCode 2.x subagent. OCP translates any alternate host vocabulary before it reaches this package. The bridge also covers Cursor's typed read/bash/edit/write/grep/find/ls request/result range, mirrors finalized display-only todo/plan state, and strips OpenCode 1.x and OpenCode 2.x read envelopes before returning content to Cursor.
  • Thinking / reasoning — surfaces extended-thinking deltas where the model supports it

OpenCode 2.1.4 waits for cold-cache model discovery and publication during plugin activation, with a 10-second readiness budget. Warm-cache startup uses the saved inventory. Discovery failures leave authentication and later retries available; see model startup and diagnostics.

Requirements

  • Bun (for development and tests)
  • OpenCode, or a supported host configured through OCP
  • An active Cursor account with API access

Installation

This package is one plugin with host-specific entrypoints. Use the guide for your OpenCode major version:

HostGuide
OpenCode 1.xdocs/opencode-1.md — classic plugin plus optional 1.18 plugin/v2
OpenCode 2.xdocs/opencode-2.md — plugin/opencode2 only, including safe transition off ctx.catalog and the deprecated opencode.json catalog dump
Other agentsCoding-agent compatibility

Do not load the 1.x and 2.x entrypoints in the same host.

OpenCode 1.x (~/.config/opencode/opencode.json):

{
  "$schema": "https://opencode.ai/config.json",
  "plugin": ["cursor-opencode-provider"]
}
```…

Description from the npm listing.

  • opencode
  • opencode-plugin
  • cursor
  • ai-sdk
  • provider
  • plugin

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

cursor-opencode-provider weekly downloads on npm, last 90 days: 582 weekly downloads as of Dec 5, 2026, +104% over 90 days.cursor-opencode-providerWeekly downloads on npm · Last 90 days582downloads / week+104% over 90 days02004006008001K1.2K1.4KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
cursor-opencode-provider weekly downloads on npm, last 90 days: 582 weekly downloads as of Dec 5, 2026, +104% over 90 days.

7/30/90-day growth

cursor-opencode-provider weekly downloads growth on npm: +102% over 7 days, +26.5% over 30 days, +104% over 90 days.cursor-opencode-providerWeekly downloads growth on npm582downloads / week now7-day growth+294 weekly downloads+102%30-day growth+122 weekly downloads+26.5%90-day growth+297 weekly downloads+104%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
cursor-opencode-provider weekly downloads growth on npm: +102% over 7 days, +26.5% over 30 days, +104% over 90 days.

Ranking history

cursor-opencode-provider npm ranking history: currently #2220 (by weekly downloads).cursor-opencode-providernpm ranking · by weekly downloads · Last 90 days#2220current rank#1400#1600#1800#2000#2200#2400Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 28 observations · Updated Dec 5, 2026pluginstats.com
cursor-opencode-provider npm ranking history: currently #2220 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 111, #20 (overall #2,220)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs378 listings · 19 pages · page 13, #15 (overall #255)
AI SDKs: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (170)
Recent weekly downloads observations for cursor-opencode-provider
Date (UTC)Weekly downloadsChange vs. previous
582-22
604+20
584+123
461+14
447-43
490+69
421+133
288-19
307-8
315+1
314-17
331+19
312-28
340—

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/cursor-opencode-provider. First seen Oct 16, 2026; last successful collection Nov 18, 2026. See the methodology.