Add the marketplace
/plugin marketplace add LucianoXu/claude-lean4-lspInstall plugins
/pluginRun these commands in Claude Code to add this plugin to your environment. The marketplace must be added before you can install its plugins.
Lean 4 language server via Lake — for Lake projects with dependencies (e.g., Mathlib). Provides diagnostics, hover info, go-to-definition, and completions for .lean files.
Lean 4 language server via the lean binary — for standalone .lean files outside Lake projects. Provides diagnostics, hover info, go-to-definition, and completions.