Changelog¶
[0.0.37] - 2026-11-28¶
Added¶
- CI: the
passmcp conformance (100/100)job (MCP Protocol Conformance workflow) installs passmcp 0.0.10 from its GitHub release after checking its checksum, runs it over stdio and over streamable HTTP against this branch's wheel, uploads the reports, and fails unless both score 100/100. This release scores 100/100 on both.
Changed¶
- CI: four pinned actions move to their latest releases: codeql-action 4.39.5, markdownlint-cli2-action 25.1.0, cosign-installer 4.1.4 and sbom-action 0.24.4.
- Require
bankstatementparser >= 0.0.36, the newest core release.poetry.lockandrequirements/{ci,docs,fuzz,runtime}.txtmove to bankstatementparser 0.0.36. - Version 0.0.37, in lockstep with the suite's 0.0.37 release.
docs/transports.mdnames the CI job that runs passmcp, the transports it covers and the 100/100 it requires.make securityand the Security workflow run bandit's full scan (-c pyproject.toml) with no fallback; a failing scan was hidden by a medium-severity-only rerun, and CI ran only that rerun.- CI: the Security workflow audits every locked requirements set (runtime, dev, docs, fuzz, build and sbom), not only some of them, so an advisory in the release tooling fails CI too.
Fixed¶
- Over streamable HTTP,
resources/readfor a URI that does not exist answered HTTP 400, so a client saw a transport failure; the JSON-RPC error (-32602 withdata.uri) now comes with HTTP 200. - Over streamable HTTP,
server/discoverlists 2025-11-25 beside 2026-07-28 insupportedVersions, since the endpoint still answers theinitializehandshake. parse_statement's catalogue entry is about 490 tokens instead of 627, under passmcp's 500-token budget per tool; its name and arguments are unchanged.- The suite consistency check authenticates its GitHub API request with the workflow token, so the shared anonymous rate limit no longer fails it.
[0.0.36] - 2026-11-27¶
Added¶
- Bash and zsh completions in
completions/, generated by shtab from the server's own parser (make completions, through the newbankstatementparser_mcp.completion.parserand_cli.build_parser); CI fails when they are stale. - A MkDocs Material user manual (
mkdocs.yml,docs/) with an mkdocstrings API reference, built with--stricton every pull request and deployed to GitHub Pages frommain(.github/workflows/docs.yml,make docs). It replaces a Sphinx configuration that nothing built.requirements/docs.txtis its hashed export of the lock. docs/POLICIES.md(supported Python),docs/BENCHMARKS.md(a run ofbenches/bench_detect_and_parse.pywith its environment),docs/COMPARISON.mdanddocs/suite.md.- SLSA provenance on every GitHub release
(
bankstatementparser-mcp-vX.Y.Z.intoto.jsonl, slsa-github-generator 2.1.0) beside the cosign signatures. - The suite's Docs Lint workflow (
scripts/readme-check.shand markdownlint),.markdownlint-cli2.jsoncand the portfolio pull request template.
Fixed¶
- A refused payload's
ToolErrornamed a fragment of the private temp path instead of only the caller's filename whenever the temp directory resolves differently from the pathmkstempreturns: on macOS it readUnable to detect statement format: /privatemystery.xml, and on Windows it carried the wholeC:\Users\...\Temp\tmp*.xmlpath. The resolved form is now replaced too. - The container image's
org.opencontainers.image.licenseslabel, set in both the Dockerfile and the Docker workflow, saidApache-2.0; it now saysApache-2.0 OR MIT, aspyproject.tomldeclares.
Changed¶
- Require
bankstatementparser >= 0.0.35, the newest core release, and align the version with the suite's 0.0.36 release.poetry.lockandrequirements/{ci,runtime,fuzz}.txtmove to bankstatementparser 0.0.35. - CI:
github/codeql-action4.39.4 (Dependabot #150). - CI tests CPython 3.10 to 3.14 on Ubuntu, macOS and Windows, not Ubuntu alone.
publish-mcp.ymlinstalls mcp-publisher 1.8.16 checked against its published SHA-256 instead of whatever "latest" served, and grantsid-token: writeonly to its job. The conformance workflow runs MCP Inspector 2.16.0 rather than npm's latest. The smoke job no longer upgrades pip unpinned.README.mdfollows the portfolio template; the suite tables move todocs/suite.md, the licence section states the Apache-2.0 OR MIT grant, and the demo GIF is re-rendered.CODE-OF-CONDUCT.mdis nowCODE_OF_CONDUCT.md.scripts/export_locked_requirements.py:_project_nodeand_selectedsplit under the cyclomatic ceiling with byte-identical output; the complexity baseline drops from 8 offenders to 6.ROADMAP.mdlists what ships now; it still called v0.0.19 current.
0.0.35 - 2026-11-26¶
Added¶
scripts/check_complexity.py, the suite's standard-library complexity gate, copied byte for byte frombankstatementparser: cyclomatic 10, cognitive 15, Halstead difficulty 30 and 60 lines per function, 500 lines per file. The 8 functions and files already over a ceiling are recorded inscripts/complexity_baseline.json; CI andmake checkfail when one gets worse, a new one appears, or an improvement is left unrecorded, so the baseline can only shrink.
Changed¶
- Require
bankstatementparser >= 0.0.34, the newest core release, and align the version with the suite's 0.0.35 release, which brings all fourteen packages and bankstatementparser.com onto one version. - Dependencies: pydantic 2.14.4 with pydantic-core 2.50.5, httpx2 and
httpcore2 2.14.0 (2.16.2 on Python 3.11+), sse-starlette 3.5.1
(3.7.1 on Python 3.11+), lxml 6.1.3, pytz 2026.6, typing-inspection
0.4.5, mypy-extensions 1.2.0, pluggy 1.7.0, iniconfig 2.3.1 and ruff
0.17.6.
requirements/{ci,runtime,fuzz}.txtare re-exported from the lock. - Release SBOM tooling: cyclonedx-bom 9.0.0 in
requirements/sbom.txt. Thecyclonedx-py environmentstep is unchanged. - CI:
ossf/scorecard-action2.6.0. scripts/check_suite_consistency.pynow checks the eight packages joining the suite (BACS, CAMT.054, CFONB and SEPA loaders, EBICS transport, OFX, QIF and SWIFT writers) and the website's latest GitHub release.
0.0.34 - 2026-11-18¶
Changed¶
- Require
bankstatementparser >= 0.0.33, the newest core release, and align the version with the suite's 0.0.34 release. No other changes.
0.0.33 - 2026-11-18¶
Changed¶
- Require
bankstatementparser >= 0.0.32, the newest core release, and align the version with the suite's 0.0.33 release. No other changes.
0.0.32 - 2026-11-18¶
Changed¶
- Require
bankstatementparser >= 0.0.31, the newest core release, and align the version with the suite's 0.0.32 release. - Release notes are written by the release workflow. A final
release-notesjob runs after every asset is attached and rewrites the GitHub release in the suite's format: Highlights, What's Changed, New Contributors (when any), Checksums of every asset, and the Full Changelog link. Until now the body was GitHub's generated list alone, so 0.0.30 and 0.0.31 had to be corrected by hand. - The Highlights are the one hand-written part, kept in
.github/releases/<tag>.md. The build refuses to publish when that file is missing, has fewer than 2 or more than 4* **Headline**: textbullets, or contains an em dash. scripts/release_notes.py, shared with every suite repository, composes the body from the GitHub API and the downloaded assets.
0.0.31 - 2026-11-18¶
Added¶
fuzz/fuzz_tools.py, an Atheris (libFuzzer) target for every tool that takes a statement payload, and a CI job that runs it for two minutes. Atheris lives in an optionalfuzzPoetry group, installed from the hashedrequirements/fuzz.txtexport. Run it withmake fuzz(Linux x86_64, Python 3.12+).
Changed¶
- Require
bankstatementparser >= 0.0.30, the newest core release, and align the version with the suite's 0.0.31 release. - Release titles read
bankstatementparser-mcp <version>instead of the bare tag.
Fixed¶
parse_statementandsummarize_statementrefuse malformed input with aToolErrorwhen an explicitformatskips detection. Core passes lxml'sXMLSyntaxError(format="camt") andcsv.Error(format="csv") through unchanged, so the client got a bare "Error executing tool" instead of the reason. Found by the new fuzz target.- The
server.jsondescription is 99 characters; the MCP Registry caps it at 100, so every publish from v0.0.20 to v0.0.30 failed with HTTP 422. A test now checks the limit.
0.0.30 - 2026-11-18¶
Security¶
- The release tooling (
requirements/build.txt) floorsfilelock >= 4.2.1(GHSA-9vhv-jxww-xfm5, GHSA-567q-5qvw-pf92, GHSA-v4x8-3wr5-3wq8; it pinned 4.0.10) andcertifi >= 2026.10.19(PYSEC-2026-4320; it pinned 2026.7.22), and keepsvirtualenv >= 21.14.13(GHSA-cx6f-vjhg-g3cc). filelock 4.2.1 needs Python 3.11 and only 3.12 jobs install the tree, so it is compiled for 3.12, universally: that restores the pins (cachecontrol among them) a non-universal Dependabot recompile dropped, without whichpip install --require-hashes -r requirements/build.txtfailed. - The release SBOM job points
cyclonedx-py environmentandpip-licensesat the Poetry venv (poetry env info --executable). Run throughpoetry run, they described their own interpreter, so the SBOM listed the SBOM tooling instead of the runtime set. opentelemetry-api >= 1.45.1(GHSA-xcq7-p3pf-p88h; the lock held 1.44.0), thelangchainextra floorscertifi >= 2026.10.19(PYSEC-2026-4320), and the dev group floors black at 26.10.1 (CVE-2026-114134).opentelemetry-api >= 1.45.2(GHSA-mf5v-w3w3-f6cg); the lock already held 1.45.2.- Every CI job and the Docker image install from hash-locked exports of
poetry.lock(requirements/ci.txt,requirements/runtime.txt, written byscripts/export_locked_requirements.pyand checked against the lock in CI) with--require-hashes, and the package itself with--no-deps. Both Docker stages pinpython:3.14-slimby digest, anddocker.ymlgrants its write permissions to the build job only. This clears the OpenSSF Scorecard Pinned-Dependencies and top-level Token-Permissions alerts. pip-auditchecks the locked runtime and dev sets instead of the runner's environment.- pip-audit is a dev dependency on Python 3.11+ only, with
filelock >= 4.2.1: it pulls filelock, every filelock up to 4.2.0 has advisories, and 4.2.1 needs Python 3.11, so on 3.10 the lock held the affected 4.1.0.
Changed¶
requirements/build.infloorsdulwich >= 1.2.19(it pinned 1.2.17), in place of Dependabot #105.- Requires core
bankstatementparser >= 0.0.29, the newest released core. - Aligned version across the
bankstatementparsersuite to0.0.30. 0.0.29 was prepared but never published; its changes ship in 0.0.30. - CI, Docker, and release workflows:
github/codeql-action4.39.3,docker/login-action4.8.0, andsigstore/cosign-installer4.1.3 (#125). - Dependencies and SBOM tooling:
langchain-core1.7.7 (#126) andruff0.17.5 (#128) inpoetry.lock(pruning orphanedcyclonedx-bomentries), andcyclonedx-bom8.0.1 inrequirements/sbom.txt(#127).
Fixed¶
- Reworded cross-tool imperatives in
list_supported_formatsanddetect_formatinto declarative scope descriptions so every MCP tool governs only itself and clearspassmcpcatalog.text.shadowingchecks.
0.0.28 - 2026-10-11¶
Changed¶
- Aligned version across the
bankstatementparsersuite to0.0.28. - Raised core
bankstatementparserdependency requirement to>= 0.0.28.
0.0.21 - 2026-10-04¶
Documentation¶
- Standardized documentation formatting and license references.
- Synchronized release version metadata across packaging descriptors.
0.0.20 - 2026-10-03¶
Added¶
- Animated terminal
demo.gifrendered via VHS from.github/demo.tape. AGENTS.mddefining AI collaboration invariants and verification gates.- SPDX Apache-2.0 OR MIT dual license compliance with
LICENSES/tree. --transport streamable-httpand--transport sse, with--hostand--port. Streamable HTTP serves both current protocol revisions (2026-07-28 stateless withserver/discover, and 2025-11-25 with theinitializehandshake) on one endpoint and streams responses as server-sent events;sseserves the older HTTP+SSE transport. stdio stays the default and is unchanged.--versionprints the version. ADR 0001 records the decision.
Fixed¶
detect_format,parse_statementandsummarize_statementnow refuse an unparseable or undetectable payload with aToolErrorthat names the caller's filename and the parser's reason. They used to let the parser's exception escape, which the SDK reports as a bare "Error executing tool" with the cause kept on the server, so an agent could not tell a wrongfilenamehint from a corrupt statement.
0.0.19 - 2026-08-31¶
Added¶
- Multi-framework agent adapters (
as_langchain_tools,as_crewai_tools,as_llamaindex_tools) inadapters.py. - Bumped dependency to
bankstatementparser >= 0.0.19.
0.0.18 - 2026-08-29¶
Aligns the bankstatementparser suite on one version number, and adds
the scheduled drift check this repository was missing.
Added¶
scripts/check_suite_consistency.pyand a scheduledSuite Consistencyworkflow compare this tree, and every published member of the suite, against PyPI. A member left a release behind still installs and still passes its own tests; only the index disagrees, and only if somebody looks.
Changed¶
- Version aligned to
0.0.18across all sixbankstatementparserpackages, which had drifted to0.0.14,0.0.15,0.0.17,0.0.16,0.0.16and0.0.15. - Refreshed the vendored
tests/test_suite_conformance.pyto the current canonical copy. Its drift-check probe now matches the bare wordpypirather than the hostname, which CodeQL read as an incomplete URL sanitisation.
[0.0.17] - 2026-08-29¶
Brings this repository onto the suite conformance gate.
Added¶
benches/bench_detect_and_parse.py— an agent walking a folder callsdetect_formaton every file, often only to decide whether to parse it, so detection is on a hot path that parsing is not.
Detection does not read the file. Cost stays near 1 ms whether the
input is 0.7 KiB or 346 KiB, so us/KiB falls to 0.05x as files grow —
a fixed-size peek amortising. Had it stayed flat, every skipped file
would have been read in full to be skipped. Detection on unrecognised
content is measured too, since that is what a folder of stray files
produces, and it is the cheapest case of all.
For parsing, the format gap is large and now visible: at 2,000 entries camt.053 takes 245 ms against MT940's 5.3 ms and CSV's 0.7 ms. XML is simply dearer, but a caller choosing an interchange format can now see by how much.
Nothing asserts a timing threshold — wall-clock is not comparable
between machines, and a flaky performance gate teaches people to ignore
red. CI runs --quick, so a benchmark that stops compiling fails the
build rather than rotting into a file that reads as verified.
tests/test_suite_conformance.py— invariants shared by every repository in the suite, vendored from one canonical copy and checksummed by its own test.
Changed¶
- CI lints, formats and runs
benches/alongside everything else. tomli(on 3.10) andpackagingare named as dev dependencies; the conformance gate parsespyproject.tomland needs both.tests/test_suite_conformance.pyis excluded from black: it is generated, and the suite uses three different line lengths.
[0.0.16] - 2026-08-05¶
Changed¶
- chore(deps): fold the open Dependabot updates. cryptography 49.0.0 -> 50.0.0 across the pinned requirement sets.
- chore(mcp): adopt the shared mcp 1.x/2.x compatibility layer.
mcpwidened to>=1.2,<3. mcp 2.0 removesmcp.server.fastmcpand renamesFastMCPtoMCPServer, so the previous<2pin was the only thing keeping this server importable.
Fixed¶
test_version_pinned_at_expected_releaseno longer hardcodes a version. It asserted0.0.14and had gone stale against 0.0.15, failing on main; it now checks__version__against pyproject.
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.0.14 - 2026-07-18¶
Changed¶
- chore(deps): require
bankstatementparser>=0.0.11(was>=0.0.9), keeping the ISO 20022 MCP Suite in lockstep with the 0.0.11 core release. No functional or API changes.
0.0.13 - 2026-07-02¶
The discoverability cut. Registers bankstatementparser-mcp with
the official Model Context Protocol Registry, adds MCP-spec
conformance CI, and positions the server as part of the ISO 20022 MCP
Suite. No functional or API changes.
Added¶
- Official MCP Registry integration.
bankstatementparser-mcpis now registered with the official Model Context Protocol Registry (registry.modelcontextprotocol.io) asio.github.sebastienrousseau/bankstatementparser-mcp. A newserver.jsonat the repo root provides the registry metadata (PyPI package identifier, stdio transport), and the README carries anmcp-name: io.github.sebastienrousseau/bankstatementparser-mcpmarker that the registry uses to verify PyPI package ownership. - Auto-publish workflow (
.github/workflows/publish-mcp.yml). Authenticates to the MCP Registry via GitHub OIDC (no secrets required) on everyv*.*.*tag push, syncs the tag version intoserver.json, and runsmcp-publisher publish. Registry metadata now stays in lockstep with each PyPI release automatically. - Protocol conformance CI (
.github/workflows/mcp-inspect.yml). Runs@modelcontextprotocol/inspector --cliagainsttools/liston every push and PR. Green run is the spec-compliance evidence bank buyers routinely ask for. - Suite discoverability. The README now cross-links the sibling
banking MCP servers under a "Related MCP Servers" section,
positioning
bankstatementparser-mcpas part of the ISO 20022 MCP Suite alongsidepain001-mcp,camt053-mcp,acmt001-mcp, andnoyalib-mcp.
Changed¶
- GitHub repository description and topics refreshed: description now
positions the server as part of the ISO 20022 MCP Suite; topics
extended with
mcp,mcp-server,model-context-protocol,iso20022,camt053,mt940,ofx,bank-statement,banking,fintech,financial-services,claude,ai-agents,python,bankstatementparser(topics were empty before). - Glama manifest version bumped to
0.0.13.
No functional / API changes¶
- Same 5 MCP tools as v0.0.12. This release is metadata, CI, and discoverability only.
0.0.12 - 2026-06-25¶
Changed¶
- Audit pass. Covered
main()(removed a# pragma: no coverthat masked testable code) and hardened the example-regression discovery to a set-equality check.
0.0.11 - 2026-06-24¶
Added¶
- End-to-end install smoke test - a new
smokejob inci.yml("Smoke test (installed wheel)") builds the wheel, installs it into a clean virtual environment (pullingbankstatementparserandmcpfrom PyPI), then imports the installed package and runs an example from a neutral working directory so the source tree is not onsys.path. This catches packaging and CI-vs-local divergence. - Expanded edge-case tests keeping the 100% line + branch coverage
honest: garbage/malformed payloads across the detect/parse/validate
paths, the
limitparameter at its boundaries (0and larger than the row count), an explicit-but-wrongformat, and confirmation thatvalidate_statementreturns a structured{"is_valid": false, ...}error rather than raising.
Changed¶
- Pruned over-scaffolding CI - removed the
nightly.ymlanddocs.ymlworkflows (redundant for a small thin-adapter package); the kept workflows (ci.yml,pr.yml,codeql.yml,security.yml,release.yml,docker.yml) already cover the full quality posture.
0.0.10 - 2026-06-24¶
Added¶
- Initial release of
bankstatementparser-mcp, a Model Context Protocol (MCP) server that exposes thebankstatementparserbank statement parsing library as tools for AI agents and assistants. bankstatementparser-mcpconsole script that runs the FastMCP server over stdio.- Five MCP tools, all delegating to the
bankstatementparserparser core so they behave identically to the library: list_supported_formats- list every bank statement format the parser can read (camt,pain001,csv,ofx,qfx,mt940).detect_format- detect which statement format an inline payload is.parse_statement- parse a statement into structured transactions plus a summary, with an optional rowlimit.validate_statement- dry-run check whether a statement parses cleanly, returning a structured result rather than raising.summarize_statement- return only the statement summary (opening/closing balances and currency).- One resource (
bankstatementparser://formats) describing each supported format and its file extensions, and one prompt (analyze_statement) guiding an agent through reading and reconciling a statement. - Tools take inline statement content plus a filename hint and materialise it in a private temporary file for the duration of a single call, so no shared filesystem is required between client and server.
- Multi-stage
Dockerfile- apython:3.12-slim-based image runs the server over stdio as a non-rootmcpuser (docker run -i --rm bankstatementparser-mcp). - Quality workflows -
ci.ymlenforces ruff, mypy, the 100% pytest coverage gate, and the 100% docstring gate on Python 3.10/3.11/3.12;security.ymlruns bandit + pip-audit;codeql.ymlruns GitHub's CodeQL Python analysis. - Security policy (
SECURITY.md) describing the threat model and hardening (private temp files, no network listener, no secrets). scripts/verify_versions.py- pre-release script asserting__version__,pyproject.toml, andCHANGELOG.mdagree.- Python 3.10+ support; depends on
bankstatementparser(>=0.0.9) andmcp(>=1.2). - Quality gates pinned at 100% from the initial release:
pytest --cov=bankstatementparser_mcp --cov-branch --cov-fail-under=100exercising every line and branch inbankstatementparser_mcp/server.py.interrogate --fail-under=100for module and function docstring coverage.- Runnable examples under
examples/covering every tool, thebankstatementparser://formatsresource (formats_resource), and theanalyze_statementprompt — each self-contained (inline fixtures, no network) and exercised by the test suite. - Documentation regression suite keeping the docs honest:
tests/test_docs_accuracy.pyasserts the README, CHANGELOG, andexamples/README.mdmatch the live tool/resource/prompt registry, the package version, and the supported-format set.tests/test_regression_examples.pyruns everyexamples/*.pyas a subprocess and asserts a clean exit.tests/test_regression_docs.pyexecutes every fencedpythonblock in the README (anddocs/*.md) so no documented example can silently rot.