Plugin Official

Swift LSP (SourceKit-LSP)

Swift (SourceKit-LSP) language server for Claude Code: code intelligence and diagnostics for .swift files.

Author
Anthropic
Works with
Claude Code
License
Apache-2.0
Documented
Oct 2, 2026

What Swift LSP (SourceKit-LSP) is

swift-lsp connects the Swift (SourceKit-LSP) language server to Claude Code, giving it code intelligence and diagnostics for swift files. The plugin only wires up the server; the server binary must be installed separately.

What it does

How Swift LSP (SourceKit-LSP) plugs in: which agents run it and what it addsRUNS INYour agentClaude Codeone host documentedPLUGIN · OFFICIALSwift LSP (SourceKit-LSP)Bundles of skills, commands, hook…5 install steps1 permission notelicense: Apache-2.0WHAT IT ADDSWhat it doesRegisters the sourcekit-lsp langu…Maps file extensions to the langu…Gives Claude Code code intelligen…agent → extension → new capability · from the official repository or docs
Where Swift LSP (SourceKit-LSP) runs and what it adds, from its documentation
  • Registers the sourcekit-lsp language server (command: sourcekit-lsp) via the marketplace lspServers entry
  • Maps file extensions to the language: .swift
  • Gives Claude Code code intelligence and diagnostics for Swift (SourceKit-LSP) projects

When to use it

Good fit

  • Working in a Swift (SourceKit-LSP) codebase where Claude Code should use real language-server analysis
  • Wanting diagnostics and navigation from sourcekit-lsp without leaving Claude Code

Not for

  • Projects in other languages (it only maps the extensions listed)
  • Setups where you cannot install the sourcekit-lsp binary on PATH

How to install Swift LSP (SourceKit-LSP)

You need: Claude Code; sourcekit-lsp binary on PATH; Swift toolchain (includes SourceKit-LSP)

  1. Install the language server binary first (the plugin does not bundle it):
  2. macOS: install Xcode from the App Store, or brew install swift
  3. Linux: download and install Swift from swift.org
  4. Confirm sourcekit-lsp is available in your PATH
  5. Install the plugin: /plugin install swift-lsp@claude-plugins-official

Permissions and security

What it can access

  • Launches the sourcekit-lsp process locally and reads the project files it analyzes

Security notes from the maintainers

  • Marketplace README: make sure you trust a plugin before installing, updating, or using it

Review the source before granting an agent access to credentials or production systems. We document what the maintainers state; we do not audit code.

Limitations

  • Requires the language server to be installed separately; the plugin does not install it

Tools it extends

Frequently asked questions

How do I install the swift-lsp plugin for Claude Code?

Install the language server first, then run /plugin install swift-lsp@claude-plugins-official. source

Which file extensions does the swift-lsp plugin support?

.swift. source

Does the swift-lsp plugin install sourcekit-lsp for me?

No. The README lists install commands for the server itself; the plugin only registers it with Claude Code. source

Related guides

Sources and gaps

Not stated by the maintainers: last_release not visible.

More extensions to look at