Skip to main content
Glama
starling-mcp

starling-mcp

starling-mcp

Talk to your money.

An open-source, read-only Model Context Protocol server for Starling Bank customers in the UK. It lets Claude and other AI assistants look at your balances and transactions and, more usefully, answer the questions you actually have: where the money went, which subscriptions have crept up, what is coming out before payday, what you have paid yourself from your company. Install it with Homebrew, run it in Docker, or add it to Claude Desktop in one click.

CI Release Container image License: MIT

starling-mcp.mattoddie.dev

Quick start · Documentation · Tool reference · Contributing

NOTE

starling-mcp is anunofficial, independent community project. It is not affiliated with, endorsed by or supported by Starling Bank. It uses Starling's public developer API with your own personal access token.

IMPORTANT

It can never move money. There are no payment, transfer or payee tools, and the client inside it only ever sends GET requests. Make your token read-only as well, so that even a leaked token can't pay anyone: see step 1.


"What's coming out before payday, and has anything gone up in price?" Payday looks like the 25th, 11 days away. You have £1,420.55 now and £868.00 is due before then (rent £650.00, Sample Energy £124.00 and about £94.00 of subscriptions), so roughly £552.55 should be left, a little less if card payments are still pending. Two subscriptions have risen: Example Streaming from £9.99 to £11.99 in August, and Sample Cloud Storage from £2.49 to £2.99.

(Made-up names and figures.) Ask about your money in plain English. The assistant picks from 18 tools (and an opt-in raw tool) to look things up, and from 5 prompts for common jobs. Some examples:

  • 📊 "Where did my money go last month, and how does it compare with the month before?"

  • 🔁 "What subscriptions am I paying? Has anything gone up in price?"

  • 🗓️ "What's coming out before payday? Will I have enough?"

  • 🔎 "Anything odd on my account this month? Have I been charged twice?"

  • 🧑‍💼 "What salary and dividends have I taken from my company this tax year?"

  • 📉 "How low did my balance get over the last three months?"

Highlights

  • 📊 Analysis, not raw feeds. Starling's in-app spending insights aren't in its public API, so starling-mcp works them out from your transactions: totals by category, merchant, month or weekday, comparisons with the previous period or last year, recurring payments with price rises, regular income and paydays, upcoming payments, balance history and unusual payments. The sums are done by the server, not by the model.

  • 🧮 Totals you can check. Every result says what it left out and how much: moves between your own accounts, owner pay, pending items. Amounts in different currencies are never added together.

  • 🧑‍💼 Owner pay done right. If you pay yourself from your own company, that money is owner pay (salary, dividends, drawings) on both sides, not spending on the company account and not an internal move on yours. Accounts of yours elsewhere, such as an ISA, can be listed so transfers to them are internal. When a counterparty looks like you but isn't listed, the tools say so rather than guess.

  • 🏢 Personal and business. Personal, joint, sole trader and business accounts, with one token per holder. Personal and business money never appear in one total.

  • 🛡️ Read-only by design. No tool can make a payment or change anything. Account numbers, IBANs and addresses are masked unless you ask. The raw API tool is GET only, and off unless you name it.

  • 🔑 Your token, your scopes. Create a personal access token with only the read scopes you want to share. A token that can do more than read is flagged at start-up. The token never appears in output or logs.

  • 📦 Install it your way. A single static Go binary with no dependencies: brew install mattoddie/tap/starling-mcp, a tiny distroless Docker image (ghcr.io/mattoddie/starling-mcp, linux/amd64 and linux/arm64, non-root, nothing stored), a one-click extension bundle (.mcpb) for Claude Desktop, or plain binaries for macOS, Linux and Windows.

  • 🧪 Tested without real data. The test suite runs against a mock Starling API fed by a synthetic account generator with an answer key. No real bank data is used anywhere.

Related MCP server: Bank

Quick start

You need a Starling Bank account and an MCP client such as Claude Code.

1. Create a read-only token in the Starling Developer Portal under Personal Access. Tick only these read scopes, and no scope that can pay or transfer:

account:read, account-list:read, account-holder-name:read, account-holder-type:read, account-identifier:read, balance:read, transaction:read, space:read, savings-goal:read, mandate:read, standing-order:read, payee:read, payee-transaction:read, scheduled-payment:read, card:read, attachment:read, receipt:read and feed-export-csv:read.

You don't have to tick them all: a tool whose scope is missing says which one it needs. Getting started explains what each is for.

2. Install and connect. Pick one of these.

With Homebrew (macOS or Linux)

Your MCP client starts the server when it needs it, over stdio. There's nothing to keep running and no MCP_AUTH_TOKEN to set.

brew install mattoddie/tap/starling-mcp

claude mcp add starling \
  --env STARLING_ACCESS_TOKEN=<your-token> \
  -- "$(brew --prefix)/bin/starling-mcp"

