kotlin-lib-mcp

aoreshkov/kotlin-lib-mcp
★ 6 stars Kotlin AI/LLM Updated today
MCP server exposing the sources, public API and KDoc of Maven-published Kotlin/Java libraries
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "kotlin-lib-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "aoreshkov/kotlin-lib-mcp"
      ]
    }
  }
}

README Excerpt

Give your AI agent the **real sources** of any Maven-published Kotlin/Java library. An [MCP](https://modelcontextprotocol.io) server that, on request, downloads the sources of a library (e.g. `io.ktor:ktor-client-core:3.5.1`), parses them with the Kotlin **Analysis API** (standalone K2/FIR mode), and exposes structured information — public API surface, KDoc,

Tools (11)

coordinatefetch_libraryget_api_signatureget_dependenciesget_kdocget_latest_versionget_sourcelist_declarationslist_packageslist_versionssearch_source

Topics

ai-toolsanalysis-apiclaudeclaude-codedeveloper-toolsjvmkdockotlinkotlin-multiplatformllm-toolsmavenmcpmcp-servermodel-context-protocol