Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Transports: stdio vs HTTP
  • State of MCP (stats)
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’» Developer Tools
  3. JVM Source Lens
JVM Source Lens logo
Health: ActiveRecent health check succeeded.Last checked 9/22/2026, 11:31:07 PM

JVM Source Lens

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository4 GitHub StarsTotal stargazers on GitHub for the source repository (4 stars).Visit Website

Gradle-accurate JVM classpath; fetch Java source, signatures, and class structure for agents.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "jvm-source-lens": {
      "command": "npx",
      "args": [
        "-y",
        "jvmsrc"
      ]
    }
  }
}

πŸ’‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Tool Schemas (7) Directory Badge Claim listing AlternativesπŸ’» More in Developer Tools

Capabilities & Tool Schemas (7) ~145 tokensApproximate context cost of this server’s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Self-reported Self-reportedParsed from the repository README, not verified against a live server β€” may be incomplete or out of date.

Inspect callable tools, capabilities, and parameters exposed to AI agents by JVM Source Lens.

search_classes

Find a class by simple name or glob; returns compact FQN + lib name lists

get_class_structure

Retrieves class overview (purpose + method names) or declared signatures

get_method_signature

Fetches real overloads for a method, with parameter names and generics

find_in_class_source

Performs regex or substring searches inside a resolved class

get_class_source

Retrieves method bodies or line ranges (used as a last resort)

search_in_artifact

Greps text across all classes in one resolved dependency JAR

Documentation Overview

jvmsrc β€” Give your coding agent a Java IDE

CI npm version License: MIT Node

An MCP server and CLI that gives your coding agent the one thing it's missing on JVM codebases: the actual classpath.


The Problem

You use an IDE to write Java. Your coding agent doesn't have one.

When your agent hits an unfamiliar library type β€” say, a superclass from a proprietary internal library β€” it spends 25+ turns walking ~/.gradle/caches, opening JARs by hand with jar tf, picking one by guesswork, and trying to answer a question your IDE would answer in one keystroke: does this superclass have a public utility method called X?

The Solution

jvmsrc queries your build tool (Gradle) for this project's resolved classpath, then hands your agent real source, real signatures, and real structure β€” for the exact version your build actually uses.

  • As an MCP server – Connect to Claude Code, Cursor, Windsurf, or any other MCP host and equip your agent with six purpose-built classpath tools.
  • As the jvmsrc CLI – Same engine, scriptable, pipe-friendly, and useful on its own when you just want to read a class.

jvmsrc resolving a Spring class in Claude Code
Claude Code resolving HandlerInterceptor signatures via jvmsrc β€” 3 calls, correct answer, no cache walking.


What it saves, daily

On JVM projects with private libraries and no public Javadocs, jvmsrc is a force multiplier:

  • ~50K tokens saved per "what's on this external class" investigation β€” roughly 70% reduction in cost.
  • 15+ agent panic loops avoided daily β€” no grinding through Gradle caches, opening wrong JARs, or giving up.
  • Unlock delegation for complex tasks touching internal SDKs that you previously had to do yourself.

The Difference in Action

Without jvmsrc (The 25-turn blind grind)

User: Override the audit hook from AbstractTradingService β€” is there a public utility method on it we should reuse?

Agent:

  1. Searches workspace for AbstractTradingService.java βž” 0 hits
  2. Runs: find ~/.gradle -name "trading-core*"
  3. Finds 4 versions: 2.1.0, 2.3.0, 2.4.1, 3.0.0-SNAPSHOT
  4. Guesses: Picks trading-core-2.4.1.jar (the project actually uses 3.0.0-SNAPSHOT!)
  5. Runs: jar tf and javap -p on the wrong JAR
  6. [22 turns later] "I don't see a utility method, you'll have to implement it yourself."

Reality: 3.0.0-SNAPSHOT added maskSensitiveFields() as a protected helper exactly for this case. The agent didn't hallucinate β€” it was just blind.

With jvmsrc (The 3-turn instant resolution)

User: Override the audit hook from AbstractTradingService β€” is there a public utility method on it we should reuse?

