JVM Source Lens for Claude Code
io.github.sintexer/jvmsrc
Gradle-accurate JVM classpath; fetch Java source, signatures, and class structure for agents.
client:Claude Code
transport:stdio
runtime:npm
Install JVM Source Lens in Claude Code
run in your project directory
claude mcp add jvmsrc -e JVMSRC_ALLOWED_ROOTS=<JVMSRC_ALLOWED_ROOTS> -e JVMSRC_CACHE_ROOT=<JVMSRC_CACHE_ROOT> -e JVMSRC_LOG_DIR=<JVMSRC_LOG_DIR> -e JVMSRC_MAX_SOURCE_OUTPUT_CHARS=<JVMSRC_MAX_SOURCE_OUTPUT_CHARS> -e JVMSRC_GRADLE_TIMEOUT_MS=<JVMSRC_GRADLE_TIMEOUT_MS> -e JVMSRC_CFR_PATH=<JVMSRC_CFR_PATH> -- npx -y jvmsrc
Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs