cli-mcp-go-ecosystem / module latest

module latest - cli-mcp-go-ecosystem CLI reference

NAME

latest - latest version of a module

SYNOPSIS

latest

DESCRIPTION

Returns the latest known version of a module path. Output is a JSON object with at least Version and Time fields:

{"Version":"v3.9.0","Time":"2026-05-09T21:35:44Z"}

MCP tool name: module_latest. Input: args (string array, first element is the module path).

Examples:

cli-mcp-go-ecosystem module latest github.com/urfave/cli/v3
# {"Version":"v3.9.0","Time":"2026-05-09T21:35:44Z"}

# MCP form
mcporter call go-ecosystem.module_latest \
  --args '{"args":["github.com/stretchr/testify"]}'
# {"Version":"v1.11.1","Time":"2026-03-17T18:11:02Z"}

# missing argument
cli-mcp-go-ecosystem module latest
# module-path is required

"Latest" follows Go's semver rules: stable releases (v1.x.x, v2.x.x) win over pre-release (v1.0.0-rc.1) unless no stable version exists. A retracted version is excluded.

Usage:

latest [GLOBAL OPTIONS] [command [COMMAND OPTIONS]] [ARGUMENTS...]