Monzo Claude Connector

Monzo Claude Connector

A remote MCP server on Cloudflare Workers that gives Claude read-only access to your Monzo account, enabling balance checks, transaction listing, and pot management via natural language.

Category
Visit Server

README

Monzo → Claude Connector

Claude ⇄ Cloudflare Worker ⇄ Monzo

A remote MCP server, running on a Cloudflare Worker, that gives Claude read-only access to your Monzo account over OAuth.

Once connected in claude.ai, you can ask things like "what's my Monzo balance?", "list my recent transactions", or "how much is in my savings pots?" in any chat — web, desktop, or phone. Authenticate once; it follows you everywhere. No laptop, no local server, nothing to keep running.

Not affiliated with Monzo. This is a personal-use tool built on Monzo's public developer API. Use at your own risk, and read Security model before deploying.

What it exposes

Tool Description
get_accounts Open accounts (personal, joint, Flex, rewards) with ids/sort codes
get_balance Balance, total incl. pots, and spent-today — one account or all
list_transactions Recent transactions (last 90 days), filterable by date
get_transaction Full detail on a single transaction
list_pots Savings pots and their balances

Read-only by design: no payments, transfers, or pot movements — the tools simply don't exist, so no amount of prompt injection can move money.

Architecture

Claude (claude.ai)  ──OAuth──>  This Worker  ──OAuth──>  Monzo API
                                     │
                     workers-oauth-provider (KV)  +  McpAgent (Durable Object)
  • @cloudflare/workers-oauth-provider is the OAuth server Claude authenticates to — it handles dynamic client registration, /authorize, /token, and grant storage in KV.
  • src/monzo-handler.ts bridges that to Monzo's OAuth (authorize → magic-link email → in-app approval → callback).
  • src/mcp.ts is the McpAgent — one Durable Object per connected user, holding that user's Monzo tokens and refreshing them automatically via the refresh token.
  • src/monzo.ts is the thin Monzo API client.

Security model

Worth understanding before you deploy — the design isolates users by construction:

  • No standing bank credential in the Worker. The only Worker-level secrets are the Monzo OAuth client_id/client_secret, which can exchange authorization codes but cannot read any account data by themselves.
  • Tokens live per-grant, not per-Worker. When a user completes the OAuth dance, their Monzo tokens are stored encrypted inside their grant (completeAuthorization({ props: ...tokens })). Every MCP request is resolved through the caller's bearer token to their grant, their Durable Object, their Monzo account. There is no request that reaches another user's data.
  • Unauthenticated requests get 401. The /mcp endpoint only answers to bearer tokens the Worker itself issued.
  • Monzo adds its own gates. Developer-portal OAuth clients only authorize the client owner (plus explicitly added collaborators), and every login requires approval in the Monzo app on the account holder's phone (SCA).
  • Scopes are read-only and the payment/transfer endpoints are never called.

Residual risks are the usual ones for any connector: protect the deployed secrets, and treat your claude.ai session like the credential it is.

Setup

  1. Register a Monzo OAuth client at https://developers.monzo.com — Confidentiality: Confidential (required for refresh tokens). Redirect URL: https://<your-worker>.workers.dev/callback.

  2. Fill secrets in .dev.vars (gitignored) for local dev:

    MONZO_CLIENT_ID=oauth2client_...
    MONZO_CLIENT_SECRET=mnzconf...
    COOKIE_ENCRYPTION_KEY=<openssl rand -hex 32>
    
  3. Create the KV namespace and paste the returned id into wrangler.jsonc (replacing <YOUR_OAUTH_KV_NAMESPACE_ID>):

    npx wrangler kv namespace create OAUTH_KV
    
  4. Deploy and push secrets:

    npx wrangler deploy
    npx wrangler secret put MONZO_CLIENT_ID
    npx wrangler secret put MONZO_CLIENT_SECRET
    npx wrangler secret put COOKIE_ENCRYPTION_KEY
    
  5. Add the connector in claude.ai → Settings → Connectors → Add custom connector → https://<your-worker>.workers.dev/mcp → authorize. You'll be bounced through Monzo's login (magic-link email + approve in the Monzo app), then Claude shows the five tools.

Works in Claude Code too:

claude mcp add --transport http monzo https://<your-worker>.workers.dev/mcp

Notes & limitations

  • Monzo only exposes the last 90 days of transactions unless you re-authenticate immediately after approving access; this connector accepts that rolling window.
  • Monzo developer clients are single-user unless Monzo approves your app for production — fine for the personal-use case this is built for.
  • Secrets live in .dev.vars (local) and Wrangler secrets (prod) — never in git. The .gitignore enforces this.

License

MIT — do what you like, no warranty. Monzo, Claude, and Cloudflare names and logos belong to their respective owners.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured