Skip to main content
plugin official · Anthropic

kotlin-lsp — Claude Code plugin: what it does, how to install

Integrates the Kotlin language server with Claude Code. Provides code intelligence and refactoring for .kt and .kts files.

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

What kotlin-lsp does

The plugin brings Kotlin language server capabilities directly into Claude Code. It handles code analysis and refactoring across your project. Supported file formats include regular .kt sources and .kts script files.

A separate CLI tool is required. Before using the plugin, install the language server binary via brew install JetBrains/utils/kotlin-lsp. Without this executable, Claude Code cannot start the language server.

What it helps with

  • inspect code structure in .kt and .kts files
  • refactor Kotlin source code inside Claude Code
  • run code intelligence and analysis for Kotlin projects

Example prompts for the agent

  • Inspect code structure and errors in Main.kt.
  • Refactor the helper function in build.gradle.kts using the language server.

How to install kotlin-lsp

Plugin marketplace

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

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

Questions about kotlin-lsp

How to install kotlin-lsp in Claude Code?

First add the marketplace using /plugin marketplace add anthropics/claude-plugins-official, then run /plugin install kotlin-lsp@claude-plugins-official. Also install the CLI tool using brew install JetBrains/utils/kotlin-lsp.

Which file extensions does kotlin-lsp support?

The plugin supports .kt and .kts files for code intelligence and refactoring.

What dependencies does kotlin-lsp require?

It depends on the Kotlin LSP CLI binary. Install it via Homebrew using brew install JetBrains/utils/kotlin-lsp.

Source text

kotlin-lsp · Apache-2.0
Kotlin language server for Claude Code, providing code intelligence, refactoring, and analysis.

## Supported Extensions
`.kt`
`.kts`

## Installation

Install the Kotlin LSP CLI.

```bash
brew install JetBrains/utils/kotlin-lsp
```

## More Information
- [kotlin LSP](https://github.com/Kotlin/kotlin-lsp)

© Anthropic · Apache-2.0 · anthropics/claude-plugins-official

Similar plugins

All plugins for Programming languages →

From the same set123

The whole set →

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