Javadoc Mcp
@loong95
About Javadoc Mcp
让 AI 助手能够通过 Maven 坐标浏览 JavaDoc 文档
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"javadoc": {
"command": "npx",
"args": [
"-y",
"javadoc-mcp"
]
}
}
}Tools
No tools detected
Fetch the live tool list by running this server in a temporary sandbox using the button above.
Overview
What is Javadoc Mcp?
Javadoc Mcp is a Model Context Protocol (MCP) server that allows AI assistants to browse JavaDoc documentation using Maven coordinates. It is designed for developers who need programmatic access to Java library documentation via an AI or CLI tool.
How to use Javadoc Mcp?
Install via npx -y javadoc-mcp or npm install -g javadoc-mcp, then configure your MCP client (e.g., Claude Code or Claude Desktop) with the appropriate command and arguments in settings.json or claude_desktop_config.json. After setup, tools are automatically available to the AI assistant.
Key features of Javadoc Mcp
- Five MCP tools for browsing JavaDoc:
list_packages,list_classes,get_class,get_member, andsearch. - Reads from the local Maven repository (
~/.m2/repository) or auto-fetches missing-javadoc.jarfiles. - Uses
cheeriofor HTML parsing andadm-zipto read directly from JARs without extracting to disk. - Implemented in TypeScript with the
@modelcontextprotocol/sdk.
Use cases of Javadoc Mcp
- An AI assistant looks up a class’s method signatures and documentation while writing Java code.
- A developer searches for a specific type or member across multiple Java libraries.
- Automated tooling browses the package structure of a Maven artifact to generate API summaries.
FAQ from Javadoc Mcp
What are the system requirements?
Node.js 18+ is required, and the mvn command must be available in PATH.
Where are JavaDoc JARs stored locally?
Javadoc Mcp uses the local Maven repository, typically located at ~/.m2/repository, or the path specified in ~/.m2/settings.xml under <localRepository>.
How do I refresh the documentation for a library?
Delete the corresponding *-javadoc.jar from your local Maven repository for that artifact; the server will fetch it again on the next invocation.
How is Javadoc Mcp configured with MCP clients?
Add a server entry to your MCP client configuration (e.g., ~/.claude/settings.json or claude_desktop_config.json) with "command": "npx" and "args": ["-y", "javadoc-mcp"], or "command": "javadoc-mcp" if globally installed.
Does Javadoc Mcp support authentication for private Maven repositories?
The README does not mention any authentication mechanisms; it assumes public Maven Central or repositories accessible via standard Maven settings.
Frequently asked questions
What are the system requirements?
Node.js 18+ is required, and the `mvn` command must be available in `PATH`.
Where are JavaDoc JARs stored locally?
Javadoc Mcp uses the local Maven repository, typically located at `~/.m2/repository`, or the path specified in `~/.m2/settings.xml` under `<localRepository>`.
How do I refresh the documentation for a library?
Delete the corresponding `*-javadoc.jar` from your local Maven repository for that artifact; the server will fetch it again on the next invocation.
How is Javadoc Mcp configured with MCP clients?
Add a server entry to your MCP client configuration (e.g., `~/.claude/settings.json` or `claude_desktop_config.json`) with `"command": "npx"` and `"args": ["-y", "javadoc-mcp"]`, or `"command": "javadoc-mcp"` if globally installed.
Does Javadoc Mcp support authentication for private Maven repositories?
The README does not mention any authentication mechanisms; it assumes public Maven Central or repositories accessible via standard Maven settings.
Basic information
More Other MCP servers

DeepMark
DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.

Lemon.io
lemon-ioRequest dedicated senior developers to work on your project, write job descriptions, and prep technical interviews — all without leaving your Claude chat. Just describe what you need, and Lemon.io MCP does the rest. 1–3
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Comments