Koskamo

MainBook Bank Statement Converter MCP

This MCP server converts PDF bank statements into validated JSON, Excel, or CSV formats. It performs balance validation to ensure totals reconcile with the original statement, flagging any discrepancies. Users can run it locally via terminal or connect to the hosted endpoint, supporting authentication via browser sign-in or API keys for CI/CD pipelines.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

MainBook Bank Statement Converter MCP logo, by MainBook SolutionsVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-23Operated by MainBook Solutions
You need:Run it locally after a terminal sign-in, or connect the hosted endpoint and sign in with your MainBook account.Terminal sign-in Copy terminal sign-in command uvx mainbook-mcp auth loginInstall uv, which includes uvx $ brew install uv or $ curl -LsSf https://astral.sh/uv/install.sh | sh Or install and update with pip $ pip install mainbook-mcp or $ pip install -U mainbook-mcpThe account must accept the API Terms ; otherwise calls fail with api_terms_not_accepted .
MCP endpoint (Streamable HTTP)
https://mcp.mainbook.ai/mcp
Vendor documentation

What its tools do

4 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

Can change data (1)

4 of 4 have a description · 4 of 4 declare behavior hints · 3 of 3 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Passed Official MCP Registry namespace is tied to mainbook.ai ·
  • Passed Endpoint is on the registry namespace domain ·
  • Uptime 100% over 90 days
  • Availability 2 of 2 checks passed in 30 days

About MainBook Bank Statement Converter MCP

The MainBook Bank Statement Converter MCP server processes PDF bank statements to produce structured outputs in JSON, Excel, or CSV formats. It includes balance validation logic to verify that transaction totals reconcile with the original statement figures, flagging any discrepancies found during the conversion process.

This server supports local execution via terminal or connection to a hosted Streamable HTTP endpoint. While the initial connection and tool listing require no sign-in, individual tool operations may require a MainBook account, API keys, or specific permissions. Users must ensure their account accepts the API Terms to avoid call failures.

Prerequisites for local use include installing the uv package manager or the mainbook-mcp Python package. Local execution requires a terminal sign-in command, whereas hosted endpoint users connect via browser sign-in or API keys for CI/CD integration.

What you can do with it

  • Convert PDF bank statements to checked Excel or CSV
  • Validate transaction totals against statement balances
  • Extract structured JSON data from financial documents

Source and maintenance

Vendor evidenceRegistry 0.5.2MIT
Last repository push
Latest release
v0.5.1
Maintenance checked

Protocol and capabilities

Server
mainbook 0.5.1
MCP protocol negotiated in check
2025-11-25
Tools
4 advertised
Resources
0 advertised
Resource templates
0 advertised
Prompts
0 advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": false
  },
  "prompts": {
    "listChanged": false
  },
  "resources": {
    "subscribe": false,
    "listChanged": false
  },
  "experimental": {}
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

Use convert_bank_statement for a new PDF. It creates a paid page-credit job, so do not call it speculatively. Use get_conversion after a timeout.

Tools

4 advertised

convert_bank_statement — Convert bank statement
Advertised by the server during the last successful anonymous check.
Open-world

Convert one PDF bank statement through the complete MainBook workflow: create a job, upload, start, poll, and return structured data. This creates a job and spends page credits; it is not read-only.

