Skip to content

Getting started

This guide takes you from nothing to asking your first question about your Starling Bank account. It takes about ten minutes.

starling-mcp is an unofficial community project, not affiliated with Starling Bank. It is read-only: no tool can make a payment or move money, and its client only sends GET requests.

  • A Starling Bank account (personal, joint, sole trader or business) in the UK that you can sign in to at developer.starlingbank.com.
  • Somewhere to run the server. On a Mac or Linux machine, Homebrew is the simplest: your MCP client starts the server when it needs it. To run it once as a service for several clients, use Docker on a NAS, a home server, a Raspberry Pi or a small VM.
  • An MCP client, such as Claude Code, Claude Desktop, VS Code, Cursor or Codex.

Using Claude Desktop on a Mac or Windows PC? There’s a one-click install. Do step 1, then install the extension bundle from the releases page and enter your token in its settings, instead of step 2.

Starling lets you make a personal access token for your own account, and choose what it may do. Make one that can only read.

  1. Go to the Starling Developer Portal and sign in with your Starling account.

  2. Add your account if it isn’t listed (you confirm in the Starling app), then open Personal Access.

  3. Create a token and tick only these read scopes:

    Scope Used for
    account:read Your accounts
    account-list:read Listing your accounts
    account-holder-name:read Recognising pay to and from you
    account-holder-type:read Personal or business behaviour
    account-identifier:read Sort code and account number (shown masked)
    balance:read Balances
    transaction:read The transaction feed, the heart of the analysis
    space:read Spaces
    savings-goal:read Savings goals
    mandate:read Direct debits
    standing-order:read Standing orders
    payee:read Payees
    payee-transaction:read Payments to each payee
    scheduled-payment:read Scheduled payments
    card:read Cards
    attachment:read Transaction attachments
    receipt:read Whether a transaction has a receipt
    feed-export-csv:read The statement export
  4. Copy the token.

You don’t have to tick them all. A tool whose scope is missing says which scope it needs, and the rest keep working.

Pick one of these options.

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.

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

Run claude mcp list to check that starling shows as connected. brew upgrade picks up new releases. For VS Code, Cursor, Codex and other clients, see Without Docker.

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

Terminal window
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 and set at least:

Terminal window
STARLING_ACCESS_TOKEN=<your-token> # from step 1
MCP_AUTH_TOKEN=a-long-random-string # generate one with: openssl rand -hex 32
Terminal window
docker compose up -d
docker compose logs -f starling-mcp

You should see lines like these:

starling-mcp 0.1.0: https://api.starlingbank.com, read-only, toolsets 5, transport http
starling-mcp listening on http://0.0.0.0:8080/mcp (bearer auth enabled)

And check that the server is reachable from another machine:

Terminal window
curl http://<docker-host>:8080/health
# {"status":"ok"}
Terminal window
claude mcp add --transport http starling http://<docker-host>:8080/mcp \
--header "Authorization: Bearer <MCP_AUTH_TOKEN>"

Run claude mcp list to check that starling shows as connected. For other clients, see Connecting MCP clients.

Start a new conversation and try:

  • “Give me an overview of my Starling accounts.”
  • “Where did my money go last month?”
  • “What subscriptions am I paying, and has anything gone up in price?”
  • “What’s coming out before payday?”

The assistant calls tools like starling_get_overview, starling_spending_summary and starling_find_recurring and summarises the results. In Claude Code you can also run the built-in prompts as slash commands, for example /mcp__starling__monthly_review.

If something goes wrong, the tool’s error message usually says what to fix. Troubleshooting covers the common errors.

A token belongs to one account holder, so a personal and a business account need two tokens. Make the second the same way (signed in to the business account in the developer portal), and add it with a name:

Terminal window
STARLING_ACCESS_TOKEN=<personal token>
STARLING_ACCESS_TOKEN_BUSINESS=<business token>

Tools then take an optional holder (default, business). Personal and business money are never mixed in one total. See Multiple account holders.

For honest totals, starling-mcp needs to know which payments are really you moving your own money. Two settings do that:

  • STARLING_OWN_ACCOUNTS: your accounts elsewhere (an ISA, another bank, a credit card). Payments to and from them become internal moves, left out of spending and income.
  • STARLING_COMPANY_ACCOUNTS: your company’s accounts elsewhere. Payments between them and you become owner pay (salary, dividends, drawings), not ordinary income or spending. On a business holder the roles swap: the company’s accounts elsewhere are internal, and payments to your own accounts are owner pay.
Terminal window
STARLING_OWN_ACCOUNTS="J SMITH ISA, 12-34-56 / 87654321"
STARLING_COMPANY_ACCOUNTS="SMITH CONSULTING LTD"

If your company or your other accounts are at Starling too and you’ve configured both tokens, you don’t need to list them. When a counterparty looks like you but isn’t listed, the results include a “possible own account” hint rather than guessing. Configuration has worked examples.