Repository avatar
Finance
v1.4.0
active

cashly

com.corenexis/cashly

Personal finance tracker: expenses, income, monthly budgets, EMIs, debts, subscriptions and bills.

Documentation

Cashly logo

Cashly API and MCP Server

Expense, EMI and debt tracker with a REST API and a remote MCP server.
Let ChatGPT, Gemini, n8n or any other MCP client or AI agent read and log your money, in any currency.

Website · MCP guide · API docs · Google Play · MCP Registry

Cashly - expense, EMI and debt tracker


What is Cashly?

Cashly is a free personal finance app for Android and the web, used worldwide in any currency and time zone. It tracks expenses and income, real balances for banks, cards and wallets, EMIs and loans, money lent and borrowed, and bills before they are due. It never asks for a bank login and has no ads. On Android, an optional Auto tracker (beta, paid plans) can log bank, card and wallet transaction SMS for you: it stays off until you turn it on and allow the SMS permission, messages are read on the phone and their text never leaves it, and you can turn it off any time.

This repository is the public home of Cashly's developer surface:

MCP serverhttps://cashly.corenexis.com/api/mcp - remote, Streamable HTTP, OAuth 2.1 or API key
REST APIhttps://cashly.corenexis.com/api/v1 - JSON, x-api-key header
WebhooksSigned event deliveries for every create, update and delete
n8nCommunity node @corenexis/n8n-nodes-cashly
Registry namecom.corenexis/cashly on the Official MCP Registry

The server is hosted by Corenexis. There is nothing to install or run: point your client at the URL.

What you can do with it

Ask an assistant things like:

  • "Add 450 for groceries paid by UPI today."
  • "How much did I spend on food this month compared with last month?"
  • "Which bills are due in the next 7 days?"
  • "Record this month's car loan EMI as paid."
  • "Who owes me money, and how much is left on each?"
  • "Create a credit card called Travel Card with a 2,00,000 limit."
  • "Am I within my budget this month?"
  • "I moved 5,000 from my bank account to my wallet."

Every action works on the signed-in user's own data, and nothing moves real money: recording a payment or a transfer only updates the tracker.

Quick start

1. Get access

  • ChatGPT and other OAuth clients: no key needed. You sign in to Cashly and approve access.
  • Everything else: create an API key in Cashly under Settings -> Developer -> API keys. Keys look like cn_cashly_... and can be read and write or read only. Up to 5 keys per account.

If an account does not include API and MCP access, the server says so in its reply.

2. Connect your client

ChatGPT (OAuth, no key)
  1. ChatGPT -> Settings -> Apps (Connectors) -> Advanced, turn on Developer mode.
  2. Create app (add a custom MCP server):
    • Name: Cashly
    • Server URL: https://cashly.corenexis.com/api/mcp
    • Authentication: OAuth (leave client ID and secret empty - ChatGPT registers itself)
  3. Press Connect, sign in to Cashly and press Allow. Tick Read only if ChatGPT should only look.
Command-line MCP clients

Most command-line clients add a remote server with one command. The exact syntax depends on the client; the values are always the same:

  • Transport: http (Streamable HTTP)
  • URL: https://cashly.corenexis.com/api/mcp
  • Header: x-api-key: cn_cashly_your_key_here

For example:

<your-client> mcp add --transport http cashly https://cashly.corenexis.com/api/mcp \
  --header "x-api-key: cn_cashly_your_key_here"
Desktop MCP clients that use a JSON config

Clients that only start local (stdio) servers can reach Cashly through the mcp-remote bridge. Add this to the client's MCP config file (see examples/mcp_client_config.json):

{
  "mcpServers": {
    "cashly": {
      "command": "npx",
      "args": [
        "-y", "mcp-remote", "https://cashly.corenexis.com/api/mcp",
        "--header", "x-api-key:cn_cashly_your_key_here"
      ]
    }
  }
}
Cursor, VS Code and other MCP clients

Any client that supports remote Streamable HTTP servers can connect with:

