# Cobalt Finance for Raycast

URL: https://www.raycast.com/sriket_komali/cobalt-finance

> View your Cobalt finances: recent transactions, subscriptions and recurring bills, and bank account balances, and ask AI about your spending.

- Install: raycast://extensions/sriket_komali/cobalt-finance
- Author: [Sriket Komali](https://www.raycast.com/sriket_komali)
- Installs: 8
- Platforms: macOS
- Categories: Finance, Productivity, AI Extensions
- Updated: 2026-11-17
- Source: https://github.com/raycast/extensions/tree/8d846393b506d23c5d9ebae29bb35e3dc7653829/extensions/cobalt-finance/

## Commands

- **Recent Transactions**: Browse and search your recent Cobalt transactions
- **Recurring Transactions**: Active subscriptions, bills, and recurring income
- **Accounts**: Connected bank and credit accounts with current balances

## AI tools

- **Execute Cobalt Code**: Run JavaScript inside the Cobalt sandbox with access to the typed cobalt.* SDK (transactions, accounts, recurring streams, portfolio, news, tickers). userId is captured server-side and cannot be overridden. Use this for any question that needs the user's financial data. IMPORTANT: list endpoints return wrapper objects, not raw arrays — destructure first. Example: const { transactions } = await cobalt.transactions.list({ pageSize: 10 }); console.log(transactions.map(t => `${t.name} ${t.amount}`).join('\n'));

## README

### Cobalt for Raycast

Access your [Cobalt](https://cobaltpf.com) finances from Raycast — recent transactions, recurring streams, and account balances, plus an AI command that runs JavaScript against your data inside the Cobalt sandbox.

#### Commands

- **Recent Transactions** — browse and search recent transactions across all connected accounts.
- **Recurring Transactions** — active subscriptions, bills, and recurring income.
- **Accounts** — connected bank, credit, and brokerage accounts with current balances.

#### AI

The `Execute Cobalt Code` tool lets `@cobalt` answer free-form questions about your finances by running JavaScript inside a V8 sandbox with a typed `cobalt.*` SDK scoped to your account. Ask things like:

- `@cobalt how much did I spend on coffee in the last 90 days`
- `@cobalt top 5 merchants this month by spend`
- `@cobalt what's my net worth`

#### Setup

1. Sign in with your Cobalt account on first launch — Raycast opens a browser window for OAuth.
2. (Optional) Override the API base URL under Extension preferences if you self-host.
3. (Optional) Add a [logo.dev](https://logo.dev) token if you want subscription brand logos.

#### Privacy

All data is fetched live from the Cobalt API over HTTPS. The OAuth refresh token is stored in the macOS Keychain. No analytics. No third-party tracking.

#### License

MIT (see `package.json`). This is a standalone Raycast extension that talks to the Cobalt API over HTTPS — no shared server code, no derivative work from the AGPL parts of the repo.
