@ktmcp-cli/afterbanks
v1.0.0
Published
Production-ready CLI for Afterbanks Open Banking API - Kill The MCP
Downloads
17
Maintainers
Readme
"Six months ago, everyone was talking about MCPs. And I was like, screw MCPs. Every MCP would be better as a CLI."
— Peter Steinberger, Founder of OpenClaw Watch on YouTube (~2:39:00) | Lex Fridman Podcast #491
Afterbanks CLI
Production-ready CLI for the Afterbanks Open Banking API. Access bank accounts, transactions, and payments directly from your terminal.
Disclaimer: This is an unofficial CLI tool and is not affiliated with, endorsed by, or supported by Afterbanks.
Installation
npm install -g @ktmcp-cli/afterbanksConfiguration
afterbanks config set --service-key YOUR_SERVICE_KEYGet your service key at afterbanks.com.
Usage
Configuration
# Set service key
afterbanks config set --service-key YOUR_SERVICE_KEY
# Show configuration
afterbanks config list
# Get a specific config value
afterbanks config get serviceKeyAccounts
# List all connected bank accounts
afterbanks accounts list
# Get details for a specific account
afterbanks accounts get ACCOUNT_ID
# Get account balance
afterbanks accounts balance ACCOUNT_IDTransactions
# List all transactions
afterbanks transactions list
# Filter by account
afterbanks transactions list --account ACCOUNT_ID
# Filter by date range
afterbanks transactions list --from 2024-01-01 --to 2024-12-31
# Get a specific transaction
afterbanks transactions get TRANSACTION_IDPayments
# Create a payment
afterbanks payments create \
--from SOURCE_ACCOUNT_ID \
--to DESTINATION_IBAN \
--amount 100.00 \
--currency EUR \
--description "Invoice payment"
# Check payment status
afterbanks payments status PAYMENT_IDJSON Output
All commands support --json for machine-readable output:
# List accounts as JSON
afterbanks accounts list --json
# Pipe to jq
afterbanks accounts list --json | jq '.[] | {id: .accountNumber, balance, currency}'
# Get transactions for scripting
afterbanks transactions list --account ACCOUNT_ID --json | jq '[.[] | select(.amount < 0)] | length'Examples
# Check all account balances
afterbanks accounts list --json | jq '.[] | {account: .description, balance, currency}'
# Find large transactions
afterbanks transactions list --account ACCOUNT_ID --json | jq '.[] | select(.amount > 1000)'
# Create a payment and check its status
afterbanks payments create --from ACC_ID --to IBAN --amount 250 --currency EUR
afterbanks payments status PAYMENT_IDLicense
MIT
Part of the KTMCP CLI project — replacing MCPs with simple, composable CLIs.
