Language: 日本語English

swift-lsp Plugin

Author
Anthropic
Category
Development
Topics
Code Search & Code Intelligence
Version
1.0.0
First seen
2026-07-09
Last confirmed
2026-07-13
Explanation last updated
2026-07-12

The explanation below is AI-generated. Please verify it against the sources.

swift-lsp is a Claude Code plugin that integrates SourceKit-LSP, the Swift language server, to provide code intelligence for Swift projects. It supports files with the .swift extension. According to the README, SourceKit-LSP ships with the Swift toolchain, so it is installed via Xcode (macOS) or by installing Swift directly. On Linux, Swift can be downloaded from swift.org, after which sourcekit-lsp becomes available in PATH.

Overview

swift-lsp is a plugin for Claude Code that connects to SourceKit-LSP, Apple's official language server for Swift, enabling code intelligence features for Swift source files within Claude Code.

What you can do with swift-lsp

  • Get code intelligence for .swift files via SourceKit-LSP
  • Install SourceKit-LSP on macOS by installing Xcode from the App Store, or via brew install swift
  • Install SourceKit-LSP on Linux by downloading Swift from swift.org
  • Use sourcekit-lsp, available in PATH after installation, with Claude Code
  • Refer to the SourceKit-LSP GitHub repository and Swift.org for more information

Sources

Original description (English)

Swift language server (SourceKit-LSP) for code intelligence

History of swift-lsp

Back to list