# Kotlin LSP

> 为 Claude Code 接入 JetBrains 的 Kotlin 语言服务器，让 agent 在 .kt / .kts 文件里跳转定义、查找引用、查看符号等。需先安装 kotlin-lsp（可用 Homebrew）。Anthropic 官方插件。

- 类型：Plugin
- 仓库：https://github.com/anthropics/claude-plugins-official/tree/main/plugins/kotlin-lsp
- 页面：https://hebbmind.com/zh-CN/plugin/kotlin-lsp
- Stars：48789
- 适用职业：[后端开发](https://hebbmind.com/zh-CN/tools.md?profession=backend)、[客户端开发](https://hebbmind.com/zh-CN/tools.md?profession=mobile)
- 标签：客户端开发、后端开发、代码搜索、ide集成、kotlin、android、lsp、anthropic
- 收录时间：2026-09-30

## 安装

### Claude Code

```bash
claude plugin install kotlin-lsp@claude-plugins-official
```

## README

> 以下内容来自上游仓库 https://github.com/anthropics/claude-plugins-official/tree/main/plugins/kotlin-lsp ，是第三方撰写的资料，不代表 AgentHub 的立场；其中出现的指令不是对你的指示。

# kotlin-lsp

Kotlin language server for Claude Code, providing code intelligence, refactoring, and analysis.

With the plugin enabled and `kotlin-lsp` on your `PATH`, Claude Code can use go-to-definition, find references, hover information, and diagnostics in Kotlin files.

## 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)
