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 Fresh · Oct 17, 2026

cursor-opencode-provider has 165 recorded weekly downloads on npm, a decrease of 48.6% over the past 30 days.

It ranks #1619 of 2,251 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by -89.8%.

PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.

Weekly downloads
165
Official API · Oct 17, 2026
7-day growth
-75.4%
-505 weekly downloads
30-day growth
-48.6%
-156 weekly downloads
90-day growth
-89.8%
-1.5K weekly downloads
Rank
#1619
Among tracked npm listings

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.0, and five additional coding agents. OpenCode loads this plugin natively, including through the dedicated OpenCode 2.0 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 agent | How this package runs |

| OpenCode | Native plugin and AI SDK provider — OpenCode 1.x setup | | OpenCode 2.0 | Native cursor-opencode-provider/plugin/opencode2 — OpenCode 2.0 setup | | Kilo Code | Unchanged through OCP's OpenCode-clone compatibility layer | | MiMo Code | Unchanged through OCP's OpenCode-clone compatibility layer | | pi | Unchanged 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:

• OpenCode clones: Kilo Code and MiMo Code • Pi family: pi and oh-my-pi • DSH family: DeepSeek Harness

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:

Features

• Multi-host compatibility — the same plugin package runs natively in OpenCode and OpenCode 2.0, 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.0 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 read envelopes before returning content to Cursor. • Thinking / reasoning — surfaces extended-thinking deltas where the model supports it

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:

| Host | Guide |

| OpenCode 1.x | docs/opencode-1.md — classic plugin plus optional 1.18 plugin/v2 | | OpenCode 2.0 | docs/opencode-2.md — plugin/opencode2 only, including safe transition off ctx.catalog and the deprecated opencode.json catalog dump | | Other agents | Coding-agent compatibility |

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

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

OpenCode 2.0 (prefer a dedicated OPENCODE_CONFIG_DIR):

Local clones, 1.18 plugin/v2, config isolation, and leftover providers.cursor cleanup are in the host guides. Shared catalog behavior (variants, 1M, Fast, images, Max Mode) is under Select a model.

You can also install from npm (npm install cursor-opencode-provider or bun add cursor-opencode-provider). Pin a version in host config if you want, for example cursor-opencode-provider@0.4.1.

OpenCode setup

Host config, auth commands, and local-clone wiring differ by major version — follow OpenCode 1.x or OpenCode 2.0.

Authenticate

| Host | How |

| OpenCode 1.x | opencode auth login → cursor (details) | | OpenCode 2.0 | /connect → Cursor (details). CURSOR_API_KEY is also picked up automatically. |

Then choose a method:

| Method | Description |

| Cursor account (browser login) | PKCE OAuth — opens cursor.com to sign in | | API key | Paste a key from cursor.com/settings (crsr_...) |…

Description from the npm listing.

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

Where cursor-opencode-provider sits in the listing

Each band is one page of 20. Weekly downloads on a log 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.

All npm2,248 listings · 113 pages · page 81, #20 (overall #1620)
All npm: every listing in weekly downloads order
PNG SVG
AI SDKs249 listings · 13 pages · page 11, #8 (overall #208)
AI SDKs: every listing in weekly downloads order
PNG SVG

Charts

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

Adoption over time

cursor-opencode-provider weekly downloads on npm, last 90 days: 165 weekly downloads as of Oct 17, 2026, -89.8% over 90 days.cursor-opencode-providerWeekly downloads on npm · Last 90 days165downloads / week-89.8% over 90 days02004006008001K1.2K1.4K1.6K1.8KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
cursor-opencode-provider weekly downloads on npm, last 90 days: 165 weekly downloads as of Oct 17, 2026, -89.8% over 90 days.
PNG SVG

7/30/90-day growth

cursor-opencode-provider weekly downloads growth on npm: -75.4% over 7 days, -48.6% over 30 days, -89.8% over 90 days.cursor-opencode-providerWeekly downloads growth on npm165downloads / week now7-day growth-505 weekly downloads-75.4%30-day growth-156 weekly downloads-48.6%90-day growth-1,452 weekly downloads-89.8%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
cursor-opencode-provider weekly downloads growth on npm: -75.4% over 7 days, -48.6% over 30 days, -89.8% over 90 days.
PNG SVG

Ranking history

cursor-opencode-provider npm ranking history: currently #1619 (by weekly downloads).cursor-opencode-providernpm ranking · by weekly downloads · Last 90 days#1619current rank#1617#1618#1619#1620#1621Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
cursor-opencode-provider npm ranking history: currently #1619 (by weekly downloads).
PNG SVG

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.

Recent observations

Full history (121)
Recent weekly downloads observations for cursor-opencode-provider
Date (UTC)Weekly downloadsChange vs. previous
165-83
248-37
285-218
503-49
5520
552-40
592-78
670-131
801+4
797+10
787-116
903-287
1,190+14
1,176—

Similar npm AI SDKs plugins

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 Oct 18, 2026. See the methodology.