Getting started
This guide takes you from nothing to asking your first question about your Starling Bank account. It takes about ten minutes.
- Option A: Homebrew (macOS or Linux)
- Option B: Docker (a long-running service)
- 3. Ask something
- If you also have a business account
- Telling it about your other accounts
- Next steps
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.
What you need
Section titled “What you need”- 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.
1. Create a read-only token
Section titled “1. Create a read-only token”Starling lets you make a personal access token for your own account, and choose what it may do. Make one that can only read.
-
Go to the Starling Developer Portal and sign in with your Starling account.
-
Add your account if it isn’t listed (you confirm in the Starling app), then open Personal Access.
-
Create a token and tick only these read scopes:
Scope Used for account:readYour accounts account-list:readListing your accounts account-holder-name:readRecognising pay to and from you account-holder-type:readPersonal or business behaviour account-identifier:readSort code and account number (shown masked) balance:readBalances transaction:readThe transaction feed, the heart of the analysis space:readSpaces savings-goal:readSavings goals mandate:readDirect debits standing-order:readStanding orders payee:readPayees payee-transaction:readPayments to each payee scheduled-payment:readScheduled payments card:readCards attachment:readTransaction attachments receipt:readWhether a transaction has a receipt feed-export-csv:readThe statement export -
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.
2. Run the server
Section titled “2. Run the server”Pick one of these options.
Option A: Homebrew (macOS or Linux)
Section titled “Option A: 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"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.
Option B: Docker (a long-running service)
Section titled “Option B: Docker (a long-running service)”Run it once on a server or NAS and connect any number of clients over HTTP.
Set up the server
Section titled “Set up the server”mkdir starling-mcp && cd starling-mcpcurl -fsSLO https://raw.githubusercontent.com/mattoddie/starling-mcp/main/compose.yamlcurl -fsSL https://raw.githubusercontent.com/mattoddie/starling-mcp/main/example.env -o .envEdit .env and set at least:
STARLING_ACCESS_TOKEN=<your-token> # from step 1MCP_AUTH_TOKEN=a-long-random-string # generate one with: openssl rand -hex 32Start the server
Section titled “Start the server”docker compose up -ddocker compose logs -f starling-mcpYou should see lines like these:
starling-mcp 0.1.0: https://api.starlingbank.com, read-only, toolsets 5, transport httpstarling-mcp listening on http://0.0.0.0:8080/mcp (bearer auth enabled)And check that the server is reachable from another machine:
curl http://<docker-host>:8080/health# {"status":"ok"}Connect your assistant
Section titled “Connect your assistant”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.
3. Ask something
Section titled “3. Ask something”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.
If you also have a business account
Section titled “If you also have a business account”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:
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.
Telling it about your other accounts
Section titled “Telling it about your other accounts”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.
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.
Next steps
Section titled “Next steps”- Expose fewer tools with
STARLING_TOOLSETSfor a faster, more focused assistant. See Configuration. - Put it behind HTTPS if you run it as an HTTP service that’s reachable outside your LAN. See Deployment.
- Learn what it can do in Using starling-mcp and the tool reference.