📇 ☕ 🏠 - Java Archive Reader Protocol - MCP server that gives AI agents X-ray vision into compiled Java code
JARP-MCP
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
**Java Archive Reader Protocol** — Give AI agents X-ray vision into compiled Java code
**npm** · **GitHub**
---
⚡ Get Started in 10 Seconds
Add this to your AI editor's MCP configuration:
That's it. **No installation. No configuration. CFR decompiler bundled.**
**What this enables:** Your AI agent (Claude, Cursor, Windsurf, Cline, etc.) can now:
- Decompile any Java class from your dependencies
- Analyze class structure, methods, and fields
- Read actual source code instead of guessing
Restart your AI editor and try: *"Show me the source code for JpaRepository"*
---
The Problem
AI agents like Claude, GPT-4, and Cursor **cannot read compiled Java code**. When working with Spring Boot, Maven, or any Java project:
> *"Show me how JpaRepository.saveAll() works"* → Agent **hallucinates** the method signature
> *"What parameters does this internal library function take?"* → Agent **guesses** wrong
> *"Why does this dependency throw this exception?"* → Agent **cannot see** the source
**Developers spend 5-10 minutes per class** manually decompiling with JD-GUI, copying source, and pasting into chat.
---
The Solution
**JARP-MCP** gives AI agents instant access to decompiled Java source code from your Maven & Gradle dependencies.
Impact
| Metric | Before | After |
|--------|--------|-------|
| Time to inspect a class | **5-10 min** | ** **Works with any MCP client over STDIO** — Claude, Cursor, Windsurf, Cline, Postman, and more.
---
License
Apache License 2.0 — see LICENSE
---
Acknowledgments
- **handsomestWei** — Original java-class-analyzer-mcp-server
- **Lee Benfield** — CFR Decompiler
- **Anthropic** — Claude & MCP ecosystem
---
**Built with ❤️ for the AI-powered development community**