convert_bank_statement input schema
{
  "type": "object",
  "title": "convert_bank_statementArguments",
  "properties": {
    "file_url": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "File Url",
      "default": null,
      "description": "Public HTTPS URL of a PDF for remote mode. Redirects and non-public network addresses are rejected. Exactly one source is required."
    },
    "file_path": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "File Path",
      "default": null,
      "description": "Path to a PDF on the MCP server machine. This field is only available over stdio and is rejected in HTTP mode; remote clients must use file_url. The path must be inside the allowed folders, which default to Downloads, Desktop, and Documents. Exactly one of file_path and file_url is required."
    },
    "output_path": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Output Path",
      "default": null,
      "description": "Optional absolute result file or existing folder on the MCP server machine. Only available over stdio and only inside the allowed folders. The file extension is corrected to match result_type."
    },
    "result_type": {
      "enum": [
        "json",
        "xlsx",
        "csv"
      ],
      "type": "string",
      "title": "Result Type",
      "default": "json",
      "description": "JSON is returned inline. Over stdio, XLSX or CSV is written to an allowed local folder and the full path is returned. HTTP mode returns safe download instructions. Binary bytes never enter model context."
    },
    "idempotency_key": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 255,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Idempotency Key",
      "default": null,
      "description": "Optional value forwarded verbatim in the Idempotency-Key REST header."
    },
    "timeout_seconds": {
      "type": "integer",
      "title": "Timeout Seconds",
      "default": 50,
      "maximum": 900,
      "minimum": 30,
      "description": "Internal polling budget from 30 to 900 seconds. Timeout leaves the job running and returns its job_id for get_conversion. The default stays under the 60-second request timeout most MCP clients enforce; a client that gives up first discards the job_id and the conversion looks lost."
    }
  }
}
convert_bank_statement output schema
{
  "type": "object",
  "$defs": {
    "SavedFile": {
      "type": "object",
      "title": "SavedFile",
      "required": [
        "path",
        "reason"
      ],
      "properties": {
        "path": {
          "type": "string",
          "title": "Path"
        },
        "reason": {
          "type": "string",
          "title": "Reason"
        }
      },
      "additionalProperties": false
    },
    "JobValidation": {
      "type": "object",
      "title": "JobValidation",
      "required": [
        "reconcilable",
        "passed",
        "mismatched_rows"
      ],
      "properties": {
        "passed": {
          "type": "boolean",
          "title": "Passed",
          "description": "Whether MainBook's applicable statement-math checks passed."
        },
        "reconcilable": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Reconcilable",
          "description": "Whether statement math can be reconciled; null means the document kind has no running-balance reconciliation, such as many credit-card statements."
        },
        "mismatched_rows": {
          "type": "integer",
          "title": "Mismatched Rows",
          "minimum": 0,
          "description": "Number of transaction rows that remain mathematically mismatched."
        }
      }
    },
    "ConversionData": {
      "type": "object",
      "title": "ConversionData",
      "required": [
        "document",
        "transactions",
        "has_warnings"
      ],
      "properties": {
        "document": {
          "$ref": "#/$defs/ConversionDocument"
        },
        "has_warnings": {
          "type": "boolean",
          "title": "Has Warnings"
        },
        "transactions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ConversionTransaction"
          },
          "title": "Transactions"
        }
      },
      "description": "Exact top-level JSON shape produced by the MainBook exporter."
    },
    "ConversionDocument": {
      "type": "object",
      "title": "ConversionDocument",
      "required": [
        "id",
        "display_name",
        "bank_name",
        "account_holder",
        "account_address",
        "account_number_masked",
        "account_type",
        "kind",
        "currency",
        "period_start",
        "period_end",
        "billing_cycle_length_days",
        "starting_balance_cents",
        "ending_balance_cents",
        "transactions_count",
        "net_credits_cents",
        "net_debits_cents",
        "credit_limit_cents",
        "available_credit_cents",
        "previous_balance_cents",
        "new_balance_cents",
        "payment_due_amount_cents",
        "payment_due_date"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "kind": {
          "type": "string",
          "title": "Kind"
        },
        "pages": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Pages",
          "default": null
        },
        "currency": {
          "type": "string",
          "title": "Currency"
        },
        "bank_name": {
          "type": "string",
          "title": "Bank Name"
        },
        "period_end": {
          "type": "string",
          "title": "Period End"
        },
        "account_type": {
          "type": "string",
          "title": "Account Type"
        },
        "display_name": {
          "type": "string",
          "title": "Display Name"
        },
        "period_start": {
          "type": "string",
          "title": "Period Start"
        },
        "account_holder": {
          "type": "string",
          "title": "Account Holder"
        },
        "account_address": {
          "type": "string",
          "title": "Account Address"
        },
        "net_debits_cents": {
          "type": "integer",
          "title": "Net Debits Cents"
        },
        "payment_due_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Payment Due Date"
        },
        "net_credits_cents": {
          "type": "integer",
          "title": "Net Credits Cents"
        },
        "new_balance_cents": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "New Balance Cents"
        },
        "credit_limit_cents": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Credit Limit Cents"
        },
        "transactions_count": {
          "type": "integer",
          "title": "Transactions Count",
          "minimum": 0
        },
        "ending_balance_cents": {
          "type": "integer",
          "title": "Ending Balance Cents"
        },
        "account_number_masked": {
          "type": "string",
          "title": "Account Number Masked"
        },
        "available_credit_cents": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Available Credit Cents"
        },
        "previous_balance_cents": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Previous Balance Cents"
        },
        "starting_balance_cents": {
          "type": "integer",
          "title": "Starting Balance Cents"
        },
        "payment_due_amount_cents": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Payment Due Amount Cents"
        },
        "billing_cycle_length_days": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Billing Cycle Length Days"
        }
      },
      "description": "Document summary emitted by MainBook's JSON exporter."
    },
    "DownloadInstruction": {
      "type": "object",
      "title": "DownloadInstruction",
      "required": [
        "job_id",
        "result_type",
        "instruction"
      ],
      "properties": {
        "url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Url",
          "default": null
        },
        "job_id": {
          "type": "string",
          "title": "Job Id"
        },
        "expires_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Expires At",
          "default": null
        },
        "instruction": {
          "type": "string",
          "title": "Instruction"
        },
        "result_type": {
          "enum": [
            "xlsx",
            "csv"
          ],
          "type": "string",
          "title": "Result Type"
        },
        "rest_endpoint": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Rest Endpoint",
          "default": null
        }
      },
      "additionalProperties": false
    },
    "ConversionTransaction": {
      "type": "object",
      "title": "ConversionTransaction",
      "required": [
        "row",
        "source_file",
        "page",
        "line_index",
        "date",
        "description",
        "amount_cents",
        "transaction_type",
        "balance_after_cents",
        "currency",
        "validation_status",
        "warning_flags"
      ],
      "properties": {
        "row": {
          "type": "integer",
          "title": "Row",
          "minimum": 1
        },
        "date": {
          "type": "string",
          "title": "Date"
        },
        "page": {
          "type": "integer",
          "title": "Page",
          "minimum": 1
        },
        "currency": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Currency"
        },
        "cardholder": {
          "type": "string",
          "title": "Cardholder",
          "default": ""
        },
        "line_index": {
          "type": "integer",
          "title": "Line Index",
          "minimum": 0
        },
        "description": {
          "type": "string",
          "title": "Description"
        },
        "source_file": {
          "type": "string",
          "title": "Source File"
        },
        "amount_cents": {
          "type": "integer",
          "title": "Amount Cents"
        },
        "warning_flags": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "title": "Warning Flags"
        },
        "transaction_type": {
          "enum": [
            "credit",
            "debit"
          ],
          "type": "string",
          "title": "Transaction Type"
        },
        "validation_status": {
          "enum": [
            "valid",
            "system_mismatch",
            "user_edited_mismatch",
            "user_reviewed",
            "user_accepted"
          ],
          "type": "string",
          "title": "Validation Status"
        },
        "balance_after_cents": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Balance After Cents"
        },
        "cardholder_card_masked": {
          "type": "string",
          "title": "Cardholder Card Masked",
          "default": ""
        }
      },
      "description": "One exported transaction row, with integer-cent monetary fields."
    }
  },
  "title": "ConversionOutput",
  "required": [
    "job_id",
    "state",
    "pages",
    "validation",
    "result_type",
    "message"
  ],
  "properties": {
    "data": {
      "anyOf": [
        {
          "$ref": "#/$defs/ConversionData"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "pages": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Pages"
    },
    "state": {
      "anyOf": [
        {
          "enum": [
            "awaiting_upload",
            "queued",
            "processing",
            "succeeded",
            "succeeded_with_warnings",
            "insufficient_credits",
            "failed",
            "expired"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "State"
    },
    "job_id": {
      "type": "string",
      "title": "Job Id"
    },
    "message": {
      "type": "string",
      "title": "Message"
    },
    "download": {
      "anyOf": [
        {
          "$ref": "#/$defs/DownloadInstruction"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "timed_out": {
      "type": "boolean",
      "title": "Timed Out",
      "default": false
    },
    "saved_file": {
      "anyOf": [
        {
          "$ref": "#/$defs/SavedFile"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "validation": {
      "anyOf": [
        {
          "$ref": "#/$defs/JobValidation"
        },
        {
          "type": "null"
        }
      ]
    },
    "result_type": {
      "enum": [
        "json",
        "xlsx",
        "csv"
      ],
      "type": "string",
      "title": "Result Type"
    }
  },
  "description": "Structured result shared by convert_bank_statement and get_conversion.",
  "additionalProperties": false
}
convert_bank_statement annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
get_balance — Get page-credit balance
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Return total, reserved, and available MainBook credits. Every value is measured in PDF pages.

get_balance input schema
{
  "type": "object",
  "title": "get_balanceArguments",
  "properties": {}
}
get_balance output schema
{
  "type": "object",
  "title": "BalanceOutput",
  "required": [
    "balance",
    "reserved",
    "available",
    "explanation"
  ],
  "properties": {
    "units": {
      "type": "string",
      "const": "pages",
      "title": "Units",
      "default": "pages"
    },
    "balance": {
      "type": "integer",
      "title": "Balance"
    },
    "reserved": {
      "type": "integer",
      "title": "Reserved",
      "minimum": 0
    },
    "available": {
      "type": "integer",
      "title": "Available"
    },
    "explanation": {
      "type": "string",
      "title": "Explanation"
    }
  },
  "additionalProperties": false
}
get_balance annotations
{
  "readOnlyHint": true,
  "openWorldHint": true
}
list_conversions — List conversions
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

List one cursor page of conversion jobs visible to the MainBook account. Pass the returned next_cursor to continue.

list_conversions input schema
{
  "type": "object",
  "title": "list_conversionsArguments",
  "properties": {
    "limit": {
      "type": "integer",
      "title": "Limit",
      "default": 25,
      "maximum": 100,
      "minimum": 1,
      "description": "Jobs on this page, from 1 to 100."
    },
    "cursor": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Cursor",
      "default": null,
      "description": "Opaque next_cursor from the previous page."
    }
  }
}
list_conversions output schema
{
  "type": "object",
  "$defs": {
    "Job": {
      "type": "object",
      "title": "Job",
      "required": [
        "job_id",
        "state",
        "filename",
        "file_format",
        "pages",
        "source",
        "created_at",
        "updated_at",
        "validation",
        "error"
      ],
      "properties": {
        "error": {
          "anyOf": [
            {
              "$ref": "#/$defs/JobError"
            },
            {
              "type": "null"
            }
          ]
        },
        "pages": {
          "type": "integer",
          "title": "Pages",
          "minimum": 1
        },
        "state": {
          "enum": [
            "awaiting_upload",
            "queued",
            "processing",
            "succeeded",
            "succeeded_with_warnings",
            "insufficient_credits",
            "failed",
            "expired"
          ],
          "type": "string",
          "title": "State"
        },
        "job_id": {
          "type": "string",
          "title": "Job Id"
        },
        "source": {
          "enum": [
            "web",
            "api"
          ],
          "type": "string",
          "title": "Source"
        },
        "filename": {
          "type": "string",
          "title": "Filename"
        },
        "created_at": {
          "type": "string",
          "title": "Created At"
        },
        "updated_at": {
          "type": "string",
          "title": "Updated At"
        },
        "validation": {
          "anyOf": [
            {
              "$ref": "#/$defs/JobValidation"
            },
            {
              "type": "null"
            }
          ]
        },
        "file_format": {
          "type": "string",
          "const": "pdf",
          "title": "File Format"
        },
        "credits_reserved": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Credits Reserved",
          "default": null
        }
      }
    },
    "JobError": {
      "type": "object",
      "title": "JobError",
      "required": [
        "category",
        "reason"
      ],
      "properties": {
        "reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Reason"
        },
        "category": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Category"
        }
      }
    },
    "JobValidation": {
      "type": "object",
      "title": "JobValidation",
      "required": [
        "reconcilable",
        "passed",
        "mismatched_rows"
      ],
      "properties": {
        "passed": {
          "type": "boolean",
          "title": "Passed",
          "description": "Whether MainBook's applicable statement-math checks passed."
        },
        "reconcilable": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Reconcilable",
          "description": "Whether statement math can be reconciled; null means the document kind has no running-balance reconciliation, such as many credit-card statements."
        },
        "mismatched_rows": {
          "type": "integer",
          "title": "Mismatched Rows",
          "minimum": 0,
          "description": "Number of transaction rows that remain mathematically mismatched."
        }
      }
    }
  },
  "title": "ListConversionsOutput",
  "required": [
    "conversions",
    "next_cursor",
    "count"
  ],
  "properties": {
    "count": {
      "type": "integer",
      "title": "Count",
      "minimum": 0
    },
    "units": {
      "type": "string",
      "const": "pages",
      "title": "Units",
      "default": "pages"
    },
    "conversions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Job"
      },
      "title": "Conversions"
    },
    "next_cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Next Cursor"
    }
  },
  "additionalProperties": false
}
list_conversions annotations
{
  "readOnlyHint": true,
  "openWorldHint": true
}
get_conversion — Get conversion
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Get the current state of one MainBook conversion. When successful, return JSON inline or save XLSX/CSV locally over stdio. HTTP mode returns safe download instructions. Use this after convert_bank_statement times out.

get_conversion input schema
{
  "type": "object",
  "title": "get_conversionArguments",
  "required": [
    "job_id"
  ],
  "properties": {
    "job_id": {
      "type": "string",
      "title": "Job Id",
      "minLength": 1,
      "description": "Conversion job UUID returned by MainBook."
    },
    "output_path": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Output Path",
      "default": null,
      "description": "Optional absolute result file or existing folder on the MCP server machine. Only available over stdio and only inside the allowed folders."
    },
    "result_type": {
      "enum": [
        "json",
        "xlsx",
        "csv"
      ],
      "type": "string",
      "title": "Result Type",
      "default": "json",
      "description": "Result representation to retrieve after the job succeeds."
    }
  }
}
get_conversion output schema
{
  "type": "object",
  "$defs": {
    "SavedFile": {
      "type": "object",
      "title": "SavedFile",
      "required": [
        "path",
        "reason"
      ],
      "properties": {
        "path": {
          "type": "string",
          "title": "Path"
        },
        "reason": {
          "type": "string",
          "title": "Reason"
        }
      },
      "additionalProperties": false
    },
    "JobValidation": {
      "type": "object",
      "title": "JobValidation",
      "required": [
        "reconcilable",
        "passed",
        "mismatched_rows"
      ],
      "properties": {
        "passed": {
          "type": "boolean",
          "title": "Passed",
          "description": "Whether MainBook's applicable statement-math checks passed."
        },
        "reconcilable": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Reconcilable",
          "description": "Whether statement math can be reconciled; null means the document kind has no running-balance reconciliation, such as many credit-card statements."
        },
        "mismatched_rows": {
          "type": "integer",
          "title": "Mismatched Rows",
          "minimum": 0,
          "description": "Number of transaction rows that remain mathematically mismatched."
        }
      }
    },
    "ConversionData": {
      "type": "object",
      "title": "ConversionData",
      "required": [
        "document",
        "transactions",
        "has_warnings"
      ],
      "properties": {
        "document": {
          "$ref": "#/$defs/ConversionDocument"
        },
        "has_warnings": {
          "type": "boolean",
          "title": "Has Warnings"
        },
        "transactions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ConversionTransaction"
          },
          "title": "Transactions"
        }
      },
      "description": "Exact top-level JSON shape produced by the MainBook exporter."
    },
    "ConversionDocument": {
      "type": "object",
      "title": "ConversionDocument",
      "required": [
        "id",
        "display_name",
        "bank_name",
        "account_holder",
        "account_address",
        "account_number_masked",
        "account_type",
        "kind",
        "currency",
        "period_start",
        "period_end",
        "billing_cycle_length_days",
        "starting_balance_cents",
        "ending_balance_cents",
        "transactions_count",
        "net_credits_cents",
        "net_debits_cents",
        "credit_limit_cents",
        "available_credit_cents",
        "previous_balance_cents",
        "new_balance_cents",
        "payment_due_amount_cents",
        "payment_due_date"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "kind": {
          "type": "string",
          "title": "Kind"
        },
        "pages": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Pages",
          "default": null
        },
        "currency": {
          "type": "string",
          "title": "Currency"
        },
        "bank_name": {
          "type": "string",
          "title": "Bank Name"
        },
        "period_end": {
          "type": "string",
          "title": "Period End"
        },
        "account_type": {
          "type": "string",
          "title": "Account Type"
        },
        "display_name": {
          "type": "string",
          "title": "Display Name"
        },
        "period_start": {
          "type": "string",
          "title": "Period Start"
        },
        "account_holder": {
          "type": "string",
          "title": "Account Holder"
        },
        "account_address": {
          "type": "string",
          "title": "Account Address"
        },
        "net_debits_cents": {
          "type": "integer",
          "title": "Net Debits Cents"
        },
        "payment_due_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Payment Due Date"
        },
        "net_credits_cents": {
          "type": "integer",
          "title": "Net Credits Cents"
        },
        "new_balance_cents": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "New Balance Cents"
        },
        "credit_limit_cents": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Credit Limit Cents"
        },
        "transactions_count": {
          "type": "integer",
          "title": "Transactions Count",
          "minimum": 0
        },
        "ending_balance_cents": {
          "type": "integer",
          "title": "Ending Balance Cents"
        },
        "account_number_masked": {
          "type": "string",
          "title": "Account Number Masked"
        },
        "available_credit_cents": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Available Credit Cents"
        },
        "previous_balance_cents": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Previous Balance Cents"
        },
        "starting_balance_cents": {
          "type": "integer",
          "title": "Starting Balance Cents"
        },
        "payment_due_amount_cents": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Payment Due Amount Cents"
        },
        "billing_cycle_length_days": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Billing Cycle Length Days"
        }
      },
      "description": "Document summary emitted by MainBook's JSON exporter."
    },
    "DownloadInstruction": {
      "type": "object",
      "title": "DownloadInstruction",
      "required": [
        "job_id",
        "result_type",
        "instruction"
      ],
      "properties": {
        "url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Url",
          "default": null
        },
        "job_id": {
          "type": "string",
          "title": "Job Id"
        },
        "expires_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Expires At",
          "default": null
        },
        "instruction": {
          "type": "string",
          "title": "Instruction"
        },
        "result_type": {
          "enum": [
            "xlsx",
            "csv"
          ],
          "type": "string",
          "title": "Result Type"
        },
        "rest_endpoint": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Rest Endpoint",
          "default": null
        }
      },
      "additionalProperties": false
    },
    "ConversionTransaction": {
      "type": "object",
      "title": "ConversionTransaction",
      "required": [
        "row",
        "source_file",
        "page",
        "line_index",
        "date",
        "description",
        "amount_cents",
        "transaction_type",
        "balance_after_cents",
        "currency",
        "validation_status",
        "warning_flags"
      ],
      "properties": {
        "row": {
          "type": "integer",
          "title": "Row",
          "minimum": 1
        },
        "date": {
          "type": "string",
          "title": "Date"
        },
        "page": {
          "type": "integer",
          "title": "Page",
          "minimum": 1
        },
        "currency": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Currency"
        },
        "cardholder": {
          "type": "string",
          "title": "Cardholder",
          "default": ""
        },
        "line_index": {
          "type": "integer",
          "title": "Line Index",
          "minimum": 0
        },
        "description": {
          "type": "string",
          "title": "Description"
        },
        "source_file": {
          "type": "string",
          "title": "Source File"
        },
        "amount_cents": {
          "type": "integer",
          "title": "Amount Cents"
        },
        "warning_flags": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "title": "Warning Flags"
        },
        "transaction_type": {
          "enum": [
            "credit",
            "debit"
          ],
          "type": "string",
          "title": "Transaction Type"
        },
        "validation_status": {
          "enum": [
            "valid",
            "system_mismatch",
            "user_edited_mismatch",
            "user_reviewed",
            "user_accepted"
          ],
          "type": "string",
          "title": "Validation Status"
        },
        "balance_after_cents": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Balance After Cents"
        },
        "cardholder_card_masked": {
          "type": "string",
          "title": "Cardholder Card Masked",
          "default": ""
        }
      },
      "description": "One exported transaction row, with integer-cent monetary fields."
    }
  },
  "title": "ConversionOutput",
  "required": [
    "job_id",
    "state",
    "pages",
    "validation",
    "result_type",
    "message"
  ],
  "properties": {
    "data": {
      "anyOf": [
        {
          "$ref": "#/$defs/ConversionData"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "pages": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Pages"
    },
    "state": {
      "anyOf": [
        {
          "enum": [
            "awaiting_upload",
            "queued",
            "processing",
            "succeeded",
            "succeeded_with_warnings",
            "insufficient_credits",
            "failed",
            "expired"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "State"
    },
    "job_id": {
      "type": "string",
      "title": "Job Id"
    },
    "message": {
      "type": "string",
      "title": "Message"
    },
    "download": {
      "anyOf": [
        {
          "$ref": "#/$defs/DownloadInstruction"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "timed_out": {
      "type": "boolean",
      "title": "Timed Out",
      "default": false
    },
    "saved_file": {
      "anyOf": [
        {
          "$ref": "#/$defs/SavedFile"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "validation": {
      "anyOf": [
        {
          "$ref": "#/$defs/JobValidation"
        },
        {
          "type": "null"
        }
      ]
    },
    "result_type": {
      "enum": [
        "json",
        "xlsx",
        "csv"
      ],
      "type": "string",
      "title": "Result Type"
    }
  },
  "description": "Structured result shared by convert_bank_statement and get_conversion.",
  "additionalProperties": false
}
get_conversion annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

0 advertised

No prompt definitions available.

Resources

0 advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (71 of 71 checks answered)

  1. 2026-11-02: 3 of 3 checks answered
  2. 2026-11-03: 4 of 4 checks answered
  3. 2026-11-04: 4 of 4 checks answered
  4. 2026-11-05: 4 of 4 checks answered
  5. 2026-11-06: 4 of 4 checks answered
  6. 2026-11-07: 2 of 2 checks answered
  7. 2026-11-09: 1 of 1 checks answered
  8. 2026-11-10: 2 of 2 checks answered
  9. 2026-11-11: 1 of 1 checks answered
  10. 2026-11-12: 1 of 1 checks answered
  11. 2026-11-14: 1 of 1 checks answered
  12. 2026-11-15: 2 of 2 checks answered
  13. 2026-11-16: 4 of 4 checks answered
  14. 2026-11-17: 5 of 5 checks answered
  15. 2026-11-18: 5 of 5 checks answered
  16. 2026-11-19: 4 of 4 checks answered
  17. 2026-11-20: 3 of 3 checks answered
  18. 2026-11-21: 4 of 4 checks answered
  19. 2026-11-22: 4 of 4 checks answered
  20. 2026-11-23: 3 of 3 checks answered
  21. 2026-11-24: 4 of 4 checks answered
  22. 2026-11-25: 4 of 4 checks answered
  23. 2026-11-26: 2 of 2 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
2 of 2 (100%)
Average latency
1197 ms
95th percentile latency
1233 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 1157 ms · 4 tool(s), 0 resource(s), 0 resource template(s), 0 prompt(s)
  • · probe · passed · 1237 ms · metadata changed · 4 tool(s), 0 resource(s), 0 resource template(s), 0 prompt(s)
  • · repository · passed · updated
  • · repository · passed · metadata changed · unchanged
  • · repository · passed · metadata changed · updated
  • · registry · passed · metadata changed · Source metadata updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http mainbook-bank-statement-converter-mcp https://mcp.mainbook.ai/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add mainbook-bank-statement-converter-mcp --url https://mcp.mainbook.ai/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable mainbook-bank-statement-converter-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "mainbook-bank-statement-converter-mcp": {
      "url": "https://mcp.mainbook.ai/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "mainbook-bank-statement-converter-mcp": {
      "type": "streamableHttp",
      "url": "https://mcp.mainbook.ai/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start mainbook-bank-statement-converter-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "mainbook-bank-statement-converter-mcp": {
      "type": "http",
      "url": "https://mcp.mainbook.ai/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http mainbook-bank-statement-converter-mcp https://mcp.mainbook.ai/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://mcp.mainbook.ai/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "mainbook-bank-statement-converter-mcp": {
      "serverUrl": "https://mcp.mainbook.ai/mcp"
    }
  }
}

Let your agent find its tools

Find servers like MainBook Bank Statement Converter MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Frequently asked questions

Does the server validate transaction totals?
Yes. The server performs balance validation to ensure totals reconcile with the original statement, flagging any discrepancies in the output.
What are the prerequisites for local execution?
You must install uv or the mainbook-mcp package. Local execution requires running a terminal sign-in command before using the tools.
Can I use this server without an account?
Connection and tool listing require no sign-in. However, individual tools may need a vendor account, credentials, or permissions. The account must accept the API Terms to avoid failures.
What formats are supported for output?
The server converts PDF bank statements into validated JSON, Excel, or CSV formats.

Do you run MainBook Bank Statement Converter MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing