Documentation Index
Fetch the complete documentation index at: https://help.mytruv.com/llms.txt
Use this file to discover all available pages before exploring further.
What is MyTruv CLI?
MyTruv CLI is a command-line tool for accessing your MyTruv financial data from the terminal. Check balances, pull transactions, review income, and analyze spending without leaving the shell. It authenticates via browser-based OAuth - no API keys or tokens to manage. The project is open source at github.com/truvhq/mytruv-cli.The CLI is read-only. It cannot modify your accounts, create transactions, or change any settings - the same guarantee as MyTruv MCP.
Prerequisites
- Python 3.10+
- A MyTruv account with at least one connected financial account
Install
- curl (recommended)
- uv
~/.local/bin by default. To install somewhere else, pass INSTALL_DIR to the piped shell:mytruv command is on your $PATH.
To uninstall:
Quick Start
Commands
Authentication
| Command | Description |
|---|---|
mytruv auth login | Authenticate via browser-based OAuth |
mytruv auth login --no-browser | Print login URL (for headless/remote machines) |
mytruv auth logout | Log out and revoke tokens |
mytruv auth status | Show current authentication status ({authenticated, user}) |
Financial Data
| Command | Description |
|---|---|
mytruv user | Your user profile, including lifecycle flags (subscription, onboarding, trial) |
mytruv links | Paginated list of connected providers ({count, next, previous, results}) |
mytruv balances | Aggregated balances by account type ({total_accounts, accounts, aggregated_balances}) |
mytruv liabilities | Aggregated liabilities for credit cards and loans ({accounts, liabilities}) |
mytruv transactions | Bank transactions, last 7 days by default (--from, --to, --categories, --page, --page-size) |
mytruv spending | Spending breakdown by category/merchant/time-period (--group-by, --time-period, --days, --start-date, --end-date) |
mytruv income | Income from payroll and bank sources, each tagged with data_source (--days, default 90) |
mytruv recurring | Recurring transactions (subscriptions, deposits) |
mytruv balance-history | Balance trends over time (--date-range 1m|3m|6m|1y|all, --time-period day|week|month) |
Output formats
Every data command accepts:| Flag | Behavior |
|---|---|
-o, --output [json|csv] | Force a format. Default: table on TTY, JSON when piped. |
--json | Shorthand for --output json. |
--no-color | Disable ANSI colors (useful in CI). |
"$1,234.56"). For raw numbers, use JSON.
MCP Server
| Command | Description |
|---|---|
mytruv mcp | Start an MCP stdio server for local AI agent integration |
Shell Completion
| Command | Description |
|---|---|
mytruv completion bash | Print bash completion script |
mytruv completion zsh | Print zsh completion script |
mytruv completion fish | Print fish completion script |
Next steps
Agent & Automation
JSON output, exit codes, MCP stdio mode, Gemini extension
MyTruv MCP
Hosted MCP server for remote AI assistants
GitHub Repo
Source, issues, and release notes
API Reference
REST API for programmatic access