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 mbadali25v0.1.0GPL-2.0-onlyIn 1 marketplace
Angular language server (@angular/language-server, ngserver) for code intelligence in Angular HTML templates - definitions, references, hover and template diagnostics. Registers an LSP server only: no hooks, commands, agents or skills. Maps .html only; .ts stays with typescript-lsp. Needs Node.js and a global '@angular/language-server' install; the plugin does not install either.
Language servers for diagnostics and code navigation.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Angular template intelligence for Claude Code, through the Angular team's own
language server, @angular/language-server
(ngserver). The plugin registers one LSP server and ships one small launcher
script. No hooks, no commands, no agents, no skills.
Anthropic's official marketplace has no Angular entry, which is why this one exists.
/plugin install angular-lsp --marketplace mbadali25/useful-claude-add-ons
or, from a shell:
claude plugin marketplace add mbadali25/useful-claude-add-ons
claude plugin install angular-lsp@useful-claude-add-ons --scope user
The plugin does not install the language server. It needs Node.js and a global install of the server:
npm install -g @angular/language-server
scripts/install-prerequisites.sh / .ps1 do both halves from the LSP
plugins menu row.
Install typescript-lsp (from claude-plugins-official) alongside it. This
plugin covers templates only; see "Why only .html" below.
"lspServers": {
"angular": {
"command": "node",
"args": ["${CLAUDE_PLUGIN_ROOT}/scripts/ngserver-launch.js", "--stdio"],
"extensionToLanguage": { ".html": "html" }
}
}
The block lives in .claude-plugin/plugin.json, not in a separate .lsp.json,
because claude plugin validate checks an inline block and does not read
.lsp.json at all.
ngserver --stdiongserver will not start on --stdio alone. It needs --tsProbeLocations and
--ngProbeLocations, each naming a directory from which typescript and
@angular/language-service can be resolved, and without them it exits before
it reads a single request:
Error: Failed to resolve 'typescript/lib/tsserverlibrary' with minimum version '5.0' from []
Passing . for both only moves the failure: it works inside a project whose
node_modules already holds both packages and dies the same way everywhere
else, including a fresh clone before npm install.
The server package bundles its own copy of both, so the reliable probe location
is the package's own directory. That path is different on every machine
(/usr/local/lib/node_modules/..., %APPDATA%\npm\node_modules\..., an nvm
directory), so it cannot be written into a static config.
scripts/ngserver-launch.js finds it when the server starts:
ANGULAR_LANGUAGE_SERVER_DIR, if you set it. Use this for a non-global
install.ngserver shim on PATH, followed back to the package directory.npm root -g.It then passes two probe locations, in the order the VS Code extension uses:
the project directory first, so a project's own TypeScript and language service
win when they are installed, then the server's bundled copies. ngserver skips
a location whose package is too old and moves to the next.
command is node, not ngserver, so Claude Code starts a real executable on
every platform instead of an npm .cmd shim on Windows. The launcher loads the
server into its own process; there is no child process to leak.
.htmlClaude Code gives each file extension to one LSP server, and typescript-lsp
already owns .ts. Two plugins claiming the same extension is reported as a
conflict and only one of them serves it. So this plugin maps .html and leaves
.ts alone.
The cost: Angular-specific analysis of an inline template (a template:
string inside a component's .ts file) is not available. Those files get
TypeScript intelligence from typescript-lsp and nothing from this server.
Templates in their own .html files are covered in full, and the server reads
the surrounding TypeScript project to type-check them.
The other cost: the server is started for any .html file, Angular or not. In
a project with no Angular it starts, finds no Angular project, and returns
nothing useful. If that bothers you, disable the plugin in that project.
Verified on Linux with @angular/language-server 22.2.2 and Node 22.22.1,
from an empty directory with no node_modules:
ngserver --stdio exits 1 with the error quoted above.ngserver --stdio --tsProbeLocations . --ngProbeLocations . exits 1 the same way.node scripts/ngserver-launch.js --stdio answers an LSP initialize request
over stdio with 15 capabilities and shuts down cleanly, both with ngserver
on PATH and with only npm to find it by.Not verified:
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.
npx claudepluginhub mbadali25/useful-claude-add-ons --plugin angular-lspPlugins from other owners that cover similar ground