@formo/cli
Command-line interface for the Formo API. Manage wallet profiles, alerts, dashboards, charts, contracts, segments, and run analytics SQL — directly from your terminal or via AI agents.
Installation
npm install -g @formo/cli
# or use without installing:
npx @formo/cliInstall the Formo Analytics agent skill
This repository also ships the formo-analytics skill for Claude Code, Codex, and other Agent Skills-compatible tools. It teaches agents to use Formo's MCP server, CLI, and REST API for project-scoped product and onchain analytics.
Install it in the current project:
npx skills add https://github.com/getformo/cli/tree/main/skills/formo-analyticsOr install it globally for Claude Code and Codex:
npx skills add getformo/cli --skill formo-analytics --global \
--agent claude-code --agent codexAuthentication
Save your API key locally:
formo login <apiKey>Or set the FORMOAPIKEY environment variable — it takes precedence over the saved config:
export FORMO_API_KEY=formo_abc123Get your API key from Settings → API in the Formo dashboard.
For local development or proxying, override API hosts with:
export FORMO_API_BASE_URL=http://localhost:3001
export FORMO_EVENTS_BASE_URL=http://localhost:3002