{
  "mcpServers": {
    "cashly": {
      "url": "https://cashly.corenexis.com/api/mcp",
      "headers": { "x-api-key": "cn_cashly_your_key_here" }
    }
  }
}
n8n
  • Workflows: install the community node @corenexis/n8n-nodes-cashly (Settings -> Community nodes). It has every Cashly action plus an instant webhook trigger.
  • AI Agent: add an MCP Client node (or the MCP Client Tool inside an AI Agent node), transport HTTP Streamable, endpoint https://cashly.corenexis.com/api/mcp, header x-api-key with your key.
curl / any HTTP client
# List the tools
curl -X POST https://cashly.corenexis.com/api/mcp \
  -H "x-api-key: cn_cashly_your_key_here" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

# Log an expense
curl -X POST https://cashly.corenexis.com/api/mcp \
  -H "x-api-key: cn_cashly_your_key_here" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 2,
    "method": "tools/call",
    "params": {
      "name": "create_transaction",
      "arguments": { "type": "debit", "amount": 500, "category": "Groceries" }
    }
  }'

MCP tools

Server version 1.6.0. ChatGPT and other assistant connections (OAuth) get 75 tools; API-key connections get 79, the same 75 plus 4 earlier names kept so saved workflows keep working. Reads are marked read-only and changes destructive, so clients can ask before acting.

AreaTools
Start hereget_overview (profile, currency, every account with its id, categories and payment methods in one call)
Accountget_profile, health_check, get_rate_limit_status, get_usage, get_user, update_user, list_signed_in_devices, list_connected_apps, update_notifications
Reference, stats and budgetget_categories, get_payment_methods, get_stats, get_budget, set_budget, delete_budget, compare_months
Transactionslist_transactions, get_transaction, create_transaction, update_transaction, delete_transaction
Debts (lend and borrow)list_debts, get_debt, create_debt, update_debt, delete_debt, record_debt_payment, settle_debt, add_to_debt, unsettle_debt
Accounts and transferslist_accounts, list / create / update / delete for banks, credit cards, debit cards and wallets, and create_transfer for money moved between the user's own accounts
EMIs and loanslist_emis, get_emi, get_emi_payments, create_emi, update_emi, delete_emi, record_emi_payment
Subscriptionslist_subscriptions, get_subscription, get_subscription_payments, create_subscription, update_subscription, delete_subscription, record_subscription_payment
Upcoming billsget_upcoming_bills, record_bill_payment, skip_upcoming_bill
Webhookslist_webhook_events, list_webhooks, get_webhook, create_webhook, update_webhook, rotate_webhook_secret, delete_webhook, send_webhook_test, list_webhook_deliveries

Full list, earlier tool names and removed tools: docs/mcp.md.

REST API

Base URL https://cashly.corenexis.com/api/v1, header x-api-key: <key> (or Authorization: Bearer <key>).

curl https://cashly.corenexis.com/api/v1/transactions \
  -H "x-api-key: cn_cashly_your_key_here" \
  -H "User-Agent: my-app/1.0"

Resources: /me, /usage, /categories, /payment-methods, /stats, /transactions, /debts, /accounts, /banks, /credit-cards, /debit-cards, /wallets, /emis, /subscriptions, /upcoming-bills, /webhooks. Data resources support list, get, create, update and delete.

Details, rate limits and error codes: docs/rest-api.md. Webhooks: docs/webhooks.md.

Security and privacy

  • OAuth 2.1 with PKCE and Dynamic Client Registration; access tokens last one hour.
  • API keys can be read only; every request is scoped to the key owner's data.
  • Keys and connected apps can be revoked any time in Settings -> Developer.
  • No bank login and no card numbers. Data is never sold or shared with advertisers.
  • The optional Android Auto tracker (beta, paid plans) reads incoming bank, card and wallet transaction SMS on the phone only after you turn it on and allow the permission. Only the entry details (amount, type, date, merchant, bank or card name, last 4 digits) are sent, never the message text. Turn it off any time.

Links


Cashly is built by Corenexis. This repository holds documentation and examples; the Cashly service itself is hosted by Corenexis. Examples are released under the MIT License.

No installation packages available.