Skip to main content
The Moneda CLI lets you interact with your Moneda account directly from the terminal. Check balances, browse transactions, send payments, and more — all without leaving the command line.
The API, MCP server and CLI are available on every plan today. If that changes for your plan, these surfaces return 403 PLAN_UPGRADE_REQUIRED and the message names the plans that include them.

Installation

Install the CLI globally with npm:
Verify the installation:

Quick start

Log in to your Moneda account:
This opens your browser for OAuth authentication. Approve the permissions, and the CLI stores a token locally. Confirm it worked before running anything else:
This prints the account the token belongs to and when it expires. If it says you’re not connected, the login did not complete — run moneda auth login again.
Every command below needs that token. Without a completed login the CLI exits with a missing-auth-token error. If you’d rather not log in interactively — CI, a cron job, a script — use an API key instead: moneda <command> --api-key mnd_.... See Authentication.
Check your balance:
List recent transactions:

Global flags

These flags work with any command:
Use --output json to pipe CLI output into other tools like jq for scripting and automation. Use --output toon to see exactly what an LLM agent would consume from the same endpoint (~40% fewer tokens than JSON on array-heavy responses — handy when prototyping against @moneda/services’s agent tools).

Response shape: --detail flag

Every GET command defaults to ?view=lite — the REST API returns a compact shape optimised for terminal rendering (fewer columns, no UI coaching fields, no masked raw routing). Pass --detail when you need the full shape — typically when scripting with --output json and want every field the server exposes.
If a command’s output looks truncated, try --detail --output json to see everything.

What’s next?

CLI Authentication

Set up and manage your CLI credentials.

Command Reference

Browse all available CLI commands.

CLI Examples

Common workflows and scripting examples.

REST API

Use the REST API directly for deeper integrations.