Skip to content
PluginStats

opencode-mcp weekly downloads statistics

By AlaeddineMessadi · npm · MCP servers

MCP server for OpenCode coding workflows, durable async jobs, project resources, and explicit user input

View on npm Fresh · Dec 6, 2026

opencode-mcp has 18,878 recorded weekly downloads on npm, a decrease of 26.9% over the past 30 days, ranking #1051 of 3,247 tracked listings.

Weekly downloads
18,878
Official API · Dec 5, 2026
7-day growth
-14.6%
-3.2K weekly downloads
30-day growth
-26.9%
-6.9K weekly downloads
90-day growth
-6.9%
-1.4K weekly downloads
Rank
#1051
▼ 60 in 7 days

About opencode-mcp

opencode-mcp

npm version license node

Delegate coding work to OpenCode from your MCP client.

opencode-mcp connects Claude, Cursor, VS Code, and other MCP clients to OpenCode's headless API. Ask questions, implement features, monitor background work, respond to questions and permissions, and review changes across projects.

Version 3.x requires Node.js 22 or newer and works with OpenCode 1.x (tested with 1.18.31 and 1.19.3). Support for OpenCode 2.x is planned for 4.0. Upgrading from 2.x? See the migration notes.

Quick Start

Install OpenCode and start its server from your project:

opencode serve --hostname 127.0.0.1 --port 4096

If you use the TUI, start it with opencode --port 4096 and share that server. Set OPENCODE_BASE_URL for another endpoint.

For Claude Code:

claude mcp add opencode -- npx -y opencode-mcp

For clients using an mcpServers configuration:

{
  "mcpServers": {
    "opencode": {
      "command": "npx",
      "args": ["-y", "opencode-mcp"]
    }
  }
}

Restart the client and call opencode_setup. Choose a provider from its configured providers, then use opencode_provider_models to select a model. Set OPENCODE_DEFAULT_PROVIDER and OPENCODE_DEFAULT_MODEL together or pass the selected IDs in each prompt call.

Client-specific configuration includes VS Code, Windsurf, Continue, Zed, and Amazon Q. To test unreleased changes, build from source and configure your client to run node with the absolute path to dist/index.js.

Choose a Workflow

NeedTools
Setup and orientationopencode_setup, opencode_context, opencode_provider_models
Quick question or follow-upopencode_ask, opencode_reply
Start work and waitopencode_run
Work in the backgroundopencode_fire, then opencode_check or opencode_wait
Recover or control a recorded jobopencode_job_list, opencode_job_get, opencode_job_cancel
Resolve required inputopencode_job_input, permission and question tools
Review the resultopencode_review_changes, opencode_conversation
opencode_fire({
  directory: "/absolute/path/to/project",
  prompt: "Add input validation to POST /api/users and run the relevant tests",
  providerID: "<configured-provider>",
  modelID: "<available-model>"
})
// Save the returned job and session IDs; use them to monitor or resume observation.

Async results distinguish accepted, running, input_required, completed, failed, cancelled, and unknown. An observation timeout returns current progress; it does not mean the task failed or was cancelled. Follow the returned state and IDs instead of assuming an absent busy status means success.

Modern clients can use the MCP Tasks extension for opencode_run. Clients without that extension use ordinary tools, including opencode_fire and opencode_check. Task status is retrieved by polling; this package does not promise to wake an idle assistant with completion notifications.

Tools retain readable text and provide structured results for clients that consume them. Prompt tools accept optional model variants and OpenCode structured-output formats. See the generated tools reference and examples.

Multi-Project Use

Project-scoped tools accept directory: an absolute path on the OpenCode server. POSIX, Windows drive, and UNC paths are preserved across client operating systems. Relative paths are rejected; OpenCode checks existence and access.

opencode_project_init({path: "/absolute/local/project"}) creates or opens a directory on the MCP host. For remote OpenCode servers, create the project on that server instead. Authentication tools are global. Resources offer both static reads of the default project and explicit project/session templates.

Independent sessions do not isolate filesystem changes. Use separate project directories or Git worktrees when running overlapping coding tasks in parallel.

Configuration

All settings are optional; an OpenCode server must already be running by default.

VariablePurpose
OPENCODE_BASE_URLServer endpoint; defaults to http://127.0.0.1:4096
OPENCODE_SERVER_USERNAME, OPENCODE_SERVER_PASSWORDOptional server HTTP authentication
OPENCODE_SERVER_TOKENOptional bearer token, e.g. an OpenChamber client token
OPENCODE_OPENCHAMBER_PASSWORD, OPENCODE_OPENCHAMBER_URLSign in to an OpenChamber-fronted server
OPENCODE_OPENCHAMBER_CLIENT_IDOverrides the per-process OpenChamber client identifier; see configuration
OPENCODE_AUTO_SERVESet to true to opt in to launching a local server
OPENCODE_DEFAULT_PROVIDER, OPENCODE_DEFAULT_MODELDefault prompt provider/model pair
OPENCODE_TOOL_PROFILEfull (default) or a smaller essential tool set
OPENCODE_TASK_STOREOverride the local directory for persisted job records

See configuration for storage, permissions, and client setup. Auto-start only supports local loopback HTTP endpoints; custom OpenCode CLI flags require a manually started server.

Development and Verification

npm ci
npm test
npm run test:coverage

Tests use local fixtures and do not require a model subscription. For controlled live checks against a local OpenCode server:

npm run build
node scripts/mcp-smoke-test.mjs
```…

Description from the npm listing.

  • mcp
  • model-context-protocol
  • opencode
  • ai
  • llm
  • claude
  • cursor
  • windsurf
  • coding-assistant
  • headless
  • server
  • tools

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

opencode-mcp weekly downloads on npm, last 90 days: 18,878 weekly downloads as of Dec 5, 2026, -6.9% over 90 days.opencode-mcpWeekly downloads on npm · Last 90 days18,878downloads / week-6.9% over 90 days8K10K12K14K16K18K20K22K24K26K28KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
opencode-mcp weekly downloads on npm, last 90 days: 18,878 weekly downloads as of Dec 5, 2026, -6.9% over 90 days.

7/30/90-day growth

opencode-mcp weekly downloads growth on npm: -14.6% over 7 days, -26.9% over 30 days, -6.9% over 90 days.opencode-mcpWeekly downloads growth on npm18,878downloads / week now7-day growth-3,231 weekly downloads-14.6%30-day growth-6,948 weekly downloads-26.9%90-day growth-1,400 weekly downloads-6.9%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
opencode-mcp weekly downloads growth on npm: -14.6% over 7 days, -26.9% over 30 days, -6.9% over 90 days.

Ranking history

opencode-mcp npm ranking history: currently #1051 (by weekly downloads).opencode-mcpnpm ranking · by weekly downloads · Last 90 days#1051current rank#200#400#600#800#1000#1200Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
opencode-mcp npm ranking history: currently #1051 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 53, #11 (overall #1,051)
All npm: every listing in weekly downloads order

Listing placement

MCP servers468 listings · 24 pages · page 10, #15 (overall #195)
MCP servers: 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 (592)
Recent weekly downloads observations for opencode-mcp
Date (UTC)Weekly downloadsChange vs. previous
18,878-3K
21,842+155
21,687+95
21,592+228
21,364-115
21,479-187
21,666-443
22,109-530
22,639-70
22,709-13
22,722-118
22,840-5
22,845+112
22,733—

Similar npm MCP servers plugins

All 20 opencode-mcp alternatives

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/opencode-mcp. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.