up-personal-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
up-personal-mcp
A small server that gives your own AI agents read-only tools for your own Up bank account. It speaks the Model Context Protocol (MCP) over HTTPS and runs as a Cloudflare Worker that you deploy yourself, with your own key and your own Up personal access token. Nobody else is involved: there are no accounts, no sign-in page and no database.
Reads only. It sends
GETto Up and nothing else. It cannot move money, tag, categorise or create anything.Returns little. Named fields an agent needs to answer a question. Never an account number, a BSB, a card detail or Up's raw answer.
Holds nothing. No secret is in this repository, and nothing about your money is stored between calls.
It began as a personal tool, set up for use with Ambuity, and works with any MCP client.
Not affiliated with or endorsed by Up. MIT licensed.
The tools
Tool | What it answers |
| Is the server reachable, which tool sets are on, can it reach the bank. |
| Each account's display name, kind ( |
| One account by display name, or totals by kind. |
| Newest first for a date range; optional account, category, text match, settled or held. At most 50 rows, with |
| One transaction, by the id an earlier answer gave. |
| Totals by category and by merchant for a date range, the five largest payments, and the change against the same number of days before. One call answers most questions. |
| Up's category ids, names and parents. |
| Payments that repeat at a steady interval, the usual amount and the next expected date. |
Dates are days (YYYY-MM-DD) in the TIMEZONE set in wrangler.jsonc
(default Australia/Brisbane; change it to any IANA zone name, such as
Australia/Melbourne). A range defaults to the last 31 days and is
at most 366. Amounts are strings with a currency; negative is money out.
A merchant's description and a payment's message are someone else's words:
they come back only in fields named ..._from_bank, cut at 200 characters.
Related MCP server: mcp-upbank
From fork to a working server
You need Node 22 or later, pnpm, and a free Cloudflare account.
1. Run it locally with made-up data
pnpm install
cp .dev.vars.example .dev.varsOpen .dev.vars and make up a local SERVER_KEY (8 to 1,024 printable
characters, no spaces). Leave UP_FAKE=1: the Up tools then answer from
invented data inside the Worker and never contact the bank. .dev.vars is
git-ignored.
pnpm test # the whole test suite, no network, no bank
pnpm dev # serves http://127.0.0.1:8787In a second terminal, with the same key in MCP_KEY:
MCP_KEY=<your local key> node scripts/smoke.mjs http://127.0.0.1:8787/mcpIt does the MCP handshake, calls every tool and prints each answer's size and
time. Add --show to see the answers.
2. Deploy it
pnpm exec wrangler login
pnpm exec wrangler deployWrangler prints your Worker's address, like
https://up-personal-mcp.<your-subdomain>.workers.dev. Until a key is set the
server answers 401 to everything, so deploying first is safe.
Make a long random key, and keep it in your password manager:
node -e "console.log(require('node:crypto').randomBytes(32).toString('base64url'))"Set the two secrets. Each command asks for the value and stores it encrypted at Cloudflare; it is never written to a file here.
pnpm exec wrangler secret put SERVER_KEY
pnpm exec wrangler secret put UP_TOKENUP_TOKEN is your Up personal access token: follow "Get your Personal Access
Token" at https://developer.up.com.au. Check the server:
curl https://up-personal-mcp.<your-subdomain>.workers.dev/health
MCP_KEY=<your key> node scripts/smoke.mjs https://up-personal-mcp.<your-subdomain>.workers.dev/mcpNever set UP_FAKE on a deployed Worker.
3. Add it to an MCP client
The address is your Worker's address followed by /mcp. The key is sent as
Authorization: Bearer <key>.
Ambuity: Customize, Apps, "Add your own server". Enter the address (ending in
/mcp) and the key, and mark the server read only: every tool here only reads.Claude Code:
claude mcp add --transport http up https://up-personal-mcp.<your-subdomain>.workers.dev/mcp --header "Authorization: Bearer <key>"Anything else: any client that speaks MCP's streamable HTTP transport with a Bearer header. The server answers plain JSON, keeps no session, and accepts protocol versions
2025-11-25,2025-06-18,2025-03-26and2024-11-05.
Changing the key
Set the new key as SERVER_KEY_NEXT (both keys are then accepted), change it
in your client, then set SERVER_KEY to the new key and remove the old one:
pnpm exec wrangler secret put SERVER_KEY_NEXT
pnpm exec wrangler secret put SERVER_KEY
pnpm exec wrangler secret delete SERVER_KEY_NEXTIf a key or the Up token may have leaked, replace it at once; revoke the Up token in the Up app.
Settings
Secrets (set with wrangler secret put, never committed): SERVER_KEY,
UP_TOKEN, optional SERVER_KEY_NEXT.
Plain settings in wrangler.jsonc: ENABLE_UP ("1" registers the Up
tools), TIMEZONE, RATE_LIMIT_PER_MINUTE (accepted calls, default 60,
counted per Worker instance), and the ratelimits entry (requests per caller
address, 120 a minute; if wrangler deploy says its namespace_id is taken
in your account, change it to any other whole number). The file holds no account id, route or hostname: Wrangler takes the
account from your login or CLOUDFLARE_ACCOUNT_ID.
Limits it keeps
Bound | Value |
Request body | 32 KiB |
A call's arguments | 16 KiB, and every argument has its own length or range |
An answer | refused over 15,000 characters; lists stop adding rows at 12,000 |
One request to Up | cut after 8 seconds |
One tool call | starts no new request to Up after 20 seconds, or after 40 requests |
One caller address | 120 requests a minute, counted before the key is checked; then an empty |
Log line | time, tool name, outcome, duration. Never arguments, answers or secrets |
Answer sizes measured against the fake on 28 November 2026 (pnpm measure),
in characters: check_connection 179, list_accounts 519, get_balance 283,
list_transactions 5,620 at the default 25 rows and 10,851 at the most (50
rows), get_transaction 418, summarise_spending 3,387 for 31 days and 3,380
for 366, list_categories 1,028 (16 made-up categories; Up has more),
find_recurring 1,044. Not yet measured against the real bank.
What was checked against Up's documentation
Read on 28 November 2026 from https://developer.up.com.au and the OpenAPI definition Up publishes at https://github.com/up-banking/api.
Confirmed and relied on:
Base
https://api.up.com.au/api/v1; the personal access token is sent as a Bearer token;GET /util/pinganswers200, or401for a bad token.GET /accounts(page[size]):displayName,accountType(SAVER,TRANSACTIONAL,HOME_LOAN),ownershipType(INDIVIDUAL,JOINT),balance(currencyCode,value,valueInBaseUnits).GET /transactionsandGET /accounts/{accountId}/transactionswithpage[size],filter[status](HELD,SETTLED),filter[since],filter[until](RFC 3339 date-times) andfilter[category](a category id; a parent includes its children; an unknown id is a404). Newest first.GET /transactions/{id}:status,rawText,description,message,amount,foreignAmount,settledAt,createdAt,transactionType, and theaccount,transferAccount,category,parentCategoryandtagsrelationships.GET /categories(not paged):id,name,parent.Paging by following
links.nextuntil it isnull;page[size]generally at most 100. Errors:401,404,429when rate limited,5xx.
Where Up differs from what this project first assumed:
Up has no text search and no merchant field.
descriptionis "usually the merchant name", so the text match and the merchant totals are worked out here from it.Up names account kinds
TRANSACTIONAL,SAVERandHOME_LOAN; this server showsTRANSACTIONALasspending.The category filter takes a category id, not a name; this server accepts either and looks the id up.
Up gives no totals. A summary reads every page of the range (100 rows a request), which is why a call is capped at 40 requests and says
complete: falseif that was not enough.Up's API can also write (set a category, add and remove tags, manage webhooks). This server never calls those.
Not stated in Up's documentation, so assumed here:
That
filter[since]andfilter[until]apply tocreatedAt. The server checkscreatedAtitself as well, so a wrong guess can drop rows but never put one in the wrong period.How many requests Up allows before a
429. It is not published.The shape of a personal access token. The test that scans this repository for one uses the commonly seen shape.
Tests
pnpm test runs everything with no network: the MCP handshake at each
protocol version, wrong and missing keys, oversized arguments and bodies, the
rate limits, a slow upstream cut at the bound, every Up tool against the fake,
what happens when Up refuses, limits, breaks or stalls, and a scan of the tree
for anything shaped like a secret. pnpm typecheck checks the types.
The fake (src/tools/up/fake.ts) follows the shapes in Up's documentation.
Every name, amount and id in it is invented.
Layout
src/index.ts the Worker's entry
src/server.ts routing, the key check, the bounds
src/auth.ts constant-time key comparison
src/mcp.ts the JSON-RPC methods: initialize, tools/list, tools/call, ping
src/upstream.ts one bounded upstream request
src/tools/core.ts check_connection
src/tools/up/ the Up tool set, its client and its fakeA later tool set gets its own folder under src/tools/, its own secrets, its
own ENABLE_<SET> switch and its own section here. A set that is off
registers no tools. An MCP client's limit of 50 tools is shared by all sets.
Security
See SECURITY.md for the threat model and how to report a problem. The short version: the Up token is the thing to protect; it lives only as a Worker secret and is never returned or logged.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Read-only access to your own bank, card and brokerage accounts for Claude, ChatGPT and other AI agents: balances, transactions, spending, subscriptions, cashflow and investment holdings. It can never move money.
Read-only receipts, budgets & bank data for AI agents. Free plan includes 1 bank via Plaid.
Connect AI agents to bank accounts, transactions, balances, and investments.
Ask your AI about your own accounts, debts, budgets and goals. OAuth sign-in, read-only by default.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables integration with Up Banking API to query account balances, transaction history, and spending categories. Supports filtering transactions by date, category, tags, and account type for comprehensive banking insights.710MIT
- AlicenseNot gradedqualityDmaintenanceEnables querying Up Bank account transactions and spending habits through natural language, using the Up Bank API in read-only mode.11 npm9Do What The F*ck You Want To Public
- AlicenseNot gradedqualityBmaintenanceEnables Claude and ChatGPT to securely read, categorize, and manage your YNAB budget through natural language, with a self-hosted Cloudflare Worker for private access.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI chat clients to manage a private personal finance ledger stored in the user's GitHub repository and served by their own Cloudflare Worker, with previewed and committed transactions, accounts, reports, net worth, cards, plans, deposits, and imports.2,104 npmMIT