Skip to main content
MCP server CX Codex

Kotlin & Java Library Sources — Claude Code MCP server: install

This MCP server gives agents parsed Kotlin and Java library sources, API details, and KDoc from Maven. Use it to inspect dependencies or trace library behavior.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add kotlin-java-library-sources -- docker run -i --rm ghcr.io/aoreshkov/kotlin-lib-mcp:0.9.0
Open on GitHub

What Kotlin & Java Library Sources does

The server fetches a Maven library when asked and analyzes its sources with Kotlin Analysis API in standalone K2/FIR mode. An agent can inspect public declarations, resolved signatures, KDoc, dependency metadata, raw source, and source search.

Its tools cover package and declaration browsing, version and API comparisons, dependency lookup, and library retrieval. Cached data is keyed by group/artifact/version, while Kotlin Multiplatform source variants are resolved through Gradle .module metadata. Missing transitive dependencies trigger a best-effort fallback for signature analysis.

The installation command below requires Docker. The server can connect to Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and the other listed MCP clients.

What it helps with

  • inspect a Kotlin class signature
  • read KDoc for a library declaration
  • trace an implementation in published sources
  • compare APIs across library versions
  • check Maven artifact dependencies

Example prompts for the agent

  • Show the public API for io.ktor:ktor-client-core:3.5.1.
  • Find the declaration for this class and explain its KDoc.
  • Compare two versions of this Maven library and list the API changes.

How to install Kotlin & Java Library Sources

Platform CLI

claude mcp add kotlin-java-library-sources -- docker run -i --rm ghcr.io/aoreshkov/kotlin-lib-mcp:0.9.0

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Kotlin & Java Library Sources

How do I install Kotlin & Java Library Sources in Claude Code?

Run claude mcp add kotlin-java-library-sources -- docker run -i --rm ghcr.io/aoreshkov/kotlin-lib-mcp:0.9.0.

What does Kotlin & Java Library Sources do?

It fetches Kotlin and Java sources from Maven, analyzes their API and KDoc, and exposes source reading, search, dependencies, and version details to the agent.

What is required to run the MCP server?

Docker is required for the Claude Code installation command. The server works with published Maven libraries and resolves Kotlin Multiplatform sources through Gradle metadata.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor