skills$openclaw/monarch-money
davideasaf6.9k

by davideasaf

monarch-money – OpenClaw Skill

monarch-money is an OpenClaw Skills integration for coding workflows. TypeScript library and CLI for Monarch Money budget management. Search transactions by date/merchant/amount, update categories, list accounts and budgets, manage authentication. Use when user asks about Monarch Money transactions, wants to categorize spending, needs to find specific transactions, or wants to automate budget tasks.

6.9k stars5.4k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

namemonarch-money
descriptionTypeScript library and CLI for Monarch Money budget management. Search transactions by date/merchant/amount, update categories, list accounts and budgets, manage authentication. Use when user asks about Monarch Money transactions, wants to categorize spending, needs to find specific transactions, or wants to automate budget tasks. OpenClaw Skills integration.
ownerdavideasaf
repositorydavideasaf/monarch-money
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @davideasaf/monarch-money
last updatedFeb 7, 2026

Maintainer

davideasaf

davideasaf

Maintains monarch-money in the OpenClaw Skills directory.

View GitHub profile
File Explorer
86 files
.
cli
commands
accounts.ts
3.5 KB
auth.ts
2.9 KB
categories.ts
3.2 KB
doctor.ts
4.0 KB
receipts.ts
4.9 KB
test.ts
1.5 KB
transactions.ts
8.9 KB
utils
output.ts
1.5 KB
client.ts
1.9 KB
index.ts
873 B
lib
__tests__
operations.test.ts
6.1 KB
ResponseFormatter.test.ts
11.0 KB
simple-operations.test.ts
1.8 KB
api
accounts
AccountsAPI.ts
13.3 KB
index.ts
96 B
budgets
BudgetsAPI.ts
19.5 KB
index.ts
336 B
cashflow
CashflowAPI.ts
5.3 KB
index.ts
29 B
categories
CategoriesAPI.ts
16.2 KB
index.ts
56 B
insights
index.ts
29 B
InsightsAPI.ts
6.4 KB
institutions
index.ts
33 B
InstitutionsAPI.ts
3.0 KB
recurring
index.ts
30 B
RecurringAPI.ts
5.3 KB
transactions
index.ts
674 B
TransactionsAPI.ts
46.9 KB
index.ts
247 B
cache
index.ts
7.8 KB
MemoryCache.ts
3.8 KB
PersistentCache.ts
7.2 KB
client
auth
AuthenticationService.ts
18.5 KB
CaptchaAvoidanceService.ts
3.9 KB
CaptchaHandler.ts
2.4 KB
DirectAuthenticationService.ts
4.5 KB
index.ts
185 B
SessionStorage.ts
6.8 KB
graphql
GraphQLClient.ts
16.8 KB
index.ts
137 B
operations.ts
11.1 KB
MonarchClient.ts
11.3 KB
ResponseFormatter.ts
5.2 KB
types
generated.ts
5.0 KB
index.ts
12.3 KB
utils
encryption.ts
2.0 KB
errors.ts
7.2 KB
index.ts
4.5 KB
logger.ts
1.5 KB
validation.ts
7.0 KB
index.ts
1.4 KB
references
API.md
5.1 KB
TROUBLESHOOTING.md
4.8 KB
tests
e2e
auth.test.ts
2.4 KB
read.test.ts
3.8 KB
write.test.ts
3.6 KB
_meta.json
460 B
jest.config.js
782 B
package-lock.json
220.2 KB
package.json
2.0 KB
SKILL.md
4.7 KB
tsconfig.json
520 B
SKILL.md

name: monarch-money description: TypeScript library and CLI for Monarch Money budget management. Search transactions by date/merchant/amount, update categories, list accounts and budgets, manage authentication. Use when user asks about Monarch Money transactions, wants to categorize spending, needs to find specific transactions, or wants to automate budget tasks. metadata: clawdbot: requires: env: ["MONARCH_EMAIL", "MONARCH_PASSWORD", "MONARCH_MFA_SECRET"] install: - id: node kind: node package: "." bins: ["monarch-money"] label: "Install Monarch Money CLI"

Monarch Money

CLI and TypeScript library for Monarch Money budget automation.

Prerequisites

Environment Variables (Required)

VariableRequiredDescription
MONARCH_EMAILYesMonarch Money account email
MONARCH_PASSWORDYesMonarch Money account password
MONARCH_MFA_SECRETYesTOTP secret for MFA (see below)

Getting Your MFA Secret

