Javalens MCP
UnclaimedMCP server providing semantic Java code analysis for AI agents. Built on Eclipse JDT with tools for navigation, refactoring, search, and metrics.
Set up this server
More in Search & Web
Browse the full directoryUnclaimed listing
Is this your MCP server?
This listing was auto-indexed from the public record. Claim it to edit the page, set compatibility and unlock growth tools. Takes under two minutes.
Claim this serverSecurity profile
Claimed and verified servers get a weekly static scan that shows what the code can reach: external services, environment variables, shell commands, agent configuration folders, plus any dependencies with known advisories. Claim this listing to get one. How the security profile works
40 of 40 tools
Documented tools (40)
From project documentation. A server handshake does not verify each tool’s description or behavior.
analyze_change_impact
Blast radius — direct call sites by depth, or the full transitive closure over the project graph (transitive=true)
analyze_control_flow
Branching, loops, return/throw points, nesting depth
analyze_data_flow
Variable read/write/declaration tracking within a method; opt-in followCalls tracks null/taint facts across calls to sinks
analyze_file
Get imports, types, diagnostics in one call
find_affected_tests
The tests that exercise a symbol, directly or transitively — the set to run after changing it
find_annotation_usages
Find all @Annotation usages
find_casts
Find all (Type) expr casts
find_catch_blocks
Find all catch(Exception e) blocks
find_field_writes
Find where fields are mutated
find_implementations
Find interface/class implementations
find_instanceof_checks
Find all x instanceof Type
find_method_references
Find all Type::method expressions
find_possible_bugs
Detect null risks, empty catches, resource leaks
find_references
Find all usages of a symbol
find_reflection_usage
Find Class.forName(), Method.invoke(), and other reflection calls
find_tests
Discover JUnit/TestNG test methods
find_throws_declarations
Find all throws Exception in signatures
find_type_arguments
Find all List<Type> usages
find_type_instantiations
Find all new Type() calls
find_unreachable_code
Project-wide dead code — members unreachable from any main method or test, over the whole-program call graph
find_unused_code
Find unused private members
get_call_hierarchy_incoming
Find all callers of a method
get_call_hierarchy_outgoing
Find all methods called by a method
get_di_registrations
Find Spring DI registrations (@Component, @Bean, @Autowired, @Inject)
get_diagnostics
Get compilation errors and warnings
get_document_symbols
Get all symbols in a file
get_enclosing_element
Get containing method/class at position
get_field_at_position
Get field details at cursor
get_hover_info
Get documentation/signature for symbol
get_http_endpoints
Assembled HTTP route table — Spring and JAX-RS paths composed from class prefixes, mapped to handler methods
get_javadoc
Get parsed Javadoc
get_jpa_model
Assembled JPA entity model — tables, id fields, relationships with resolved targets and mappedBy sides
get_method_at_position
Get method details at cursor
get_signature_help
Get method signature at call site
get_symbol_info
Get detailed symbol information at position
get_type_at_position
Get type details at cursor
get_type_hierarchy
Get inheritance chain
go_to_definition
Navigate to symbol definition
search_symbols
Search types, methods, fields by glob pattern
validate_syntax
Fast syntax-only validation
Tool change history
FAQ
Questions about Javalens MCP Server
- How do I connect Javalens MCP Server to Claude?
- The project does not publish a launch command that MCPVault could verify. Open the repository linked on this page for its install steps; the listing names Claude Code, Cursor as compatible clients.
- Is Javalens MCP Server free?
- The listed licence is MIT. Check the upstream terms for permitted use and commercial requirements; a public repository does not by itself mean the software is free or open source. Connected APIs and hosted services may have separate charges.
- What can Javalens MCP Server do?
- Javalens MCP Server documents 40 tools to the agent, including analyze_change_impact, analyze_control_flow, analyze_data_flow. The descriptions above come from project documentation. A live handshake does not test individual tool behavior.