From scala-lsp
Metals LSP server for Scala and SBT — diagnostics, go-to-definition, find references, hover info, symbols, call hierarchy for .scala, .sbt, .sc files.
Ships in scala-lsp. Installing the plugin adds it to Claude Code.
This LSP server requires metals to be installed on your system. Make sure it's available in your PATH before enabling.
Copy this JSON into your .lsp.json to enable this server
Add to your .lsp.json or plugin.json:
{
"lspServers": {
"scala": {
"command": "metals",
"extensionToLanguage": {
".sc": "scala",
".sbt": "sbt",
".scala": "scala"
}
}
}
}File extensions mapped to language identifiers
Server configuration and transport parameters
metalsstdioInitialization options and workspace settings
Initialization Options:
{}Settings:
{}7-day visitors to each server page
scala-lsp@zircote-lsp is listed by zircote/lsp-marketplace — review the source before installing
npx claudepluginhub zircote/lsp-marketplace --plugin scala-lsp