Browse docs

Command line

Last updated

@vestream/cli puts every API call in your terminal. Tables for people, JSON for scripts and agents, CSV for spreadsheets. Its commands are generated from the same tool definitions as the MCP server, so the two always match.

Install and sign in
npm install -g @vestream/cli
vestream login

Node 18 or later. Or run it without installing: npx @vestream/cli --help. vestream login saves your key to ~/.config/vestream/config.json, readable only by you; in CI or for an agent, set VESTREAM_API_KEY instead. There is no --key flag, so keys stay out of your shell history.

Examples
vestream unlocks --days 7 --min-usd 100000
vestream wallet 0x3f5C…8b2e --active-only
vestream token VEST --chain base
vestream income 0x3f5C…8b2e --csv --list unlocks > income.csv

Output

In a terminal you get a table, with amounts in whole tokens and times in UTC. Piped to another program you get JSON exactly as the API returns it (raw base units, Unix seconds). --json and --csv force either; --fields token_symbol,amount keeps only those columns. A response with several lists (wallet income has one per tax basis) shows each list, and CSV takes one with --list.

A ticker that matches more than one token prints the matches and asks you to choose with --chain and --token-address, rather than guessing. Chains can be given by name (--chain base,solana) or ID.

For AI agents

Teach Claude Code to use it
vestream skills install            # for every project
vestream skills install --project  # this folder only
vestream skills print              # for AGENTS.md or other agents

Each command is one API call and counts against your plan like any other; the CLI warns when 25 or fewer calls are left this month. Update with npm install -g @vestream/cli@latest.