MCP server
JVM Source Lens
Gradle-accurate JVM classpath; fetch Java source, signatures, and class structure for…
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 1.16.0
- Listing updated
- 6 days ago
About JVM Source Lens
JVM Source Lens is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Gradle-accurate JVM classpath; fetch Java source, signatures, and class structure for agents.
Install
Run in a terminal
claude mcp add jvmsrc -- npx -y jvmsrcAdd to claude_desktop_config.json
{
"mcpServers": {
"jvmsrc": {
"command": "npx",
"args": [
"-y",
"jvmsrc"
]
}
}
}Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"jvmsrc": {
"command": "npx",
"args": [
"-y",
"jvmsrc"
]
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"jvmsrc": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"jvmsrc"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"jvmsrc": {
"command": "npx",
"args": [
"-y",
"jvmsrc"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"jvmsrc": {
"command": "npx",
"args": [
"-y",
"jvmsrc"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
JVMSRC_ALLOWED_ROOTSOptional comma-separated absolute paths; only these project roots are allowed.JVMSRC_CACHE_ROOTOptional absolute path for resolution and decompile caches (default: OS cache dir).JVMSRC_LOG_DIROptional absolute path for failure diagnostic logs.JVMSRC_MAX_SOURCE_OUTPUT_CHARSMax characters returned for full-file source (default 524288).JVMSRC_GRADLE_TIMEOUT_MSGradle resolution subprocess timeout in milliseconds.JVMSRC_CFR_PATHOptional path to a custom CFR JAR for decompilation.
Pricing
Open source
JVM Source Lens FAQ
Is JVM Source Lens free?
Yes. JVM Source Lens is open source, so you can use and self-host it for free.
How do I add JVM Source Lens to Claude Code?
Run this command in your terminal: claude mcp add jvmsrc -- npx -y jvmsrc
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.