Stop Claude Code Interface Blindness: Hook Eclipse JDT LS via MCP for AST-Aware Java Refactoring A developer created an MCP bridge to connect Claude Code with the Eclipse JDT Language Server, enabling compiler-grade semantic search and AST-aware refactoring for Java codebases. The integration allows Claude Code to resolve method signatures, interface implementations, and bean hierarchies in enterprise Spring Boot projects, reducing hallucinations and broken builds. Claude Code is a beast in the terminal, but letting it raw-grep your enterprise Spring Boot codebase is a recipe for hallucinated method signatures and broken builds. If your AI agent doesn't understand the Abstract Syntax Tree AST of your decoupled interfaces, it is simply guessing. @Qualifier annotations. PaymentGateway interface to its StripePaymentServiceImpl implementation across deep Gradle subprojects without semantic AST help.Expose your local Eclipse JDT Language Server JDT LS to Claude Code using an MCP wrapper to enable precise, compiler-grade semantic searches. eclipse.jdt.ls as a background daemon on your local development machine. mcpConfig.json to route Java-specific queries like find-implementations directly to the JDT LS instance. @Autowired bean hierarchies before generating refactoring diffs.Want to go deeper? javalld.com — machine coding interview problems with working Java code and full execution traces. This mcpConfig.json configuration bridges Claude Code to your local JDT LS instance, giving the LLM direct access to Java's compiler APIs: { "mcpServers": { "jdtls-ast-bridge": { "command": "node", "args": "/usr/local/bin/jdtls-mcp-bridge.js" , "env": { "JDTLS PATH": "/opt/eclipse.jdt.ls/plugins/org.eclipse.equinox.launcher 1.6.900.jar", "WORKSPACE DIR": "${userHome}/projects/enterprise-app" } } } }