BeClaude

lua-lsp

30.2kOfficial PluginDevelopmentby Anthropic

Lua language server for code intelligence

Python3272 forks747 issuesUpdated 6/16/2026First seen 4/17/2026

Summary

The Lua LSP skill integrates the Lua language server into Claude Code, providing real-time code intelligence such as autocompletion, diagnostics, and go-to-definition for Lua projects.

  • It helps developers write Lua code faster and with fewer errors by surfacing context-aware suggestions and detecting issues as they type.

Install & Usage

1
Add a marketplace
/plugin marketplace add <org/repo>
2
Install the plugin

Add the configuration to /plugin install lua-lsp@<marketplace>

3
Manage with /plugin
/plugin

Use Cases

Get autocompletion suggestions for Lua standard library functions and variables while editing a .lua file.
Diagnose syntax errors or type mismatches in a Lua script and see inline error messages.
Navigate to the definition of a function or variable across multiple Lua files in a project.
Hover over a Lua function to see its documentation and parameter signatures.
Rename a symbol across all Lua files in the project with automatic refactoring.
Identify unused variables or unreachable code in a Lua codebase to improve code quality.

Usage Examples

1

/lua-lsp check my_script.lua

2

Enable Lua LSP for the current project and show diagnostics for all open Lua files.

3

Find all references to the function 'calculateScore' in the Lua project.

View source on GitHub
lspclaude-codemcpskills

Security Audits

LicenseUnknownSourcePassRepositoryPass

Frequently Asked Questions

What is lua-lsp?

The Lua LSP skill integrates the Lua language server into Claude Code, providing real-time code intelligence such as autocompletion, diagnostics, and go-to-definition for Lua projects. It helps developers write Lua code faster and with fewer errors by surfacing context-aware suggestions and detecting issues as they type.

How to install lua-lsp?

To install lua-lsp: add a marketplace (/plugin marketplace add <org/repo>), then add the config to /plugin install lua-lsp@<marketplace>. Finally, /plugin in Claude Code.

What is lua-lsp best for?

lua-lsp is a plugin categorized under Development. It is designed for: lsp. Created by Anthropic.

What can I use lua-lsp for?

lua-lsp is useful for: Get autocompletion suggestions for Lua standard library functions and variables while editing a .lua file.; Diagnose syntax errors or type mismatches in a Lua script and see inline error messages.; Navigate to the definition of a function or variable across multiple Lua files in a project.; Hover over a Lua function to see its documentation and parameter signatures.; Rename a symbol across all Lua files in the project with automatic refactoring.; Identify unused variables or unreachable code in a Lua codebase to improve code quality..