Skip to main content
plugin

kotlin-lsp · msapps-mobile — Claude Code plugin: Kotlin intelligence via LSP

Wires kotlin-language-server into Claude so the agent sees Kotlin errors, definitions and references without running a build.

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add anthropics/claude-plugins-community
/plugin install kotlin-lsp@claude-community
Open on GitHub

What kotlin-lsp does

The plugin connects Claude to the Kotlin language server. While you edit, the agent gets diagnostics, go-to-definition, find-references and type information for .kt and .kts files. No build step is involved.

It speaks LSP and starts on its own when files change. There are no credentials, no network calls and no file writes — the plugin only reads and analyses code.

Install the server first: brew install kotlin-language-server, sdk install kls through SDKMAN, or a build from the GitHub releases. Confirm it with kotlin-language-server --version. Skip that step and the plugin has nothing to talk to.

What it helps with

  • catch Kotlin errors before a build runs
  • jump to a function definition from a .kt file
  • list every place a class or method is used
  • check the type of an expression in a .kts script

Example prompts for the agent

  • Show me the diagnostics for Main.kt
  • Find all references to the UserRepository class
  • What type does this variable resolve to in build.gradle.kts?

How to install kotlin-lsp

Plugin marketplace

/plugin marketplace add anthropics/claude-plugins-community
/plugin install kotlin-lsp@claude-community

Step by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own

Questions about kotlin-lsp

How do I install kotlin-lsp in Claude Code?

Add the marketplace first: /plugin marketplace add anthropics/claude-plugins-community, then install the plugin: /plugin install kotlin-lsp@claude-community.

What does kotlin-lsp do?

It connects kotlin-language-server to Claude, giving the agent diagnostics, go-to-definition, find-references and type information for .kt and .kts files.

Do I need anything installed before the plugin?

Yes, the language server itself: brew install kotlin-language-server, sdk install kls via SDKMAN, or a build from the GitHub releases. Check it with kotlin-language-server --version.

Source text

kotlin-lsp · MIT
# kotlin-lsp

Real-time Kotlin code intelligence for Claude via kotlin-language-server.

## What it does

Gives Claude instant diagnostics, go-to-definition, find-references, and type information for `.kt` and `.kts` files — no build step required.

## Setup

1. **Install kotlin-language-server**:
   ```bash
   brew install kotlin-language-server
   ```
   Or via [SDKMAN](https://sdkman.io/) (`sdk install kls`) or [GitHub releases](https://github.com/fwcd/kotlin-language-server/releases).

2. **Verify** it works:
   ```bash
   kotlin-language-server --version
   ```

3. **Install the plugin**:
   ```
   claude plugin install kotlin-lsp@msapps-plugins
   ```

## SOSA Compliance

| Pillar       | Level |
|-------------|-------|
| Supervised  | Fully autonomous — read-only code analysis |
| Orchestrated | LSP protocol, automatic on file changes |
| Secured     | No credentials, no network, no file writes |
| Agents      | R=kotlin-code-intelligence, T=kotlin-language-server |

**Impact:** Low | **SOSA Level:** 1

## License

MIT

© MSApps-Mobile · MIT · MSApps-Mobile/claude-plugins

Similar plugins

All plugins for Programming languages →

kotlin-lsp by other authors comes first.

From the same set8

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor