Analyze and refactor Java code with 63 semantic tools powered by Eclipse JDT. For developers who need IDE-grade code intelligence, navigation, and refactoring in their AI workflows.
io.github.pzalutski-pixel/javalens
Local install
STDIO
No auth required
How models use it and what it is built for.
Analyze and refactor Java code with 63 semantic tools powered by Eclipse JDT. For developers who need IDE-grade code intelligence, navigation, and refactoring in their AI workflows.
Local install — runs as a subprocess.
Configuration this server reads at startup.
Auto-load project on startup
Operation timeout in seconds
Log level: TRACE, DEBUG, INFO, WARN, ERROR
Where to find authoritative docs and source for JavaLens.
Paste any of these into Agent Studio after connecting JavaLens.
Common questions about connecting and running JavaLens.
How do I point Javalens at my Java project?
Set the JAVA_PROJECT_PATH environment variable to your project root before starting the MCP server. It will auto-load on startup. You can also adjust JAVALENS_TIMEOUT_SECONDS if operations are timing out on large codebases.
What Java analysis tools does Javalens provide?
Javalens exposes 63 semantic analysis tools via Eclipse JDT, including code navigation, refactoring suggestions, and code intelligence features like type checking and usage finding.
Can I use Javalens with my IDE at the same time?
Javalens runs as an MCP server over stdio, so it works alongside your IDE. However, check your project's locking behavior—some IDEs may lock files during indexing.
How do I debug what Javalens is doing?
Set JAVALENS_LOG_LEVEL to DEBUG or TRACE before startup to see detailed operation logs. This helps troubleshoot timeouts or unexpected analysis results.
Does Javalens support Gradle, Maven, or both?
The registry metadata does not specify build-system support. Refer to the Javalens documentation or test with your project structure to confirm compatibility.
MCP Playground runs 10,000+ hosted MCP servers — GitHub, Linear, Notion, Stripe, Sentry and more — across Claude, GPT, Gemini, DeepSeek and 60+ AI models. Compare model answers side-by-side, save agent presets, share runs. Zero install.
Open Agent StudioJudges Panel
45 judges that evaluate AI-generated code for security, cost, and quality with built-in AST.
Addozhang Nexus
Query Sonatype Nexus Repository (OSS/Pro) for Maven, Python, and Docker artifacts
Cyanheads MCP Ts Template
TypeScript template for building MCP servers with declarative tooling, observability, and auth.
Chernistry Bernstein
Declarative agent orchestration for engineering teams