cortex-editor weekly downloads statistics
By zerofog · npm · Webpack plugins
Visual editor for Claude Code
cortex-editor has 63 recorded weekly downloads on npm, a decrease of 75.6% over the past 30 days, ranking #2721 of 3,247 tracked listings.
About cortex-editor
cortex-editor
Visual editor for Claude Code
Cortex is a dev-time visual editor for web apps. Select an element in the browser, adjust design tokens visually, see the change immediately, then hand the staged edits to Claude Code, which applies them back to your source files.
What you'll do
Install Cortex into your app, activate it from Claude Code with /cortex, click elements in the browser to edit them, and apply your changes when you're ready. Source files only change when you say so.
Quick start
1. Install
Run from your app's folder (the one with package.json):
npm install -D cortex-editor
npx cortex init
2. Start your app
npm run dev
Leave this terminal running. Note the URL it prints (e.g. http://localhost:5173) and open it in a browser.
3. Open Claude Code
Start Claude Code in the same folder as your app. If it was already open, restart it from this folder so it picks up the new MCP server.
4. Activate
In Claude Code, type /cortex. Reload your browser tab and the Cortex panel appears on the side.
5. Edit + Apply
- Click any element to edit it.
- Adjust spacing, color, typography, etc. in the panel.
- Click Apply (or run
/cortex applyin Claude Code) when you're ready. Claude Code writes the changes to your source files.
Staging, not saving. Your edits live in the browser until you Apply. Reload without applying and they're gone, on purpose. Experiment freely; commit when ready.
Why Cortex?
Designers usually bounce between Figma (where the change is visual) and Claude Code (where the change becomes code). That round-trip loses fidelity at every step.
Cortex puts the editing surface on the live app itself. You adjust spacing, color, and typography directly on real content, with real responsive behavior, then Apply hands the intent to Claude Code. No spec to write, no screenshot to annotate, no translation step.
Supported stacks
- Vite: fully supported.
cortex initauto-configures the plugin. - Webpack 5: supported (HtmlWebpackPlugin or manual snippet).
- Next.js: Next 16 App Router, dev mode. Works on default
next dev(Turbopack) — source attribution for client and server components, editor activation, and staged-edit Apply verified end-to-end for client components. RequireswithCortex()innext.configplus<CortexDevScripts />in the root layout (cortex initsets up both).withCortexreturns Next's phase-function config form, so it must be the outermost wrapper when composing —withCortex(withBundleAnalyzer(cfg)), never the reverse; it accepts object, promise, and phase-function configs. SetCORTEX_BRIDGE=0to suppress the dev bridge (source attribution still applies). Not yet supported: Pages Router, Next 13–15,.js-files-with-JSX / custompageExtensions, Sass modules, strict-CSP inline policies,next dev --experimental-https; server-component edits trigger a full reload rather than a Fast Refresh patch, and post-Apply HMR verification is not Next-aware yet.
Works with React, Vue, or Svelte, styled with Tailwind CSS or CSS Modules.
Requirements
- Node.js 20 or newer.
- Claude Code for the Apply step (code.claude.com).
MCP auto-discovery
cortex init writes a project-scoped Claude Code MCP server to .mcp.json (npx cortex mcp). No separate MCP package to install. After init, restart Claude Code or run /mcp and approve the cortex server.
No embedded API keys
AI-assisted edits route through your existing Claude Code session over MCP. Cortex does not embed, require, or transmit any API keys of its own.
Full documentation
The step-by-step setup walkthrough, Webpack/Next specifics, annotation persistence, and troubleshooting live in the project repository:
https://github.com/zerofog/cortex#getting-started
License
MIT. See LICENSE.
Description from the npm listing.
- visual-editor
- design-tokens
- vite-plugin
- webpack-plugin
- nextjs
- css
- tailwindcss
- claude-code
- mcp
- devtools
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
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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)Similar npm Webpack plugins plugins
All 20 cortex-editor alternativesData 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/cortex-editor. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.