swift-lsp

PackAI & models

swift lsp plugin is a plugin that connects an AI agent to SourceKit-LSP, the Swift language server. It gives the agent code intelligence for Swift projects, so answers and edits are based on real completions, definitions, and diagnostics rather than guesses.

Unavailable. A Claude Code plugin. It installs in Claude Code, and ahel does not serve packs through its connector yet.

In Claude Code, run:

/plugin install swift-lsp@claude-plugins-official

It installs from Anthropic's official plugin marketplace.

What your AI can do with it

  • Provides Swift code completions through SourceKit-LSP
  • Supports go-to-definition for Swift symbols
  • Surfaces Swift diagnostics such as errors and warnings
  • Runs as a plugin that adds Swift language server support to an agent

Getting started

  1. Have a Swift project and a working Swift toolchain with SourceKit-LSP available.
  2. Add the swift-lsp plugin to your agent's configuration.
  3. Open or point the agent at your Swift code and ask it to use the language server features.

Signals

GitHub stars
37k
Forks
4k
Last commit
Sep 2026

Questions

What is the swift lsp plugin?
It is a plugin that gives an AI agent Swift code intelligence by connecting it to SourceKit-LSP, the Swift language server.
What can the agent do with it?
The agent can get Swift completions, go-to-definition, and diagnostics from SourceKit-LSP.
Do I need anything installed before using it?
You need a Swift setup with SourceKit-LSP available, since the plugin relies on that language server for its features.
Advanced
Item type
plugin
Key
swift-lsp
Source
github.com/anthropics/claude-plugins-official