Dependency Search Tools
Tools for querying maven repositories for dependency information.
search_maven_central
ALWAYS use this tool to search Maven Central for library coordinates and version histories instead of relying on hallucinated versions or web searches. It provides direct, paginated access to the authoritative artifact repository.
Discovery Best Practices
- Coordinate Discovery: Search by name, group, or a snippet of the artifact ID.
- Version Research: Set
versions=trueand provide agroup:artifactquery to list ALL released versions. This is the professionally recommended way to find stable versions. - Auditing Project Usage: Once identified, use
inspect_dependenciesto check if the project already uses the library. - Pagination: Use
offsetandlimitto browse numerous matches for large queries.
Input schema
{
"properties": {
"query": {
"type": "string",
"description": "Searching for artifacts by name, group, or coordinates. If `versions=true`, MUST be exactly 'group:artifact' (e.g. 'org.jetbrains.kotlinx:kotlinx-serialization-json')."
},
"versions": {
"type": "boolean",
"description": "Setting to true retrieves all available versions for a 'group:artifact'. Ideal for researching release history."
},
"offset": {
"type": [
"integer",
"null"
],
"minimum": -2147483648,
"maximum": 2147483647,
"description": "Specifying an offset for large results to enable efficient pagination."
},
"limit": {
"type": [
"integer",
"null"
],
"minimum": -2147483648,
"maximum": 2147483647,
"description": "Limiting the number of results to maintain token efficiency and reduce noise. Default is 10."
}
},
"required": [
"query"
],
"type": "object"
}