maven-central-mcp

v1.0.2
io.github.mrfentmen/maven-central-mcp Checked 1 day ago Published 24 days ago

Maven 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).

ParameterTypeDescription
query *stringQuery, e.g. gson or g:com.squareup.retrofit2
limitintegerResults

artifact_versions

Published versions of one artifact, newest first.

ParameterTypeDescription
artifact_id *stringartifactId, e.g. guava
group_id *stringgroupId, e.g. com.google.guava
limitintegerVersions to return

latest_version

Latest published version and update date for one artifact.

ParameterTypeDescription
artifact_id *stringartifactId, e.g. guava
group_id *stringgroupId, e.g. com.google.guava

group_artifacts

Every artifact published under one groupId.

ParameterTypeDescription
group_id *stringgroupId, e.g. com.google.guava
limitintegerArtifacts to return

search_by_class

Find which artifact publishes a fully qualified Java class.

ParameterTypeDescription
class_name *stringFully qualified class, e.g. com.google.gson.Gson
limitintegerResults

dependency_snippet

Ready-to-paste pom.xml and build.gradle dependency blocks; uses the latest version when none is given.

ParameterTypeDescription
artifact_id *stringartifactId, e.g. guava
group_id *stringgroupId, e.g. com.google.guava
versionstringVersion; omit for the latest