heritagebanknw-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.
heritagebanknw-mcp
An MCP (Model Context Protocol) server that provides read-only access to your Heritage Bank NW accounts via browser automation. Use it with Claude Code or any MCP-compatible client to query account balances and transaction history conversationally.
What it does
Exposes three tools:
Tool | Description |
| Returns all accounts with current balance, available balance, and YTD interest |
| Returns balance details for a single account by ID |
| Returns transaction history for an account (date, description, amount, type, balance) |
Authentication is handled automatically using Playwright to drive a Chromium browser. Sessions are persisted to session.json so subsequent calls run headlessly. If the session expires or MFA is required, a visible browser window opens for you to complete login.
Unlike older banking sites that require HTML scraping, Heritage Bank NW's online banking platform exposes a clean JSON API — so responses are structured and reliable.
Related MCP server: EU Open Banking MCP
Installation
Prerequisites
Python 3.11+
pip
Steps
Clone the repository:
git clone https://github.com/jrolstad/heritagebanknw-mcp.git cd heritagebanknw-mcpInstall dependencies:
pip install -r requirements.txtInstall Playwright's Chromium browser:
playwright install chromiumSet your Heritage Bank NW credentials using one of the two options below.
Configure with Claude Code
Add the server to your Claude Code MCP settings (~/.claude.json under mcpServers). Credentials can be provided in the MCP config directly (recommended) or via a .env file.
Option A — credentials in MCP config (recommended)
{
"mcpServers": {
"heritagebanknw": {
"type": "stdio",
"command": "python",
"args": ["/path/to/heritagebanknw-mcp/server.py"],
"env": {
"HERITAGEBANKNW_USERNAME": "your_username_here",
"HERITAGEBANKNW_PASSWORD": "your_password_here"
}
}
}
}Option B — .env file
cp .env.example .envThen edit .env:
HERITAGEBANKNW_USERNAME=your_username_here
HERITAGEBANKNW_PASSWORD=your_password_hereThe server loads this automatically via python-dotenv on startup. The .env file is gitignored.
Usage
Once connected, you can ask Claude things like:
"List my Heritage Bank NW accounts with their balances"
"What are the last 20 transactions from my checking account?"
"What's the available balance on my savings account?"
"How much YTD interest has my savings account earned?"
Authentication and sessions
On first run, a Chromium browser window opens and logs in with your credentials.
If MFA or additional verification is required, you have 60 seconds to complete it in the browser window.
After a successful login, cookies are saved to
session.jsonfor future headless runs.If a session expires, the browser window opens again automatically.
session.jsonis gitignored — do not commit it.
Development
Project structure
heritagebanknw_client.py # Playwright auth + JSON API client
server.py # MCP server (FastMCP) — exposes tools to MCP clients
requirements.txt # Python dependencies
.env.example # Credential template
session.json # Persisted browser session cookies (gitignored)How it works
heritagebanknw_client.py uses Playwright to authenticate against the Heritage Bank NW online banking platform (/nxg-olb/live/), then calls the bank's internal JSON API directly using the browser's fetch (so session cookies are automatically included).
Key API endpoints:
GET /nxg-olb-bff/live/ui/v1/accounts— all accounts with balancesGET /nxg-olb-bff/live/ui/v1/accounts/{id}/transactions— transaction history
Key functions:
_get_json()— handles auth/session and calls an API endpoint via browser fetchget_accounts()— returns all accountsget_balance()— returns one account by IDget_transactions()— returns transactions for an account with date range
Running locally
python server.pyOr via the MCP CLI:
mcp dev server.pyAdding new tools
Add a new async function to
heritagebanknw_client.pythat calls the relevant API endpoint via_get_json().Register it as a tool in
server.pyusing the@mcp.tool()decorator.Reconnect your MCP client to pick up the new tool.
Dependencies
Package | Purpose |
| MCP server framework (FastMCP) |
| Headless browser automation for authentication |
| Loading credentials from |
License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only access to your bank, investment, and crypto accounts: balances, transactions, holdings.
Read bank accounts, balances and transactions from 10,000+ European banks.
Read-only cash flow, spending, subscriptions and transaction search from your US and Canadian banks.
Read-only access to Genie accounts, transactions, investments, and financial summaries.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables read-only access to personal bank accounts via the TrueLayer API, allowing querying of accounts, balances, transactions, and generating financial analytics such as spending by category, subscriptions, and monthly summaries.91MIT
- AlicenseNot gradedqualityBmaintenanceEnables secure, read-only access to personal European bank accounts through Enable Banking and Cloudflare Workers, allowing MCP clients to list accounts, retrieve balances, search transactions, and summarize cash flow.3MIT
- AlicenseAqualityBmaintenanceEnables read-only access to Banco General accounts, cards, and pension data through MCP, allowing balance checks, transaction searches, and spending summaries without moving funds.141MIT
- AlicenseNot gradedqualityCmaintenanceEnables querying linked bank account balances and transactions through MCP tools, with manual sync and read-only access from any MCP client.1MIT