Agent:

  1. search_classes("AbstractTradingService") βž” Finds FQN & exact resolved library.
  2. get_class_structure(scope: "overview") βž” Discovers maskSensitiveFields() in 3.0.0-SNAPSHOT.
  3. get_method_signature("maskSensitiveFields") βž” Gets accurate signature and generics.

Result: Writes the override correctly on the first try. No cache walking, no guessing, no wrong version.


How It Works

  1. Build Tool Inquiry: jvmsrc queries your active build tool (e.g., Gradle) for the exact resolved classpath configuration.
  2. Intelligent Caching: It caches the resolved classpath, tracking changes to build files to stay current.
  3. Precision AI Tools: Instead of full-code dumping, it exposes precise, high-granularity tools (signatures, structure, search) to keep context windows small and token usage ultra-low.

Installation & Quick Start

1. Install CLI

Terminal
npm install -g jvmsrc

Or use it directly via npx:

Terminal
npx jvmsrc mcp

[!IMPORTANT]
Requires Node β‰₯ 20 and Java on PATH (for CFR decompiler + javap).

2. Add the MCP server

Paste this into your AI assistant config (Cursor, Claude Code, Windsurf, etc.), then restart the host:

config.json
{
  "mcpServers": {
    "jvmsrc": {
      "command": "jvmsrc",
      "args": ["mcp"]
    }
  }
}

Optional: jvmsrc config (or jvmsrc config --project /path/to/gradle-project) prints a paste-ready block plus environment hints. Most users can skip it and copy the snippet above.


MCP Server Reference

The MCP server runs over stdio via jvmsrc mcp. The default config needs no environment variables:

config.json
{
  "mcpServers": {
    "jvmsrc": {
      "command": "jvmsrc",
      "args": ["mcp"]
    }
  }
}

Private repository credentials (optional)

Only needed when your Gradle build requires credential env vars for a private Maven/Artifactory/Nexus-style repo. MCP hosts often do not inherit your interactive shell, so those vars must be set on the jvmsrc MCP process (then restart the server).

REPO_USER / REPO_PASS below are sample names only β€” they are not required by jvmsrc. Use whatever variable names your project’s Gradle scripts document:

config.json
{
  "mcpServers": {
    "jvmsrc": {
      "command": "jvmsrc",
      "args": ["mcp"],
      "env": {
        "REPO_USER": "your-username",
        "REPO_PASS": "your-password"
      }
    }
  }
}

Omit the env block entirely when the project does not need them.

Tools your agent gets

ToolWhat it does
search_classesFind a class by simple name or glob; returns compact FQN + lib name lists
get_class_structureRetrieves class overview (purpose + method names) or declared signatures
get_method_signatureFetches real overloads for a method, with parameter names and generics
find_in_class_sourcePerforms regex or substring searches inside a resolved class
get_class_sourceRetrieves method bodies or line ranges (used as a last resort)
search_in_artifactGreps text across all classes in one resolved dependency JAR
resolve_dependenciesAnalyzes the actual dependency graph this project uses

[!TIP]
Every source response includes sourceAvailable: true for real sources (Javadoc, parameter names, generics), false for CFR decompilation (structure reliable, names may be synthetic).

[!NOTE]
Multimodule: omit modulePath and jvmsrc auto-picks the unique owning module; on a miss it lists candidate modulePaths. Methods: search_classes matches declared method names when the index has source enrichment; for body text in a known JAR use search_in_artifact. get_class_source methodNames also walks superclasses for unmatched names.


How It Compares

ToolApproachGap
Cache Indexers / ~/.gradle grepScan global cachesNo per-project resolved version
Static Parsers (e.g., build.gradle parser)Parse declarations onlyMisses transitive dependencies, BOMs, dynamic versions
mcp-javadoc / path-only CFRUser supplies manual JAR pathsNo automatic build/classpath resolution
Gradle MCP (Tooling API)Task/build focusedNot optimized for classpath-accurate FQN source lookup
jvmsrcQueries actual build tool & cachesVersion-correct sources and signatures for agents

Target Audience

