JavaLens
local MCP serverInstallation
Terminal
claude mcp add javalens -e JAVA_PROJECT_PATH=... -e JAVALENS_TIMEOUT_SECONDS=... -e JAVALENS_LOG_LEVEL=... -- npx -y javalens-mcp
Run in your project folder. Add --scope user to use it everywhere.
Claude Desktop, Cursor & other clients
Add to claude_desktop_config.json or .cursor/mcp.json.
{
"mcpServers": {
"javalens": {
"command": "npx",
"args": [
"-y",
"javalens-mcp"
],
"env": {
"JAVA_PROJECT_PATH": "...",
"JAVALENS_TIMEOUT_SECONDS": "...",
"JAVALENS_LOG_LEVEL": "..."
}
}
}
}Fill in the environment variables with your own credentials.
Summary
63 semantic Java analysis tools via Eclipse JDT: navigation, refactoring, code intelligence.
Questions
JavaLens is a local MCP server distributed as the npm package javalens-mcp.
Run: claude mcp add javalens -e JAVA_PROJECT_PATH=... -e JAVALENS_TIMEOUT_SECONDS=... -e JAVALENS_LOG_LEVEL=... -- npx -y javalens-mcp
Run: codex mcp add javalens --env JAVA_PROJECT_PATH=... --env JAVALENS_TIMEOUT_SECONDS=... --env JAVALENS_LOG_LEVEL=... -- npx -y javalens-mcp
Similar MCP servers
NameStars
- SharpLensio.github.pzalutski-pixel/sharplens35
- ckbio.github.SimplyLiz/ckb109
- Roslyn CodeLensio.github.MarcelRoozekrans/roslyn-codelens56
- semio.github.Ataraxy-Labs/sem3,364
- TokenSaveio.github.aovestdipaperino/tokensave650
- gopls-mcpio.github.xieyuschen/gopls-mcp59
- godotiqio.github.salvo10f/godotiq54
- sqry - Semantic Code Searchio.github.verivus-oss/sqry31