# Swift SourceKit-LSP

> Use this tool when you need to analyze and optimize Swift codebases with advanced static analysis and architectural insights. It solves problems such as code quality assessment, architecture pattern detection, and project memory management, providing outputs like quantitative scoring, documentation generation, and migration planning. It takes Swift code as input and is ideal for use in professional development contexts where automated project analysis and deep architectural insights are required.

Canonical page: https://skillsregistry.net/skills/swift-sourcekit-lsp  
JSON: https://api.skillsregistry.net/v1/skills/swift-sourcekit-lsp

## Description

A Swift-based MCP server that provides advanced static analysis and architectural insights for Swift codebases, integrating with Apple's SourceKit-LSP for accurate source code analysis. Built by anhptimx, it offers specialized tools for Protocol-Oriented Programming assessment with quantitative scoring, architecture pattern detection (MVC, MVVM, VIPER, Clean Architecture), intelligent project memory with pattern learning, and iOS framework usage analysis. The server includes professional development features like automatic documentation generation, Swift/iOS project templates, and migration planning, making it valuable for Swift developers who want deep architectural insights, code quality assessment, and automated project analysis without manually reviewing large codebases.

## Trust

- **Trust score (0–1):** 1.00
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** file-system
- **Updated:** 2026-09-28

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/swift-sourcekit-lsp)
- **Repository:** <https://github.com/theanvora/swift-mcp-server>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "swift-sourcekit-lsp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/swift-sourcekit-lsp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/swift-sourcekit-lsp/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
