Xcode Index

Provides direct access to Xcode's project index store through Apple's IndexStoreDB, enabling precise code navigation and refactori

block 59
Claude CodeClaude DesktopGeneric
View source ↗

This MCP server provides direct access to Xcode's project index store through Apple's IndexStoreDB, enabling AI assistants to perform precise code navigation and refactoring operations on iOS/macOS projects. Built by Block using a hybrid Python/Swift architecture, it consists of a Python MCP server that communicates with a Swift service running on TCP port 7949, which interfaces directly with Xcode's derived data to load project indexes and query symbol information. The implementation offers tools for loading project indexes, finding symbol occurrences at specific file locations, retrieving all references to symbols by their USR (Unified Symbol Resolution), and pattern-based symbol searching with various matching options, making it valuable for automated refactoring workflows where AI agents need exhaustive lists of function call sites and symbol definitions to safely modify code across large codebases.

Source

Repository: https://github.com/block/xcode-index-mcp

Maintain Xcode Index?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[Xcode Index on getagentictools](https://getagentictools.com/mcp/block-xcode-index-mcp?ref=badge)