get_latest_package_versions
Check the latest stable versions of packages from NPM, PyPI, NuGet, Maven, Go, PHP, Ruby, Rust, Swift, Dart, Docker, Helm, and Terraform. Returns version info and errors for each package request.
Instructions
Get the latest versions of packages from various ecosystems.
This tool fetches the latest version information for packages from NPM, PyPI, NuGet, Maven/Gradle, Go modules, PHP/Packagist, Ruby gems, Rust crates, Swift packages, Dart packages, Docker, Helm, Terraform modules and Terraform providers. It returns both successful lookups and any errors that occurred.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| packages | Yes | A list of package version requests with: - ecosystem: "npm", "pypi", "nuget", "maven_gradle", "go", "php", "rubygems", "rust", "swift", "dart", "docker", "helm", "terraform_provider", or "terraform_module" - package_name: The name of the package (e.g., "express", "requests", "Newtonsoft.Json") For Maven/Gradle, use format "[registry:]<groupId>:<artifactId>" (e.g., "org.springframework:spring-core" for Maven Central, "maven.google.com:com.google.android.material:material" for Google Maven) For Go, use the absolute module identifier (e.g., "github.com/gin-gonic/gin") For PHP, use the Packagist package name in "vendor/package" format (e.g., "monolog/monolog", "laravel/framework") For RubyGems, use the gem name (e.g., "rails", "devise") For Rust, use the crate name (e.g., "serde", "tokio") For Swift, use the GitHub URL (e.g., "https://github.com/owner/repo.git" or "github.com/owner/repo.git") - only github.com is supported For Dart, use the package name from pub.dev (e.g., "flutter", "http") For Docker, this must be fully qualified (e.g., "index.docker.io/library/busybox") For Helm, use one of these formats: - ChartMuseum: "https://host/path/chart-name" (fetches from index.yaml) - OCI: "oci://host/path/chart-name" (queries OCI registry tags) - version_hint: (optional) For Docker and Helm OCI, used as a tag compatibility hint (e.g., "1.2-alpine") to find the latest tag matching the same suffix pattern. For NPM/PyPI/NuGet/Maven/ChartMuseum/Go/PHP/RubyGems/Rust/Swift/Dart, not used. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | ||
| lookup_errors | Yes |