Primarily Java + Spring Boot projects on Gradle. Other JVM languages (Kotlin, Scala) and Android work today on a best-effort basis and are on the roadmap as first-class targets β€” see ROADMAP.md.

If you're on Maven or Bazel, it's planned but not shipping yet. Star the repo or open an issue and I'll prioritize accordingly.


Detailed Reference

Requirements & Compatibility

Runtime: Node.js β‰₯ 20, Java on PATH.

Project types: JVM codebases (Java, Kotlin, Scala, Groovy). jvmsrc calls the build tool, not your editor.

Build systemStatus
GradleSupported β€” multimodule included
Maven, BazelPlanned (SPEC.md)

Point -p / projectRoot at the Gradle root (settings.gradle(.kts) or root build.gradle(.kts)). Uses ./gradlew when present, else gradle on PATH. Maven-only trees get an explicit unsupported error.

Known Limitations

Early software; the supported path is narrow:

AreaToday
Build toolGradle only
IntegrationGroovy init script (--init-script) β€” not a Gradle Portal plugin
ClasspathsStandard JVM + Kotlin MPP jvm* configurations when Gradle exposes them
OutputJava-shaped .java text (sources JAR, inter-project src, or CFR)

Composite builds, Android-only layouts, and exotic configurations are not fully validated. See ROADMAP.md.

Security & Privacy
  • No telemetry.
  • Local only β€” caches and diagnostics stay on disk; never writes under your project root.
  • Subprocesses via argv only (no shell interpolation) β€” see SECURITY.md.
  • Optional JVMSRC_ALLOWED_ROOTS to lock down which projects jvmsrc may resolve.
CLI Command Reference

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Developer Tools View all alternatives
  • Openapi MCP Server logoOpenapi MCP Server

    Connect any HTTP/REST API server using an Open API spec (v3)

    πŸ’» Developer Tools3 views
    Compare vs Openapi MCP Server β†’
  • Shadcn Ui MCP Server logoShadcn Ui MCP Server

    MCP server that gives AI assistants seamless access to shadcn/ui v4 components, blocks, demos, and metadata.

    πŸ’» Developer Tools3 views
    Compare vs Shadcn Ui MCP Server β†’
  • Next Devtools MCP logoNext Devtools MCP
    Verified

    Official Next.js MCP server for coding agents. Provides runtime diagnostics, route inspection, dev server logs, docs search, and upgrade guides. Requires Next.js 16+ dev server for full runtime features.

    πŸ’» Developer Tools5 views
    Compare vs Next Devtools MCP β†’
  • MCP Server Docker logoMCP Server Docker

    Integrate with Docker to manage containers, images, volumes, and networks.

    πŸ’» Developer Tools3 views
    Compare vs MCP Server Docker β†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks β€” not a rating.

GitHub stars
4
Stargazers on the source repository.
npm downloads
434
Package downloads in the last 30 days.
Last commit
2d ago
Most recent push to the default branch.
Tools exposed
7
Callable tools this server registers over MCP.

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about JVM Source Lens

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "jvm-source-lens": { "command": "npx", "args": ["-y","jvmsrc"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewJVM Source Lens AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/jvm-source-lens?style=directory)](https://allmcps.com/mcp/jvm-source-lens)
HTML Embed
<a href="https://allmcps.com/mcp/jvm-source-lens"><img src="https://allmcps.com/api/badge/jvm-source-lens?style=directory" alt="JVM Source Lens on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’»Developer Tools
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Last updatedSep 22, 2026
11/12 checks healthy over the last 45d
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars4
GitHub Star CountTotal stargazers on GitHub representing community popularity (4 stars).
Last commit2d ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Sep 22, 2026
npm downloads434/mo
Monthly npm DownloadsAverage monthly package installs recorded from npm registry statistics.
57Quality signal: Good Β· 57/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools25/30
Adoption & activity8/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 1d ago via OSV.dev Β· jvmsrc (npm)

β˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’» Developer Tools β†’Best MCP servers for Developers β†’Alternatives to JVM Source Lens β†’Install in Claude DesktopInstall in CursorInstall in VS CodeSetup guides for all 13 MCP clients