MCP server for Banktivity personal finance files — Swift/Core Data rewrite for CloudKit-safe read/write access
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"banktivity": {
"env": {
"BANKTIVITY_FILE_PATH": "/Users/you/Documents/Banktivity/My Accounts.bank8"
},
"command": "/Users/you/.local/bin/banktivity-mcp"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A Swift library, MCP server, and CLI for Banktivity personal finance files. Provides full read/write access to .bank8 vaults — accounts, transactions, categories, tags, templates, import rules, scheduled transactions, statements, securities, and RDF export.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in finance
Real-time financial market data: stocks, forex, crypto, commodities, and economic indicators
A Model Context Protocol server for building an investor agent
AI agents get on-chain identity, credentials, reputation, escrow, and persistent memory on XRPL.
Remote MCP server to integrate and validate self-hosted PayRam deployments.
MCP Security Weekly
Get CVE alerts and security updates for Banktivity Swift Mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A Swift library, MCP server, and CLI for Banktivity personal finance files. Provides full read/write access to .bank8 vaults — accounts, transactions, categories, tags, templates, import rules, scheduled transactions, statements, securities, and RDF export.
Inspired by banktivity-mcp (TypeScript/Node.js), this is a ground-up rewrite in Swift. The original uses better-sqlite3 to read and write Core Data's SQLite store directly, bypassing Core Data's internal change tracking. This works for reads, but direct SQL writes are invisible to CloudKit sync — Banktivity doesn't know the data changed, and the vault can become corrupted or fail to sync. This Swift version uses NSPersistentContainer so all mutations go through Core Data's API, ensuring proper change tracking and CloudKit compatibility.
WARNING: This server can modify your Banktivity data. Write tools (create, update, delete) make real changes to your
.bank8vault. While the server uses Core Data for proper change tracking and includes a write guard that blocks mutations when Banktivity is open, AI assistants can and will make mistakes. Back up your vault regularly and consider working on a copy until you're confident in your workflow. The authors are not responsible for any data loss or corruption.
.bank8 vault filebrew install sflinter/tap/banktivity-swift-mcp
This installs both banktivity-mcp and banktivity-cli as universal binaries (Apple Silicon + Intel).
Download the universal binary from GitHub Releases, extract, and move to your PATH:
tar xzf banktivity-swift-mcp-v0.8.0-macos-universal.tar.gz
mv banktivity-mcp banktivity-cli ~/.local/bin/
Requires Xcode 16+ (needed for Swift Testing and universal binary builds):
git clone https://github.com/sflinter/banktivity-swift-mcp.git
cd banktivity-swift-mcp
make install # Build universal binary and install to ~/.local/bin
Other Makefile targets:
make build # Debug build
make test # Run all tests
make release # Universal release build (arm64 + x86_64)
make package # Build release tarball with SHA256
make clean # Remove build artifacts
Add to your MCP settings (~/.claude/settings.json or project .mcp.json):
{
"mcpServers": {
"banktivity": {
"command": "/Users/you/.local/bin/banktivity-mcp",
"env": {
"BANKTIVITY_FILE_PATH": "/Users/you/Documents/Banktivity/My Accounts.bank8"
}
}
}
}
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"banktivity": {
"command": "/Users/you/.local/bin/banktivity-mcp",
"env": {
"BANKTIVITY_FILE_PATH": "/Users/you/Documents/Banktivity/My Accounts.bank8"
}
}
}
}
list_accounts — List all accounts with balancesget_account_balance — Get balance for a specific accountget_net_worth — Calculate total net worthget_spending_by_category — Spending breakdown by category for a date rangeget_income_by_category — Income breakdown by category for a date rangeget_summary — Overall financial summaryget_transactions — List transactions with filtering and paginationsearch_transactions — Full-text search