Now ask "Give me an overview of my Starling accounts." in Claude Code. brew upgrade picks up new releases. For VS Code, Cursor or Codex, see Without Docker.

With Docker (a long-running service)

Run it once on a server or NAS and connect any number of clients over HTTP.

mkdir starling-mcp && cd starling-mcp
curl -fsSLO https://raw.githubusercontent.com/mattoddie/starling-mcp/main/compose.yaml
curl -fsSL https://raw.githubusercontent.com/mattoddie/starling-mcp/main/example.env -o .env
# Edit .env: set STARLING_ACCESS_TOKEN
# and a random MCP_AUTH_TOKEN (e.g. `openssl rand -hex 32`)
docker compose up -d

claude mcp add --transport http starling http://<docker-host>:8080/mcp \
  --header "Authorization: Bearer <MCP_AUTH_TOKEN>"

For other clients, see Connecting MCP clients. Docker also has a stdio mode with docker run -i.

Claude Desktop in one click

On a Mac or Windows PC, download the .mcpb bundle for your computer from the latest release, open it, and enter your token in the settings. See Claude Desktop.

starling-mcp is listed in the MCP Registry as io.github.mattoddie/starling-mcp, so clients that install from the registry can find it there, with the Docker image and the bundles.

Your company and your other accounts

A business account needs its own token (STARLING_ACCESS_TOKEN_BUSINESS); tools then take a holder. To keep totals honest, tell starling-mcp about your accounts elsewhere:

STARLING_OWN_ACCOUNTS="J SMITH ISA, 12-34-56 / 87654321"   # your accounts: internal moves, not spending
STARLING_COMPANY_ACCOUNTS="SMITH CONSULTING LTD"           # the company's: pay from here is owner pay

On a business holder the roles swap: payments to your own accounts are owner pay, and moves to the company's accounts elsewhere are internal.

For example, SMITH CONSULTING LTD paying J SMITH £2,500 is owner pay on both sides, and £500 a month from your Starling account to your ISA elsewhere is an internal move once the ISA is listed. Configuration has worked examples.

What it can do

Toolset

What's covered

accounts

The overview (accounts, balances, Spaces), one account in detail, cards, and what your token is allowed to do

transactions

The transaction feed with filters, one transaction in full (card details, attachments), and Starling's CSV statement export

insights

Spending summaries and comparisons, recurring payments and price rises, upcoming payments, income and paydays, balance history, owner pay by tax year, unusual payments

bills

Direct debits, standing orders and payees

spaces

Savings goals and spending Spaces with balances and targets

raw

A GET to any /api/v2/... path. Opt-in: only enabled when named in STARLING_TOOLSETS, for example all,raw. It returns identifiers unmasked

See the tool reference for every tool and argument. Ready-made prompts (monthly_review, subscription_audit, payday_check, business_month_end and find_savings) chain the tools together for common jobs.

Documentation

The docs are also published at starling-mcp.mattoddie.dev/docs, with search.

🚀 Getting started

Step-by-step setup, from a read-only token to your first question

🔌 Connecting MCP clients

Claude Code, Claude Desktop, VS Code, Cursor, Codex, stdio mode

⚙️ Configuration

Every environment variable, account holders, your own and company accounts, Docker secrets, toolsets

🐳 Deployment

Compose, image tags, upgrades, TLS reverse proxy, hardening, running without Docker

💬 Using starling-mcp

Example conversations, prompts, how owner pay and internal moves are treated, what each insight assumes

🧰 Tool reference

Every tool and prompt, generated from the code

🛡️ Security

Threat model, the token, recommended setups

📡 Compatibility

The Starling API, account types, and known gaps

🩹 Troubleshooting

Common errors and how to fix them

🛠️ Development

Architecture, adding a tool, testing, the synthetic data generator

Contributing

Contributions are very welcome, whether that's bug reports, notes on how the Starling API behaves, docs or new tools. Read the contributing guide to get started, and please follow the code of conduct. To report a vulnerability, see the security policy. Please don't open a public issue for one.

License

MIT © Matt Oddie

starling-mcp is an independent community project. It is not affiliated with, endorsed by or sponsored by Starling Bank Limited. "Starling" and "Starling Bank" are trademarks of their owners and are used here only to describe what the software works with. Totals are computed from your transaction feed and are not financial or tax advice.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Give Claude AI read-only access to your Monzo bank account through the Model Context Protocol, enabling insights into spending, balances, and transactions via natural conversation.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables Claude to securely access your own European bank accounts read-only via PSD2, letting you check balances, transactions, and set up alerts through natural language.
      1
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables Claude to read UK bank account data—balances, transactions, cards, standing orders, direct debits, and identity—through TrueLayer's Data API, with local caching and optional live refreshes. It is read-only by design, requiring consent and never moving money.
      12
      2
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to securely access and analyze personal finance data, including accounts, transactions, budgets, subscriptions, cashflow, and spending insights.
      MIT