npx claudepluginhub devseunggwan/claude-lsp-pluginsTypeScript language server with a bounded tsserver heap
A local Claude Code plugin marketplace with a single plugin,
typescript-lsp-tuned: the official typescript-lsp with a bounded tsserver
heap.
Without a bound, tsserver grows to Node's default heap limit — 4192 MB on the machine this was built for — and a language server lives until its Claude session ends, so the worst case is multiplied by the number of concurrent sessions. Two long-running tsserver processes had reached 2211 MB and 1520 MB when this was written.
Python is left on the official pyright-lsp: a long-lived pyright measured
409 MB, an order of magnitude below tsserver, so a cap there was not worth the
maintenance.
Claude Code takes lspServers only from a plugin manifest; there is no
settings.json equivalent, and a plugin's manifest cannot be overridden
locally. NODE_OPTIONS=--max-old-space-size=... does propagate to tsserver
(it is a child of typescript-language-server), but only for sessions started
from a shell — a session launched by the desktop app reads no shell profile —
and setting it globally would cap every Node process on the machine, builds
included.
Neither the 12 official LSP plugins nor the 38 in the largest community marketplace set any memory option, so a fork was the only way to bound it.
Even with the cache copy under ~/.claude/plugins/cache/, Claude Code re-reads
the path recorded in known_marketplaces.json at startup. Move or delete this
directory and .ts LSP disappears with no warning.
| What the LSP tool returns | Cause |
|---|---|
No LSP server available for file type: .ts | this directory is gone, or the plugin is disabled |
No symbols found in document. | maxTsServerMemory is too small for that repo |
Neither is an exception; both are ordinary return values, so the caller reads
them as "this file has no symbols". A control run at maxTsServerMemory: 48
returned empty for four calls on files holding 955 lines and 32 references.
Edit the value in plugins/typescript-lsp-tuned/.claude-plugin/plugin.json,
and raise the version in both that file and
.claude-plugin/marketplace.json. Then:
claude plugin marketplace update claude-lsp-plugins
claude plugin update typescript-lsp-tuned
Without a version bump the CLI reports already at the latest version and the
cache copy keeps the old value. The change applies from the next session start.
The failures above are silent, so this repo is paired with a claude-lsp-check
script that verifies: source matches the installed copy, the cap is present,
command / args / extensionToLanguage have not drifted from the official
plugin, the official typescript-lsp is not enabled alongside this one, and
the working tree is clean.
7-day visitors to each marketplace page
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.