Back to MCP marketplace
development-it
In Review
swiftlens/swiftlens
Added by github
About
SwiftLens is a Model Context Protocol (MCP) server that provides deep, semantic-level analysis of Swift codebases to any AI models. By integrating directly with Apple's SourceKit-LSP, SwiftLens enables AI models to understand Swift code with compiler-grade accuracy.
Tools
- get_tool_helpGet concise help for Swift tools. Pass tool_name for specific help, or None for all tools.
- swift_analyze_filesAnalyze Swift files and extract symbol structures (supports single or multiple files).
- swift_check_environmentCheck if Swift development environment is properly configured.
- swift_lsp_diagnosticsComprehensive LSP diagnostics combining environment, health, and performance checks.
- swift_find_symbol_references_filesFind all references to a symbol across multiple Swift files. Prefer relative paths (e.g., 'src/MyFile.swift').
- swift_get_hover_infoGet hover information for a symbol at the specified position in a Swift file.
- swift_get_declaration_contextGet fully-qualified declaration contexts for all symbols in a Swift file.
- swift_get_symbol_definitionFind the source location (file + line) where a symbol is defined.
- swift_get_file_importsExtract import statements from a Swift file.
- swift_summarize_fileReturn counts of classes, functions, enums, and other symbols in a Swift file.
- swift_get_symbols_overviewExtract only top-level symbols (classes, structs, enums, protocols) from a Swift file.
- swift_validate_fileValidate a Swift file using swiftc type checking and return compilation errors.
- swift_replace_symbol_bodyReplace the body content of a specified Swift symbol while preserving the declaration.
- swift_search_pattern
- swift_build_indexBuild or rebuild Swift project index for better LSP functionality.
Community reviews
Reports from signed-in users. These reviews describe individual experiences and are not security audits.
No published reviews yet. Share a specific setup result to help the next user evaluate this server.
Used this MCP server?
Sign in before writing so your review is never lost.