Lua LSP Claude Plugin
Back to directory
Lua LSP logo

Lua LSP

MCP Servers 13,730 installs Apr 22, 2026

Lua LSP integrates the Lua Language Server into Claude Code so your editor reads project files and provides language-aware tooling for Lua 5.1–5.5 and LuaJIT. It opens workspace folders, indexes source and library paths, and watches for file changes to keep symbols and diagnostics current. The server returns completions, hover documentation, signature help, and parameter hints while you type.

The extension also runs diagnostics and type checks, reports undefined globals, unused locals, and likely runtime errors before you run code. It handles go-to-definition, find-references, workspace symbols, rename refactors, code actions, and formatting. You can map runtime paths, set workspace globals, and tune diagnostic severity to match frameworks like LÖVE or embedded Lua builds.

Use it when editing game scripts or embedded device code: you stay in Claude Code to jump to function definitions, rename across files, and fix diagnostics without switching to another editor or running the app to discover a misspelled global. That saves time during large refactors and speeds up finding where an API is actually defined.

Install

/plugin install lua-lsp@claude-plugins-official

Tags

lua
lsp
completions
diagnostics
luajit