An MCP server exposing sourcekit-lsp's code intelligence as tools, backed by a warm LSPSession. Provides syntax/semantic checking, symbol search, hover information, definition lookup, and reference finding for Swift and other languages.
Seven tools with complete descriptions (194 - 250 chars, within baseline 34 - 392) and clear verb-noun naming (check_, find_, declaration, hover, definition, references, document_). All tools are read-only, lowering risk. Input schemas present with typed parameters and descriptions. However, output schemas are not documented in the source code, LLMs cannot infer what fields to expect from responses. Parameter descriptions are adequate but lack format constraints (e.g., 'line' and 'column' are integers but no min/max bounds stated). No error handling guidance visible. Tool composition is sound (each does one thing), but missing pagination/limit parameters for potentially large result sets (find_symbol, references, document_symbols).
Check a file for errors and warnings using the language server's in-memory type-check — syntax errors, undefined types/symbols, and type mismatches — without running a build. Call this to validate a freshly edited file before kicking off a full build or test run.
Show a symbol's declaration — its signature, and optionally its doc comment — found by name across the project. Returns one entry per match (overloads, same-named types, …).
Find where the symbol at a position is defined.
List the document symbols (types, methods, properties) declared in a file, as a hierarchy.
Find symbols by name across the whole project (index-backed fuzzy search) — the way to turn a name into file locations without reading files.
Get hover information (type, signature, documentation) for the symbol at a position in a file. Returns the rendered Markdown, or a note if there's none.
Output schemas not documented. LLMs cannot infer response structure (fields, types, nesting). CheckResult, SymbolMatch, DeclarationMatch, etc. are defined in code but not visible in tool definitions.
Position parameters (line, column) lack bounds. No min/max documented. LLMs may pass invalid values (line 0, column -1, line 999999). Should state '1-based, line 1 - N, column 1 - M'.
No pagination or result limits documented. find_symbol and references could return hundreds of matches; no limit, offset, or cursor parameters visible. Large result sets blow context windows.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 53 | 2026-07-28+ | v2 |
Find all references to the symbol at a position, project-wide. Waits for background indexing to finish before answering, so results are complete — the first call on a cold project can take a while (and reports indexing progress).
No error handling guidance. Tools may fail (file not found, symbol not found, LSP server error) but no recovery hints provided. LLMs cannot self-correct.
scope parameter enum values ('project', 'dependencies', 'all') lack explanation of what each includes. LLMs may misuse scope without understanding the difference.