maven-central-mcp
v1.0.2Maven Central: artifact search, versions, group listings, class lookup, dependency snippets.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_artifacts
Search Maven Central with a Solr query (plain keywords, or g:/a:/fc: field queries).
| Parameter | Type | Description |
|---|---|---|
query * | string | Query, e.g. gson or g:com.squareup.retrofit2 |
limit | integer | Results |
artifact_versions
Published versions of one artifact, newest first.
| Parameter | Type | Description |
|---|---|---|
artifact_id * | string | artifactId, e.g. guava |
group_id * | string | groupId, e.g. com.google.guava |
limit | integer | Versions to return |
latest_version
Latest published version and update date for one artifact.
| Parameter | Type | Description |
|---|---|---|
artifact_id * | string | artifactId, e.g. guava |
group_id * | string | groupId, e.g. com.google.guava |
group_artifacts
Every artifact published under one groupId.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | groupId, e.g. com.google.guava |
limit | integer | Artifacts to return |
search_by_class
Find which artifact publishes a fully qualified Java class.
| Parameter | Type | Description |
|---|---|---|
class_name * | string | Fully qualified class, e.g. com.google.gson.Gson |
limit | integer | Results |
dependency_snippet
Ready-to-paste pom.xml and build.gradle dependency blocks; uses the latest version when none is given.
| Parameter | Type | Description |
|---|---|---|
artifact_id * | string | artifactId, e.g. guava |
group_id * | string | groupId, e.g. com.google.guava |
version | string | Version; omit for the latest |