swift_summarize_file
Get symbol counts and file summary
How to use it
swift_summarize_file is exposed by the Swiftlens MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the swift_summarize_file tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL SWIFTLENS LISTINGOther tools in Swiftlens (14)
Get help for any tool
Analyze structure and symbols in a Swift file
Batch analyze multiple files
Build index store db of current project for sourcekit-lsp
Verify Swift development setup
Find all references to a symbol
Get fully-qualified symbol paths
Extract import statements
Get type info and documentation
Jump to symbol definition
Extract top-level type declarations
Replace function/type body
Search with regex patterns
Validate syntax and types with swiftc