By drewalth
Query Xcode's pre-built symbol index from Claude Code. Surgical, semantic Swift/ObjC symbol lookups — find references, definitions, overrides, conformances, and blast radius without reading full files.
Compute the dependency blast radius of a Swift or Objective-C file — direct dependents, one hop of transitive callers, and covering tests — from Xcode's pre-built index. Use this when planning a refactor, scoping a structural change, or sizing the impact of editing a shared file, before reading anything.
Find every semantic reference to a Swift or Objective-C symbol via Xcode's pre-built index — no false positives from comments, string literals, or similarly-named symbols in unrelated modules. Use this when planning a change to scope its surface, before grep/ripgrep, and before reading files to trace call chains.
Produce a complete written refactor plan for Swift or Objective-C code — rename, signature change, type extraction, protocol split, API migration — listing every site that will change (grouped by file with line numbers), the risks (overrides, conformances, @objc bridging, cross-module public API, test coverage), and the recommended execution path. Pure planning — makes zero edits. Use whenever the user wants to scope, preview, or estimate a Swift change before committing to it.
Execute a semantic rename of a Swift or Objective-C symbol — type, method, property, protocol, enum case — across the codebase via Xcode's index, dispatched to the swift-refactor-specialist subagent so the main context isn't flooded with 50 file reads. Renames the actual symbol; never touches similarly-named text in comments or unrelated modules.
Admin access level
Server config contains admin-level keywords
Modifies files
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Hook triggers on file write and edit operations
Hook triggers on file write and edit operations
Uses power tools
Uses Bash, Write, or Edit tools
Uses power tools
Uses Bash, Write, or Edit tools

Semantic Swift/ObjC symbol lookups for Claude Code, powered by Xcode's on-disk SourceKit index.
A Claude Code plugin that lets Claude
query Xcode's existing symbol index instead of falling back to grep.
References, overrides, conformances, and refactor impact analysis on
Swift/ObjC code hit the same indexstore-db library SourceKit-LSP uses —
USR-authoritative, sub-millisecond warm, no re-indexing.
It reads the index Xcode already writes to DerivedData during build. No daemon, no second copy of your source, no builds on your behalf. It warns when the index is stale rather than acting.
indexstore-db requires macOS 14+.xcode-select --install)..xcodeproj / .xcworkspace) built at least once.claude plugin marketplace add anthropics/claude-plugins-community
claude plugin install claude-xcindex@claude-community
First run downloads the matching xcindex binary from the GitHub release
and caches it under the plugin directory — no npm install, no manual
build.
Then, in a Swift project:
/xcindex-setup
This confirms the binary is ready, locates your Xcode project, and — with
your confirmation — runs xcodebuild per scheme so the index is populated.
Skip it if you build in Xcode yourself.
Verify with /plugin and /xcindex-status. If anything looks off, run
./bin/xcindex-doctor.
Useful for pinning to a specific commit or hacking on the plugin:
git clone https://github.com/drewalth/claude-xcindex.git
cd claude-xcindex/service && swift build -c release
Then in Claude Code:
/plugin marketplace add /absolute/path/to/claude-xcindex
/plugin install xcindex@xcindex-local
The launcher detects the from-source build at
service/.build/release/xcindex and symlinks it instead of downloading.
The skills trigger automatically based on what you ask — no special syntax.
UserService used?"fetchUser?"NetworkClient.swift?"AuthManager?"fetchUser to loadUser across the codebase."ModelData.swift?"You: Find all callers of fetchUser.
Claude: [mcp__xcindex__find_symbol → mcp__xcindex__find_references]
→ 6 call sites across 4 files. Reads ±10 lines around each.
Returns a focused summary instead of 8 full-file reads.
/xcindex-status checks index freshness and reports which files have been
edited since the last build.
/xcindex-setup) before asking for
references — stale results are annotated, not silently wrong.X used" beats "find usages of the
thing that fetches users" — name lookups disambiguate, USR lookups are
authoritative.Exposed under mcp__xcindex__*. Signatures and examples in
docs/tools-reference.md.
| Tool | Purpose |
|---|---|
find_symbol | Name → candidate USRs with kind and defining file. |
find_references | Every occurrence with file, line, column, role. |
find_definition | The canonical definition site. |
find_overrides | All overriding implementations of a method. |
find_conformances | All types conforming to a protocol. |
blast_radius | Minimal set of files affected by editing a file. |
status | Index freshness, DerivedData path, last-build timestamp. |
plan_rename | Semantic rename plan tiered by confidence — see docs/tools-reference.md for tier definitions, or docs/coverage.md for what each pinned fixture surfaces. |
npx claudepluginhub drewalth/claude-xcindex --plugin xcindexOpen-source, local-first Claude Code plugin for token reduction, context compression, and cost optimization using hybrid RAG retrieval (BM25 + vector search), reranking, AST-aware chunking, and compact context packets.
Complete AI coding workflow system. Self-correcting memory + persistent FTS5-indexed research wikis + auto-research loop + multi-LLM council on a single SQLite store. 33 skills, 8 agents, 22 commands, 37 hook scripts across 24 events. Cross-agent via SkillKit.
Intelligent draw.io diagramming plugin with AI-powered diagram generation, multi-platform embedding (GitHub, Confluence, Azure DevOps, Notion, Teams, Harness), conditional formatting, live data binding, and MCP server integration for programmatic diagram creation and management.
Give your AI a memory — mine projects and conversations into a searchable palace. 33 MCP tools, auto-save hooks, and guided setup.
MCP server that saves 98% of your context window with session continuity. Sandboxed code execution in 11 languages, FTS5 knowledge base with BM25 ranking, and automatic state restore across compactions.
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.