MCP server providing semantic Java code analysis for AI agents. Built on Eclipse JDT with tools for navigation, refactoring, search, and metrics.
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"javalens-mcp": {
"command": "npx",
"args": [
"-y",
"hw1964/javalens-mcp"
]
}
}
}
Run in terminal:
claude mcp add javalens-mcp npx -y hw1964/javalens-mcp
Add to .cursor/mcp.json:
{
"mcpServers": {
"javalens-mcp": {
"command": "npx",
"args": [
"-y",
"hw1964/javalens-mcp"
]
}
}
}