About pzalutski-pixel/javalens-mcp
pzalutski-pixel/javalens-mcp is an MCP server published by pzalutski-pixel in the Data category: mCP server providing semantic Java code analysis for AI agents. Built on Eclipse JDT with tools for navigation, refactoring, search, and metrics. Conduid read 75 tools from its source: analyze_change_impact, analyze_control_flow, analyze_data_flow, analyze_file, analyze_method, analyze_type and 69 more. No package is published for it, so it installs from a source checkout.
The repository has 50 stars and 13 forks, is licensed MIT, and its last commit was on 18 Oct 2026. The latest release is v1.5.3 (18 Oct 2026). It follows v1.5.2 (18 Oct 2026), and the 5 most recent releases go back to v1.4.2 (11 Jun 2026). It passes 3 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned, No dynamic code execution and Scoped permissions. Its topics include data.
Install
git clone https://github.com/pzalutski-pixel/javalens-mcpTools (75)
analyze_change_impactBlast radius — direct call sites by depth, or the full transitive closure over the project graph (`transitive=true`)analyze_control_flowBranching, loops, return/throw points, nesting depthanalyze_data_flowVariable read/write/declaration tracking within a method; opt-in `followCalls` tracks null/taint facts across calls to sinksanalyze_fileGet imports, types, diagnostics in one callanalyze_methodGet signature, callers, callees, overridesanalyze_typeGet members, hierarchy, usages, diagnosticsapply_cleanupApply one of 10 JDT clean-ups (convert loops, pattern matching, switch expressions, text blocks, ...) and return rewritten sourceapply_quick_fixApply fix by ID (add import, remove import, add throws, try-catch)change_method_signatureModify params/return, update all callersconvert_anonymous_to_lambdaConvert anonymous class to lambdadiagnose_and_fixDiagnose a file and return each problem's top quick-fix edits in one callencapsulate_fieldGenerate accessors and rewrite all direct field accessesextract_constantExtract to `static final` fieldextract_interfaceCreate interface from class methodsextract_methodExtract code block to new methodextract_superclassMove a member into a newly created superclassextract_variableExtract expression to local variablefind_affected_testsThe tests that exercise a symbol, directly or transitively — the set to run after changing itfind_annotation_usagesFind all `@Annotation` usagesfind_castsFind all `(Type) expr` castsfind_catch_blocksFind all `catch(Exception e)` blocksfind_circular_dependenciesDetect package cycles using Tarjan's SCC algorithmfind_field_writesFind where fields are mutatedfind_implementationsFind interface/class implementationsfind_instanceof_checksFind all `x instanceof Type`find_large_classesFind types exceeding method/field/line count thresholdsfind_method_referencesFind all `Type::method` expressionsfind_naming_violationsCheck against Java naming conventionsfind_possible_bugsDetect null risks, empty catches, resource leaksfind_referencesFind all usages of a symbolfind_reflection_usageFind `Class.forName()`, `Method.invoke()`, and other reflection callsfind_testsDiscover JUnit/TestNG test methodsfind_throws_declarationsFind all `throws Exception` in signaturesfind_type_argumentsFind all `List<Type>` usagesfind_type_instantiationsFind all `new Type()` callsfind_unreachable_codeProject-wide dead code — members unreachable from any main method or test, over the whole-program call graphfind_unused_codeFind unused private membersget_call_hierarchy_incomingFind all callers of a methodget_call_hierarchy_outgoingFind all methods called by a methodget_classpath_infoGet classpath entriesget_complexity_metricsCyclomatic/cognitive complexity, LOC per methodget_dependency_graphPackage/type dependencies as nodes and edgesget_di_registrationsFind Spring DI registrations (@Component, @Bean, @Autowired, @Inject)get_diagnosticsGet compilation errors and warningsget_document_symbolsGet all symbols in a fileget_enclosing_elementGet containing method/class at positionget_field_at_positionGet field details at cursorget_hover_infoGet documentation/signature for symbolget_http_endpointsAssembled HTTP route table — Spring and JAX-RS paths composed from class prefixes, mapped to handler methodsget_javadocGet parsed Javadocget_jpa_modelAssembled JPA entity model — tables, id fields, relationships with resolved targets and mappedBy sidesget_method_at_positionGet method details at cursorget_project_structureGet package hierarchyget_quick_fixesList available fixes for problem at positionget_signature_helpGet method signature at call siteget_super_methodFind overridden method in superclassget_symbol_infoGet detailed symbol information at positionget_type_at_positionGet type details at cursorget_type_hierarchyGet inheritance chainget_type_membersGet members by type nameget_type_usage_summaryGet instantiations, casts, instanceof countsgo_to_definitionNavigate to symbol definitionhealth_checkServer status and capabilitiesinline_methodReplace call with method bodyinline_variableReplace variable with its initializerintroduce_parameter_objectBundle a method's parameters into a new class, updating callersload_projectLoad Maven/Gradle/Bazel/plain Java projectmove_type_to_new_fileMove a nested type into its own top-level fileorganize_importsSort and clean importspull_upMove a member into the superclasspush_downMove a member into the subclassesrename_symbolRename across entire projectsearch_symbolsSearch types, methods, fields by glob patternsuggest_importsFind import candidates for unresolved typevalidate_syntaxFast syntax-only validationSecurity checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 3.6K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
- !No dynamic code executionScanned 546 source files and found 2 calls to eval or shell execution, in npm/index.js:19 and npm/index.js:33. Review how tool inputs reach them before granting credentials.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- None found in the source
- Starts other programs
- 16 callsnpm/index.js:19, npm/index.js:33, npm/index.js:116
- Outbound network calls
- No outbound network calls
- Writes or deletes files
- 230 callsnpm/index.js:72, org.javalens.core.tests/src/org/javalens/core/IndexFidelityTest.java:664, org.javalens.core.tests/src/org/javalens/core/IndexFidelityTest.java:667
- Lockfile
- None in the repository
Pattern matches on the source text of 546 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 3.6K words, fetched a month ago. The original in the repository is authoritative.
Read full README