|
469 | 469 | <ul class="md-nav__list" data-md-component="toc" data-md-scrollfix> |
470 | 470 |
|
471 | 471 | <li class="md-nav__item"> |
472 | | - <a href="#works-as-both-a-standalone-cli-and-an-mcp-server-for-ai-ides-like-cursor-and-claude-desktop" class="md-nav__link"> |
| 472 | + <a href="#jvm-api-explorer-mcp-server" class="md-nav__link"> |
473 | 473 | <span class="md-ellipsis"> |
474 | 474 |
|
475 | | - Works as both a standalone CLI and an MCP server for AI IDEs like Cursor and Claude Desktop. |
| 475 | + JVM API Explorer & MCP Server |
476 | 476 |
|
477 | 477 | </span> |
478 | 478 | </a> |
|
731 | 731 | <ul class="md-nav__list" data-md-component="toc" data-md-scrollfix> |
732 | 732 |
|
733 | 733 | <li class="md-nav__item"> |
734 | | - <a href="#works-as-both-a-standalone-cli-and-an-mcp-server-for-ai-ides-like-cursor-and-claude-desktop" class="md-nav__link"> |
| 734 | + <a href="#jvm-api-explorer-mcp-server" class="md-nav__link"> |
735 | 735 | <span class="md-ellipsis"> |
736 | 736 |
|
737 | | - Works as both a standalone CLI and an MCP server for AI IDEs like Cursor and Claude Desktop. |
| 737 | + JVM API Explorer & MCP Server |
738 | 738 |
|
739 | 739 | </span> |
740 | 740 | </a> |
|
830 | 830 |
|
831 | 831 |
|
832 | 832 | <h1 id="library-insight">Library Insight 🔍<a class="headerlink" href="#library-insight" title="Link to this section">¶</a></h1> |
833 | | -<h3 id="works-as-both-a-standalone-cli-and-an-mcp-server-for-ai-ides-like-cursor-and-claude-desktop">Works as both a standalone CLI and an MCP server for AI IDEs like Cursor and Claude Desktop.<a class="headerlink" href="#works-as-both-a-standalone-cli-and-an-mcp-server-for-ai-ides-like-cursor-and-claude-desktop" title="Link to this section">¶</a></h3> |
834 | | -<p>AI coding assistants often guess Java/Kotlin library APIs from old docs, latest web examples, or a different version than the one installed in your project. That leads to missing methods, deprecated usage, wrong signatures, and wasted debugging time.</p> |
835 | | -<p><strong>Library Insight</strong> fixes that by scanning the exact JAR/AAR, Gradle output, or Maven version you use. It reads compiled <code>.class</code> structures (using ASM) and Kotlin <code>@Metadata</code> annotations (using <code>kotlin-metadata-jvm</code>) to build a searchable, version-correct public API index.</p> |
836 | | -<p>Because it analyzes the compiled artifacts actually used by your project, the reported APIs always match the installed version rather than online documentation or outdated examples.</p> |
| 833 | +<h3 id="jvm-api-explorer-mcp-server">JVM API Explorer & MCP Server<a class="headerlink" href="#jvm-api-explorer-mcp-server" title="Link to this section">¶</a></h3> |
| 834 | +<p>Analyze Java & Kotlin libraries with a standalone CLI or integrate directly into AI IDEs via MCP.</p> |
| 835 | +<p>AI coding assistants often guess Java/Kotlin library APIs from outdated documentation, web examples, or a different version than the one installed in your project. That leads to missing methods, deprecated usage, incorrect signatures, and wasted debugging time.</p> |
| 836 | +<p><strong>Library Insight</strong> solves this by scanning the exact JAR, AAR, Gradle output, or Maven dependency used by your project. It reads compiled <code>.class</code> structures and Kotlin <code>@Metadata</code> annotations to build a searchable, version-correct public API index, ensuring the reported APIs always match the installed version instead of outdated documentation or web examples.</p> |
837 | 837 | <hr /> |
838 | 838 | <h2 id="key-features">Key Features<a class="headerlink" href="#key-features" title="Link to this section">¶</a></h2> |
839 | 839 | <ul> |
840 | | -<li>🔍 Search packages, classes, methods, and properties</li> |
841 | | -<li>📖 Explain APIs with signatures, documentation, and examples</li> |
842 | | -<li>🔄 Compare library versions and detect breaking changes</li> |
843 | | -<li>🚀 Generate migration reports</li> |
844 | | -<li>🧩 Analyze Kotlin DSLs and fluent APIs</li> |
845 | | -<li>🌳 Visualize dependency graphs and method call graphs</li> |
846 | | -<li>🚨 Detect dependency ABI conflicts before runtime</li> |
847 | | -<li>🤖 Integrate with Cursor, Claude Desktop, and other AI IDEs via MCP</li> |
| 840 | +<li><strong>MCP Server</strong>: Connect Cursor, Claude Desktop, or any MCP-compatible IDE to query APIs directly.</li> |
| 841 | +<li><strong>Version-Correct API Lookup</strong>: Scans the exact library version in your project to prevent AI hallucinations.</li> |
| 842 | +<li><strong>Deep Metadata Extraction</strong>: Extracts classes, constructors, methods, properties, nullability flags, generics, and annotations.</li> |
| 843 | +<li><strong>Kotlin DSL & Fluent API Mapping</strong>: Scans <code>@DslMarker</code> scopes, type aliases, lambda parameter builders, and inline reified functions.</li> |
| 844 | +<li><strong>Method Call Graph Generator</strong>: Recursively traces and renders method call trees inside bytecode to analyze internal invocations.</li> |
| 845 | +<li><strong>Automatic Usage Examples</strong>: Auto-generates standard boilerplate usage patterns and extracts guide examples from docs.</li> |
| 846 | +<li><strong>API Health & Complexity Audits</strong>: Computes public API count distributions, complexity indices, and deprecation ratio scores.</li> |
| 847 | +<li><strong>Linkage Conflict & ABI Detector</strong>: Scans your classpath for classpath mismatches that could trigger <code>LinkageError</code> or <code>NoSuchMethodError</code>.</li> |
| 848 | +<li><strong>Migration Advisor</strong>: Compares two versions and lists deprecated, added, and replacement APIs.</li> |
| 849 | +<li><strong>Dependency API Audit</strong>: Scans project dependencies and highlights deprecated library APIs inside bytecode.</li> |
| 850 | +<li><strong>Exporter Tools</strong>: Exports indexes to JSON, readable Markdown reference docs, or token-optimized AI context packages.</li> |
848 | 851 | </ul> |
849 | 852 | <hr /> |
850 | 853 | <h2 id="why-library-insight">Why Library Insight?<a class="headerlink" href="#why-library-insight" title="Link to this section">¶</a></h2> |
|
0 commit comments