Mandar Zope

GitHub - Semantic Magento Search for Claude Code

by
Index your entire Magento 2 codebase into Qdrant and ask Claude Code semantic questions. Instantly find classes, methods, DI config, events, templates, and architecture patterns. App code (editable) surfaces first, vendor code provides context. Ships as an MCP tool—no manual file reading, no grep.

Add a comment

Replies

Best
Mandar Zope
Maker
📌
Magento is tricky because the real behavior isn’t just in PHP — a lot of it is defined through XML (DI, plugins, preferences, etc.), which directly affects runtime. LLMs often miss this and “vibe code” based only on visible classes. So the core problem wasn’t just search, it was giving the model the actual execution context, especially prioritizing app/code over vendor and connecting XML + PHP together. The shift from the PHP bootstrap approach to Python + Qdrant came from realizing I needed better context retrieval, not just runtime introspection.