Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By bennypowersv0.11.8GPL-3.0In 1 marketplace
Validates custom element HTML and JS in your editor and lets Claude generate correct markup from your component manifests. Its MCP server runs locally, and it needs the cem binary installed via npm or Go.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Custom Elements Manifest tooling for Claude Code, providing both Language Server Protocol (LSP) and Model Context Protocol (MCP) support for custom elements.
/a11y-review: Review custom element HTML for accessibility issues using manifest-documented patterns/docs-health: Audit element manifests for documentation completeness — find missing descriptions, undocumented APIs/design-api: Design a custom element's public API with consistency checks against existing elements/gen-tests: Generate test scaffolding for custom elements based on their manifest API surface/write-docs: Generate element documentation with usage examples, attribute tables, and integration guidance/compose: Suggest which elements to combine for a UI goal, with validated composed HTML/migrate: Compare manifest versions to find breaking changes and generate migration steps/react: Use custom elements in React with version-appropriate patterns (React 18 wrappers vs React 19 native)/vue: Use custom elements in Vue with isCustomElement config, slot syntax, and v-model setup/angular: Use custom elements in Angular with CUSTOM_ELEMENTS_SCHEMA, forms integration, and typing/write-demos: Write demo HTML partials for cem serve with correct metadata, imports, and structure/cem-serve: Set up and configure cem serve for custom element development with live reload and demosChoose your preferred method:
Via npm:
npm install -g @pwrs/cem
Via Go:
go install bennypowers.dev/cem@latest
Verify installation:
cem version
Add this marketplace to Claude Code:
/plugin marketplace add bennypowers/cem
Then install the plugin:
/plugin install cem
The LSP activates automatically for:
.html, .htm).ts, .tsx).js, .mjs, .cjs)Simply open a file with custom elements and start typing!
The MCP server activates automatically when the plugin is installed. Use it by asking questions like:
my-button component"The AI will have direct access to your component manifests and can generate accurate HTML using your design system.
The plugin works out-of-the-box with zero configuration. CEM automatically:
custom-elements.json manifests in your projectnode_modules for component librariesCreate a .config/cem.yaml in your project root for advanced options:
# Exclude patterns
exclude:
- "**/*.spec.ts"
- "dist/**"
# Additional manifest paths
manifests:
- "./custom-manifests/components.json"
Verify CEM is installed and in PATH:
which cem
cem lsp --help
Check Claude Code logs for errors:
/logs
Restart the LSP server:
/lsp restart
Ensure your project has a custom-elements.json manifest:
cem generate
Check that the manifest is valid:
cem validate
Verify component libraries in node_modules have manifests
For large projects, exclude unnecessary files:
# .config/cem.yaml
exclude:
- "node_modules/**"
- "dist/**"
- "**/*.test.ts"
Verify the MCP server is loaded:
/mcp
Check that CEM is installed:
which cem
cem mcp --help
Restart Claude Code to reload the MCP server
7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground