An MCP server that provides access to Apple's developer documentation through Spotlight search and Symbol Graph extraction
XcodeDocsMCP provides 4 READ_ONLY tools for searching and browsing Apple framework documentation. Tool definitions are visible in MCPServer.swift with schemas, descriptions, and basic parameter documentation. However, the server exhibits several quality gaps: (1) Output schemas are completely undocumented, no field descriptions for search results or symbol info structure, forcing LLMs to guess at response format; (2) Parameter descriptions lack specificity about constraints, formats, or when to use each tool vs others; (3) Error handling is absent from the visible code, no guidance on what happens if a search fails, a module is not found, or the Spotlight/symbolgraph extraction tools are unavailable; (4) No pagination support on search_documentation despite it claiming a 'limit' parameter, meaning large result sets could overwhelm context; (5) Tool descriptions are moderately good (114-168 chars) but lack dependency hints or usage sequencing advice; (6) Security and composition follow expected patterns (read-only operations, no secrets exposed), but the lack of error context makes agent debugging difficult.
Extract all public symbols from a module/framework. Useful for discovering available types, functions, and properties.
Get detailed information about a specific symbol from the SDK using swift-symbolgraph-extract. Returns the symbol's declaration, documentation, and relationships.
List available Apple frameworks/modules in the macOS SDK.
Search Apple's developer documentation using Spotlight. Returns matching documentation entries for frameworks, classes, methods, and other symbols.
Output schemas completely undocumented. Tools return results but no field descriptions exist for search matches, symbol details, framework lists, or extracted symbols. LLMs cannot reason about response structure.
No error handling or recovery guidance. Code does not show how failures (module not found, Spotlight unavailable, symbolgraph extraction timeout) are reported or what LLMs should do next. Visible code only handles parse errors at protocol level, not tool-level failures.
search_documentation accepts 'limit' parameter but no pagination fields (next_cursor, total_count, offset) documented in schema or description. Large result sets (100+ frameworks) could exceed context window without chunking.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 54 | 2026-07-28+ | v2 |
Parameter descriptions lack actionable constraints. 'module' parameter in get_symbol_info and extract_module_symbols accepts framework names (e.g., 'Foundation', 'SwiftUI') but does not specify case sensitivity, valid format, or what happens if an invalid module is passed.
No dependency sequencing or discovery guidance. Tool descriptions do not explain when to call list_frameworks first before extract_module_symbols, or how search_documentation differs from get_symbol_info. LLMs must guess usage order.
Parameter 'filter' in list_frameworks has no type declaration ('type': 'string' not visible in provided schema snippet) and its description is sparse ('Optional filter to match framework names'). Does it accept wildcards? Regex? Exact match?