Skip to content
Back to skills

Mercury Banking

ASecurity

Mercury banking API integration — accounts, balances, transactions, financial summaries, AI transaction categorization, and cash flow analysis. The only Mercury banking skill on ClawHub. Use for business banking, financial tracking, and expense management.

  • 33 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 5, 2026
businesspythongobashtestinggitapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add dvcrn/openclaw-skills-marketplace --skill mercury-banking --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mercury Banking?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mercury Banking
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dvcrn-mercury-banking/badge)](https://www.skillsdirectory.com/skills/dvcrn-mercury-banking)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mercury-banking
description: "Mercury banking API integration — accounts, balances, transactions, financial summaries, AI transaction categorization, and cash flow analysis. The only Mercury banking skill on ClawHub. Use for business banking, financial tracking, and expense management."
homepage: https://www.agxntsix.ai
---

# 🏦 Mercury Banking

Mercury banking API integration for OpenClaw agents. Manage accounts, transactions, cash flow, and get AI-powered financial insights.

## Requirements

| Variable | Required | Description |
|----------|----------|-------------|
| `MERCURY_API_KEY` | ✅ | Mercury API token ([get one](https://app.mercury.com/settings/tokens)) |
| `OPENROUTER_API_KEY` | Optional | For AI categorization and summaries |

## Quick Start

```bash
# List all accounts and balances
python3 {baseDir}/scripts/mercury_api.py accounts

# Recent transactions
python3 {baseDir}/scripts/mercury_api.py transactions <account_id>

# Transactions with date filter
python3 {baseDir}/scripts/mercury_api.py transactions <account_id> --start 2026-01-01 --end 2026-01-31

# Search transactions
python3 {baseDir}/scripts/mercury_api.py transactions <account_id> --search "Stripe"

# Cash flow analysis
python3 {baseDir}/scripts/mercury_api.py cashflow <account_id> --days 30

# AI categorize transactions
python3 {baseDir}/scripts/mercury_api.py categorize <account_id> --days 30

# Financial summary
python3 {baseDir}/scripts/mercury_api.py summary <account_id> --period weekly
```

## Commands

### `accounts`
Lists all Mercury accounts with current balances, account type, and status.

### `transactions <account_id>`
Fetch transactions with optional filters:
- `--start YYYY-MM-DD` / `--end YYYY-MM-DD` — date range
- `--search "term"` — filter by counterparty or description
- `--limit N` — max results (default 50)
- `--status pending|sent|cancelled|failed` — filter by status

### `cashflow <account_id>`
Analyze cash flow over a period:
- `--days N` — lookback period (default 30)
- Shows total inflows, outflows, net, daily average, burn rate

### `categorize <account_id>`
AI-powered transaction categorization (requires `OPENROUTER_API_KEY`):
- `--days N` — lookback period (default 30)
- Groups transactions into categories (payroll, SaaS, revenue, etc.)
- Outputs category totals and percentages

### `summary <account_id>`
Generate financial summary:
- `--period weekly|monthly` — summary period
- Includes top expenses, revenue sources, cash position, trends

## Mercury API Notes

- **Base URL:** `https://api.mercury.com/api/v1`
- **Auth:** Bearer token in Authorization header
- **Rate limits:** Be mindful of API limits; the script handles pagination automatically
- **Sandbox:** Mercury provides a sandbox environment for testing

## Credits
Built by [M. Abidi](https://www.linkedin.com/in/mohammad-ali-abidi) | [agxntsix.ai](https://www.agxntsix.ai)
[YouTube](https://youtube.com/@aiwithabidi) | [GitHub](https://github.com/aiwithabidi)
Part of the **AgxntSix Skill Suite** for OpenClaw agents.

📅 **Need help setting up OpenClaw for your business?** [Book a free consultation](https://cal.com/agxntsix/abidi-openclaw)

Files in this skill

  • SKILL.md3.1 KB
  • scripts/mercury_api.py8.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in business →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.