Skip to content
PluginStats

@contentrain/mcp weekly downloads statistics

By contentrain · npm · Claude Code

Local-first MCP server for Contentrain's content governance ecosystem — 23 deterministic tools (5 more for media on a media-capable provider such as Studio), stdio + HTTP transports, Local / GitHub / GitLab providers

View on npm Outdated · Nov 11, 2026

@contentrain/mcp has 461 recorded weekly downloads on npm, a decrease of 82.3% over the past 30 days, ranking #2282 of 3,247 tracked listings.

Weekly downloads
461
Official API · Dec 5, 2026
7-day growth
-31.1%
-208 weekly downloads
30-day growth
-82.3%
-2.1K weekly downloads
90-day growth
-53.6%
-532 weekly downloads
Rank
#2282
▼ 190 in 7 days

About @contentrain/mcp

@contentrain/mcp

npm version GitHub source Docs

Provider-agnostic MCP engine for Contentrain — local-first by default, with optional GitHub and GitLab backends and an HTTP transport for remote drivers such as Studio.

Start here:

Contentrain is a content governance ecosystem for teams and AI agents. In it, this engine works like this:

  • agent produces content decisions
  • MCP applies deterministic filesystem and git workflow
  • humans review and merge
  • the system keeps schema, locale, and serialization consistent

This package is the runtime core behind Contentrain's MCP integration. It can be used as:

  • a stdio MCP server (contentrain-mcp)
  • an embeddable server (createServer(projectRoot))
  • a low-level toolkit for config, models, content, validation, scanning, and git transaction flow

Install

pnpm add @contentrain/mcp

Requirements:

  • Node.js 22+
  • git available on the machine

Optional parser support for higher-quality source scanning:

  • @vue/compiler-sfc
  • @astrojs/compiler
  • svelte

They are listed as optional dependencies. The scanner still works without them, but Vue/Astro/Svelte detection is stronger when they are installed.

What It Does

@contentrain/mcp manages a .contentrain/ directory in your project and exposes MCP tools for:

  • project initialization
  • model creation and deletion
  • content save, delete, and list
  • validation and auto-fix
  • normalize scan and apply flows
  • bulk operations
  • branch submission, review-mode merge, and branch-health awareness
  • project health checking (doctor)

All write operations are designed around git-backed safety:

  • a dedicated contentrain branch serves as the content state single source of truth
  • each write creates a temporary worktree on a feature branch forked from contentrain (branch name: cr/{scope}/{target}/{timestamp}-{suffix}, e.g. cr/content/blog-post/1730000000-a1b2; bulk locale copies, locale-scoped status changes and scaffold add a {locale} segment before the timestamp)
  • auto-merge: feature merges into contentrain, baseBranch advanced via update-ref, .contentrain/ files selectively synced to developer's working tree when the base branch is the one checked out
  • baseBranch = CONTENTRAIN_BRANCH env → repository.default_branch → remote HEAD → main → master → checked-out branch → main (fallback). A write made on a feature branch never merges, moves or pushes that branch
  • plans are read from the working tree but committed on the fetched contentrain tip: JSON changes are carried over key by key, so entries another writer pushed are kept; a same-value conflict writes nothing and returns CONTENT_WORKING_TREE_STALE
  • on a checked-out feature branch, which writes do not update, .contentrain/** is read from the contentrain ref instead (source files still from the working tree); read tools report it as content_source
  • review: feature branch pushed to remote for team review; once merged (or deleted), its remote copy is removed too — best-effort, opt out with remoteBranchCleanup: false in config.json
  • local mode (git.push: false or CONTENTRAIN_NO_PUSH=1): nothing is ever pushed or deleted on the remote, and every result says so — see Git environment and local mode
  • every local write's git block names the resolved base_branch; when it is not the checked-out branch, the result's warning says your working tree was left alone
  • commit hooks: skipped on machine commits by default; git.verify: true or CONTENTRAIN_VERIFY=1 runs them, and a rejecting hook fails the write with its output — see Commit hooks
  • merged-branch detection survives base-history rewrites (ancestry check with a patch-id fallback), so rebases/squashes don't strand stale branches
  • developer's working tree is never mutated during MCP git operations (no stash, no checkout, no merge)
  • context.json never lands on feature branches — it is regenerated on the contentrain branch after merge (locally by the transaction layer; in remote flows by the orchestrator that owns the merge)
  • canonical JSON output — sorted keys, 2-space indent, trailing newline
  • validation + next-step hints surfaced to the caller

Tool Surface

23 MCP tools, plus 5 media tools on a media-capable provider such as Studio, with annotations (readOnlyHint, destructiveHint, idempotentHint, and openWorldHint: false everywhere except contentrain_media_ingest, which fetches a caller-supplied URL server-side) for client safety hints.

Tool listing is capability-aware. tools/list only advertises tools the resolved provider + projectRoot pair can actually satisfy. A local stdio server lists the 23 core tools; a session driven by a remote provider (GitHub/GitLab, no local checkout) lists only the remote-safe subset — status, describe, describe_format, model_save, model_delete, content_save, content_delete, content_list, content_status, vocabulary_save, vocabulary_delete, validate. The requirement map lives in TOOL_REQUIREMENTS (@contentrain/mcp/tools/availability).…

Description from the npm listing.

  • contentrain
  • mcp
  • model-context-protocol
  • ai
  • content-governance
  • git
  • i18n
  • normalize
  • local-first
  • platform-independent
  • claude
  • claude-code
  • codex
  • cursor
  • windsurf

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

@contentrain/mcp weekly downloads on npm, last 90 days: 461 weekly downloads as of Dec 5, 2026, -53.6% over 90 days.@contentrain/mcpWeekly downloads on npm · Last 90 days461downloads / week-53.6% over 90 days01K2K3K4K5K6K7KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@contentrain/mcp weekly downloads on npm, last 90 days: 461 weekly downloads as of Dec 5, 2026, -53.6% over 90 days.

7/30/90-day growth

@contentrain/mcp weekly downloads growth on npm: -31.1% over 7 days, -82.3% over 30 days, -53.6% over 90 days.@contentrain/mcpWeekly downloads growth on npm461downloads / week now7-day growth-208 weekly downloads-31.1%30-day growth-2,140 weekly downloads-82.3%90-day growth-532 weekly downloads-53.6%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@contentrain/mcp weekly downloads growth on npm: -31.1% over 7 days, -82.3% over 30 days, -53.6% over 90 days.

Ranking history

@contentrain/mcp npm ranking history: currently #2282 (by weekly downloads).@contentrain/mcpnpm ranking · by weekly downloads · Last 90 days#2282current rank#500#1000#1500#2000#2500Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 25 observations · Updated Dec 5, 2026pluginstats.com
@contentrain/mcp npm ranking history: currently #2282 (by weekly downloads).

Listing placement

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

Listing placement

Claude Code614 listings · 31 pages · page 26, #8 (overall #508)
Claude Code: 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 @contentrain/mcp
Date (UTC)Weekly downloadsChange vs. previous
461-39
500+8
492-162
654-33
687-155
842-125
967+298
669-26
695-36
731+166
565-12
577-63
640+134
506—

Similar npm Claude Code plugins

All 20 @contentrain/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/@contentrain/mcp. First seen Oct 16, 2026; last successful collection Nov 11, 2026. See the methodology.