MainBook Bank Statement Converter
Convert PDF bank statements to Excel, CSV or JSON with balance checks
MainBook Bank Statement Converter is an MCP server for files and documents. It can run locally on your machine or as a hosted remote server.
- Platforms
- CLI, API
- Runs
- Locally or Remotely
- License
- MIT
- Version
- 0.5.2
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add --transport http bank-statement-converter https://mcp.mainbook.ai/mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"bank-statement-converter": {
"type": "http",
"url": "https://mcp.mainbook.ai/mcp"
}
}
}In Customize → Connectors → Add → Add custom connector
https://mcp.mainbook.ai/mcpPaste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"bank-statement-converter": {
"url": "https://mcp.mainbook.ai/mcp"
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"bank-statement-converter": {
"type": "http",
"url": "https://mcp.mainbook.ai/mcp"
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
In chatgpt.com → Plugins → + → Add custom MCP server
https://mcp.mainbook.ai/mcpPaste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.
Add with the CLI
Run in a terminal
codex mcp add bank-statement-converter --url https://mcp.mainbook.ai/mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.bank-statement-converter]
url = "https://mcp.mainbook.ai/mcp"Add to Grok Bot desktop app → Connect apps → Add a custom connector
https://mcp.mainbook.ai/mcpEnter a Name (for example "MainBook Bank Statement Converter"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.
Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"bank-statement-converter": {
"type": "http",
"url": "https://mcp.mainbook.ai/mcp"
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "bank-statement-converter": { "httpUrl": "https://mcp.mainbook.ai/mcp" } } }Or run: gemini mcp add -s user --transport http bank-statement-converter https://mcp.mainbook.ai/mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "bank-statement-converter": { "serverUrl": "https://mcp.mainbook.ai/mcp" } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "bank-statement-converter": { "url": "https://mcp.mainbook.ai/mcp", "transport": "http" } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "bank-statement-converter": { "type": "streamableHttp", "url": "https://mcp.mainbook.ai/mcp" } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "bank-statement-converter": { "url": "https://mcp.mainbook.ai/mcp" } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "bank-statement-converter": { "url": "https://mcp.mainbook.ai/mcp" } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "bank-statement-converter": { "url": "https://mcp.mainbook.ai/mcp" } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "bank-statement-converter": { "url": "https://mcp.mainbook.ai/mcp" } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
MAINBOOK_API_KEYOptional MainBook API key for scripts and CI; interactive users can run mainbook-mcp auth login
About MainBook Bank Statement Converter
Built for one job rather than general accounting: a PDF statement goes to MainBook, which extracts each transaction, normalises dates to YYYY-MM-DD, keeps amounts exact and re-adds the statement so opening balance plus credits minus debits must equal the closing balance. Rows that do not fit are flagged instead of passed on quietly. In the sample session, 63 transactions across 4 pages used 4 credits.
Five tools exist: convert_bank_statement, get_balance, list_conversions, get_conversion and output_folder. Only conversion spends page credits. It does not connect to bank accounts, is not an Open Banking API and reads only statement files you already have.
Run it locally with uvx after a browser sign-in (the credential goes to the OS keyring or a private file), or connect the hosted endpoint at mcp.mainbook.ai, which offers four of the five tools because output_folder is local only. Local use is limited to the folders you pass as arguments or set in MAINBOOK_ALLOWED_DIRS.
Tools this server provides (5)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 3 of 5 tools read data; 2 names don't say.
From the server's own tool labels and tool names; not verified by us.
- convert_bank_statement
- Converts a PDF bank statement to checked JSON, Excel or CSV.
- get_balanceName suggests: reads
- Reads the account's page-credit balance.
- list_conversionsName suggests: reads
- Lists earlier conversions.
- get_conversionName suggests: reads
- Retrieves a conversion result and may write a result file.
- output_folder
- Sets the local output folder preference (local only).
What it does
- Balance validation
- Opening balance plus credits minus debits must match the closing balance.
- Excel, CSV or JSON
- Choose the output format when converting.
- Folder boundary
- Reads and writes only inside the folders you allow.
- Local or hosted
- Run the PyPI package over stdio or connect the hosted endpoint.
- Flagged rows
- Rows that do not fit are flagged rather than silently passed.
Good for
- Turn a monthly PDF statement into a spreadsheet
- Reconcile statement totals before bookkeeping
- Hand an accountant a checked CSV
- Review past conversions and remaining credits
Pricing
Pricing unknown
Conversions spend page credits; prices not published here
Prices change. Check mainbook.ai before you buy.
MainBook Bank Statement Converter FAQ
Does MainBook Bank Statement Converter connect to my bank?
No. It reads statement files you already have, with no banking credentials involved.
Which tool spends credits?
Only convert_bank_statement spends page credits.
How do I sign in?
Run uvx mainbook-mcp auth login once; scripts and CI can use MAINBOOK_API_KEY instead.
What licence is the package?
MIT.
How do I add MainBook Bank Statement Converter to Claude Code?
Run this command in your terminal: claude mcp add --transport http bank-statement-converter https://mcp.mainbook.ai/mcp
What are the best alternatives to MainBook Bank Statement Converter?
The closest alternatives to MainBook Bank Statement Converter are Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, NostrPulse, Scholar Sidekick and UltraTransfer.
Where this comes from
- Description: written from the project's README and the project's website.
- Install steps: from the official MCP Registry entry.
