← javadocs.dev

INDIVIDUAL MCP TOOL

get_source_contents

Reads one source file from a Maven Central library's sources jar (the `-sources.jar` artifact).

javadocs.devnone authenticationAvailability not checked

Input schema

{}

Risk classification

Inferred read-only · medium confidence · heuristic, not a guarantee.

  • No write-capable action terms were found; this is not proof that invocation has no side effects.

Parent endpoint

javadocs.dev

CONNECT WITH APPROVAL

Client installation

Review this server and its permissions before adding it. Secret placeholders must be set locally.

Codex

~/.codex/config.toml

[mcp_servers.javadocs-dev]
url = "https://www.javadocs.dev/mcp"
enabled = true
Claude Code

.mcp.json

{
  "mcpServers": {
    "javadocs-dev": {
      "type": "http",
      "url": "https://www.javadocs.dev/mcp"
    }
  }
}
Claude Desktop

Settings → Connectors → Add custom connector

Name: javadocs-dev
Remote MCP URL: https://www.javadocs.dev/mcp

Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.

Cursor

.cursor/mcp.json

{
  "mcpServers": {
    "javadocs-dev": {
      "url": "https://www.javadocs.dev/mcp"
    }
  }
}
Visual Studio Code

.vscode/mcp.json

Add to Visual Studio Code
{
  "servers": {
    "javadocs-dev": {
      "type": "http",
      "url": "https://www.javadocs.dev/mcp"
    }
  }
}
Generic MCP

Client-specific MCP configuration

{
  "name": "javadocs-dev",
  "transport": "streamable-http",
  "url": "https://www.javadocs.dev/mcp"
}
MCP Inspector

Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.

Related tools

  • get_latest_version — Resolves the latest published version of a Maven Central artifact (any groupId:artifactId — Java, Kotlin, or Scala library).
  • get_javadoc_index — Fetches the rendered Javadoc/Scaladoc index page for a specific Maven Central artifact version, converted to plain text/markdown.
  • get_javadoc_content_list — Lists every entry in the Javadoc/Scaladoc jar of a Maven Central artifact version (HTML pages for classes/methods/packages, plus search-index files and resources).
  • get_javadoc_symbol_contents — Reads one Javadoc/Scaladoc page from a Maven Central artifact, already converted to plain text/markdown so you don't have to parse HTML.
  • list_source_contents — Lists every file inside the **sources jar** (the `-sources.jar` publishers attach alongside the binary) of a Maven Central artifact version.
  • search_artifacts — Searches the indexed Maven Central catalog for artifacts whose groupId or artifactId contains a substring (case-insensitive).
  • symbol_to_artifact — Resolves a class name, fully-qualified type, or package name to the Maven Central artifact (groupId, artifactId) that publishes it.