licli
CLI for Li Auto vehicle APIs — device activation/login, real-time status, monthly travel history, control commands, an HTTP API server, and an MCP server.
This package is a thin launcher around a native Go binary shipped as per-platform
optionalDependencies (@licli/linux-x64, @licli/linux-arm64, @licli/darwin-x64,
@licli/darwin-arm64, @licli/win32-x64). npm picks the matching one for your
platform automatically.
Usage
npx @licli/cli help
npx @licli/cli version
npm install -g @licli/cli
licli help
Command list is printed by licli help. Full docs live in the upstream
repository's README.
Activation code
Running any command except version/help requires a valid activation code:
export LICLI_CODE=<activation code>
licli login
licli vehicles
Codes are signed by the publisher with an Ed25519 key; the binary only verifies
them with its built-in public key.