Monarch Money requires MFA. Generate the TOTP secret:

  1. Login to https://app.monarchmoney.com
  2. Go to Settings > Security > Two-Factor Authentication
  3. If MFA is already enabled: disable and re-enable to get a new secret
  4. When shown the QR code: click "Can't scan? View setup key"
  5. Copy the secret key (base32 string like JBSWY3DPEHPK3PXP)
  6. Complete MFA setup in Monarch Money with an authenticator app
  7. Set the secret: export MONARCH_MFA_SECRET="YOUR_SECRET"

Quick Start

# Check setup
monarch-money doctor

# Login (uses env vars by default)
monarch-money auth login

# List transactions
monarch-money tx list --limit 10

# List categories
monarch-money cat list

CLI Commands

Authentication

# Login with environment variables
monarch-money auth login

# Login with explicit credentials
monarch-money auth login -e email@example.com -p password --mfa-secret SECRET

# Check auth status
monarch-money auth status

# Logout
monarch-money auth logout

Transactions

# List recent transactions
monarch-money tx list --limit 20

# Search by date
monarch-money tx list --start-date 2026-01-01 --end-date 2026-01-31

# Search by merchant
monarch-money tx list --merchant "Walmart"

# Get transaction by ID
monarch-money tx get <transaction_id>

# Update category
monarch-money tx update <id> --category <category_id>

# Update merchant name
monarch-money tx update <id> --merchant "New Name"

# Add notes
monarch-money tx update <id> --notes "My notes here"

Categories

# List all categories
monarch-money cat list

# List with IDs (for updates)
monarch-money cat list --show-ids

Accounts

# List accounts
monarch-money acc list

# Show account details
monarch-money acc get <account_id>

Doctor (Diagnostics)

# Run diagnostic checks
monarch-money doctor

Checks:

  • Environment variables set
  • API connectivity
  • Session validity
  • Node.js version

Library Usage

Import and use the TypeScript library directly:

import { MonarchClient } from 'monarch-money';

const client = new MonarchClient({ baseURL: 'https://api.monarch.com' });

// Login
await client.login({
  email: process.env.MONARCH_EMAIL,
  password: process.env.MONARCH_PASSWORD,
  mfaSecretKey: process.env.MONARCH_MFA_SECRET
});

// Get transactions
const transactions = await client.transactions.getTransactions({ limit: 10 });

// Get categories
const categories = await client.categories.getCategories();

// Get accounts
const accounts = await client.accounts.getAll();

Common Workflows

Find and Update a Transaction

# 1. Find the transaction
monarch-money tx list --date 2026-01-15 --merchant "Target"

# 2. Get category ID
monarch-money cat list --show-ids

# 3. Update the transaction
monarch-money tx update <transaction_id> --category <category_id>

Search Transactions by Date Range

monarch-money tx list --start-date 2026-01-01 --end-date 2026-01-31 --limit 100

Check Budget Status

monarch-money acc list

Error Handling

ErrorSolution
"Not logged in"Run monarch-money auth login
"MFA code required"Set MONARCH_MFA_SECRET environment variable
"Invalid credentials"Verify email/password work at app.monarchmoney.com
"Session expired"Run monarch-money auth login again

Session Management

Sessions are cached locally at ~/.mm/session.json. After initial login, subsequent commands reuse the saved session for faster execution.

To clear the session: monarch-money auth logout

References

README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

### Environment Variables (Required) | Variable | Required | Description | |----------|----------|-------------| | `MONARCH_EMAIL` | **Yes** | Monarch Money account email | | `MONARCH_PASSWORD` | **Yes** | Monarch Money account password | | `MONARCH_MFA_SECRET` | **Yes** | TOTP secret for MFA (see below) | ### Getting Your MFA Secret Monarch Money requires MFA. Generate the TOTP secret: 1. Login to https://app.monarchmoney.com 2. Go to Settings > Security > Two-Factor Authentication 3. If MFA is already enabled: disable and re-enable to get a new secret 4. When shown the QR code: click "Can't scan? View setup key" 5. Copy the secret key (base32 string like `JBSWY3DPEHPK3PXP`) 6. Complete MFA setup in Monarch Money with an authenticator app 7. Set the secret: `export MONARCH_MFA_SECRET="YOUR_SECRET"`

FAQ

How do I install monarch-money?

Run openclaw add @davideasaf/monarch-money in your terminal. This installs monarch-money into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/davideasaf/monarch-money. Review commits and README documentation before installing.