JavaLens MCP Server
by pzalutski-pixelio.github.pzalutski-pixel/javalensv1.5.1
Semantic Java analysis via Eclipse JDT: compiler-accurate navigation, refactoring, find references, call hierarchy and code metrics.
context tax
queued
security
queued
cold start
queued
freshness
Slowing4mo ago
Install JavaLens MCP server
Install in Claude Code
claude mcp add javalens -- npx -y javalens-mcpInstall in Cursor
{
"mcpServers": {
"javalens": {
"command": "npx",
"args": [
"-y",
"javalens-mcp"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"javalens": {
"command": "npx",
"args": [
"-y",
"javalens-mcp"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"javalens": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"javalens-mcp"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"javalens": {
"command": "npx",
"args": [
"-y",
"javalens-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| JAVA_PROJECT_PATH | — | — | Auto-load project on startup |
| JAVALENS_TIMEOUT_SECONDS | — | — | Operation timeout in seconds |
| JAVALENS_LOG_LEVEL | — | — | Log level: TRACE, DEBUG, INFO, WARN, ERROR |
Freshness
Slowing — last maintenance signal 4mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-06-16 · 4mo ago · GitHub
Latest release
2026-06-16 · 4mo ago · GitHub · v1.5.1
Package published
no data · npm/PyPI
Registry entry updated
2026-06-16 · 4mo ago · official registry · v1.5.1
FAQ
›How do I install the JavaLens MCP server in Claude Code?
Run: claude mcp add javalens -- npx -y javalens-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does JavaLens require an API key?
No required environment variables are declared in its published metadata.
›Can I use JavaLens as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is JavaLens in the official MCP registry?
Yes, as io.github.pzalutski-pixel/javalens.
Alternatives to JavaLens
Other devops & ci/cd MCP servers.