From ktlsp
Kotlin Language Server (ktlsp) provides code intelligence for Kotlin and Java — diagnostics, go-to-definition, find references, and hover information for .kt, .kts, and .java files.
Ships in ktlsp. Installing the plugin adds it to Claude Code.
This LSP server requires ktlsp 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": {
"ktlsp": {
"command": "ktlsp",
"extensionToLanguage": {
".kt": "kotlin",
".kts": "kotlin",
".java": "java"
}
}
}
}File extensions mapped to language identifiers
Server configuration and transport parameters
ktlspstdioInitialization options and workspace settings
7-day visitors to each server page
npx claudepluginhub pepegar/ktlsp --plugin ktlsp-lsp