kotlin-lib-mcp
An MCP server that downloads, parses, and exposes structured information from Maven/Gradle-published Kotlin or Java library sources. It uses the Kotlin Analysis API to provide real, type-resolved public API signatures, KDoc, dependencies, and raw source code to AI agents like Claude Code, IntelliJ IDEA, VS Code, and GitHub Copilot. It supports Kotlin Multiplatform libraries and caches results for offline use.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Fetch public API signatures of a specific library version
- Retrieve KDoc documentation for library declarations
- Search within the raw source code of a library
- List available packages or versions for a library group
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
ghcr.io/aoreshkov/kotlin-lib-mcp:0.10.1
{
"transport": "stdio",
"identifier": "ghcr.io/aoreshkov/kotlin-lib-mcp:0.10.1",
"runtimeHint": "docker",
"registryType": "oci",
"packageArguments": [
{
"name": "--repo",
"type": "named",
"isRepeated": true,
"description": "Extra Maven repository to search, on top of Maven Central. Repeat it for each repository.",
"placeholder": "https://maven.google.com"
},
{
"name": "--max-concurrent-fetches",
"type": "named",
"format": "number",
"default": "2",
"description": "How many libraries may download and analyze at once; further fetch_library calls queue."
}
],
"runtimeArguments": [
{
"name": "-v",
"type": "named",
"value": "kotlin-lib-mcp-cache:/home/mcp/.cache",
"description": "Persist the downloaded sources and parsed index across container runs. Without it every session re-downloads and re-analyzes each library, since the container is --rm."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"kotlin-lib-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/aoreshkov/kotlin-lib-mcp:0.10.1"
]
}
}
}Cline
{
"mcpServers": {
"kotlin-lib-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/aoreshkov/kotlin-lib-mcp:0.10.1"
]
}
}
}VS Code
{
"servers": {
"kotlin-lib-mcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/aoreshkov/kotlin-lib-mcp:0.10.1"
]
}
}
}Claude Desktop
{
"mcpServers": {
"kotlin-lib-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/aoreshkov/kotlin-lib-mcp:0.10.1"
]
}
}
}Let your agent find its tools
Find servers like kotlin-lib-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.