Lightweight Java navigation for reviewing agent-written code: LSP for your editor, MCP for your agents, one index across all worktrees.
View on GitHub ↗Java code navigation for reviewing what your AI agents write.
java-index answers the questions you ask while reading Java code: where is this defined, who calls it, what implements it, what is this library method's real signature, which config key does this @Value read? It serves those answers to your editor over the Language Server Protocol (LSP), and to agents such as Claude Code over the Model Context Protocol (MCP), from one shared index per repository.
https://github.com/user-attachments/assets/9984c749-106f-4f31-ac43-a0c9f10f1f90
- The problem - How it's different - java-index vs jdtls - What you get — in your editor (LSP), for AI agents (MCP) - Install - Set up - How it works - Classpath - Configuration - Limitations - License
More and more Java code is written by agents, and the human's job shifts to reviewing it. Review means navigating: jumping to a definition, finding the callers of a changed method, checking what implements an interface. A diff view can't do that, so you open the code in an editor.
That editor usually brings a full Java language server such as jdtls, which is built for writing code: it imports the build and compiles the project to give you errors, completion and refactorings. For review that is the wrong trade:
It's heavy for a read-only job. Each project costs a build import and typically gigabytes of memory, while all you want is cmd+click and find references. Agents multiply it. Agents often work in parallel, each in its own git worktree. A full language server treats every worktree as a separate project: another import, another index,
From the project README.
Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:
[](https://mcp.liqiwa.com/s/slgobinath--java-index.html)
Privacy guardrails for Spring AI: request-scoped PII tokenization and least-privilege disclosure across model/tool calls, with Presidio and JVM-local OpenNLP.
TikyParkinson/mcp-agent-guardrails-spring-boot-starterSecurity & governance guardrails for MCP agents in Java — audit trail, agent-to-tool authorization, prompt-injection detection and rate limiting as a zero-config Spring Boot starter.
java-ai-in-action/framework-compareSpring AI vs LangChain4j vs SAA 三框架同台对比(配套篇2)
HanHan666666/patchbridge-agentLightweight browser-side AI agent framework for legacy enterprise web apps—Java 8, Spring Boot 2, TypeScript, MCP/WebMCP, OpenAI-compatible LLMs, tool calling, streaming, audit, and persistence. 面向存量企
rdtan/architecture-discovery-mcpAuto-discover enterprise architecture artifacts (TOGAF AA series) from Java/Maven source code via MCP Server. Scan once, get Excel + PPTX in seconds.
Cherobin/speclokspec-as-annotation for Java: your spec lives in the code as @Spec/@AC Lombok annotations and the compiler enforces it. Generates docs, blocks out-of-scope edits, and refuses to finish until each crite
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.