Repository avatar
AI Tools
v0.3.5
active

quarter

io.github.quarterso/quarter

Read-only money answers from your own files: payouts, books against bank, spending, vendor payments.

Documentation

Quarter. AI-native finance. Open tools for money in software; every answer shows its source. Quarter Proofs, Ingest, Flows, Guard and Receipts. quarterfi.com

Quarter

AI-native finance. Open tools for people who write money software, and every answer shows its source.

Everything here runs on your machine and reads files only. It opens no network connection, stores nothing and never moves money.

ToolWhat it doesStatus
Quarter Ingest (quarter ingest)Read, check and clean bank and payment exports (OFX, QFX, BAI2, camt.053, NACHA, bank CSV, Stripe, PayPal, Shopify, Adyen, Amazon, QuickBooks and Xero exports). Each record cites the line it came from. Serves a folder to an AI assistant over MCP.Released 0.3.3 from its own repository, quarterso/ingest. Works on our test files. Many public samples are still refused (see Honest limits).
Quarter Guard (quarter-guard)Checks Python, JavaScript and TypeScript for money mistakes, such as money in a float, rounding with no rule or a webhook acted on before its signature is checked. No model, no network; text, JSON and SARIF output.Released 0.3.0 from its own repository, quarterso/guard.
The money skillsSix skills that teach an AI coder to handle money correctly: minor units, business days, Stripe webhooks, Stripe and database sync, ledgers, payout reconciliation.Works. Plain markdown, each skill citing its sources.
The Quarter pluginQuarter Ingest and the money skills in one Claude Code plugin, plus exports for Cursor, AGENTS.md and any chat.Installs from this repository: /plugin marketplace add quarterso/quarter, then /plugin install quarter@quarter. Not in Anthropic's directory yet.
Quarter ReceiptsEd25519 receipts over a result and the records it cites, an append-only log, and offline verifiers in Rust and Python.Works. No independent security review yet.
Quarter Proofs (quarter proofs)quarter proofs payouts payouts.csv bank.csv: did every payout reach the bank? Each payout gets one answer (landed, late, short, over, missing, failed, or not proved yet), citing the lines in both files it rests on.Works on synthetic files; tested against the real reader in CI.
Quarter Flows (quarter flows, v0)One small pipeline.toml names the sources, steps, checks and outputs; quarter flows run reads each source once through Quarter Ingest, matches processor payouts to the bank (the Quarter Proofs match), runs the checks and writes CSV, JSON lines or SQLite, every row naming the file lines it came from, with a hash-chained receipt per run. Python 3.11 or newer, standard library only.Works on synthetic files. Receipts are hash-chained, not signed yet.
Pulley exit checkChecks that every export from a closing equity platform is saved and opens, with a receipt per file.Works on synthetic exports.

Coming, not in this repository yet: more Quarter Proofs jobs (webhook gaps, gross to net, Stripe against your app), Quarter Watch (monitoring) and Quarter Data (public data over MCP). See ROADMAP.md and EXCLUDED.md.

Try it

cargo build --release -p quarter-files
target/release/quarter-ingest check fixtures/bankfiles/operating.ofx
target/release/quarter-ingest read fixtures/bankfiles/operating.ofx | head -3
target/release/quarter-ingest clean fixtures/bankfiles/operating.bai --out /tmp/operating-clean

clean writes records.csv (typed, money in minor units), records.jsonl and report.json (the file's kind, SHA-256, each column's type and every problem found).

An AI assistant can read one folder over MCP, and nothing outside it:

quarter-ingest mcp --root /path/to/exports

The plugin: claude --plugin-dir plugins/quarter. See plugins/quarter/README.md.

Use it in Claude, Cursor, VS Code

Claude Desktop. Download quarter-mcp-v<version>.mcpb from the latest release and open it. It bundles, for your platform, the published Quarter engines (Ingest, Proofs, Guard, Receipts, Watch), each verified against tools.lock when the release was built and checked again before it runs; on first run it asks for the one folder Quarter may read.

The release archive. Unpack quarter-v<version>-<target>.tar.gz: quarter.pyz sits beside tools.lock and the verified engines/, so python3 quarter.pyz mcp --root /path/to/exports serves all fourteen tools with nothing else to set.

Cursor (.cursor/mcp.json) or VS Code (.vscode/mcp.json), pointing at the unpacked archive:

{
  "mcpServers": {
    "quarter": {
      "command": "python3",
      "args": ["-I", "/path/to/quarter-v<version>-<target>/quarter.pyz", "mcp", "--root", "/path/to/exports"]
    }
  }
}

From a clone, run python3 -I scripts/fetch-engines.py once (it fetches this machine's pinned engines and checks each one's SHA-256 and build attestation), then use python/bin/quarter in place of quarter.pyz.

For reading files only, without the payout proofs, point at the single Rust binary instead:

{
  "mcpServers": {
    "quarter-ingest": {
      "command": "quarter-ingest",
      "args": ["mcp", "--root", "/path/to/exports"]
    }
  }
}

Which server: use quarter mcp for all fourteen tools (files, payouts, gross to net, webhooks, recurring charges, spending, books against the bank, vendor payments, journal entries, money code, receipts and alerts); use quarter-ingest mcp for the file tools only (list_files, check_file, read_file).

Honest limits

  • Tested mostly on samples, not real files. No format here has been confirmed on a real customer's export. FORMATS.md lists what each reader was tested on.
  • Many sample files are refused. Of the 332 public sample files we test against, Quarter Ingest reads 133 whole: from banks, OFX 15 of 29, BAI2 8 of 23, camt.053 19 of 38, NACHA 39 of 48 and bank CSV 10 of 21 (91); from payment processors, Adyen 25 of 25, PayPal 11 of 23, Shopify 4 of 6, Amazon 1 of 6 and Stripe 1 of 1 (42). It reads none yet of the other formats in the collection, such as camt.052, camt.054, MT940, pain, IIF and QIF. Each of the other 199 is refused with its reason, 194 of them naming the line. check lists every problem at once. Measured with quarter-ingest check on 2026-12-04.
  • Books exports: the QuickBooks and Xero readers read our own test files. Real Xero demo-company exports are refused today.
  • Not audits. Receipts prove what was computed from which files. They do not prove the files are true.
  • Version 0.3.1, pre-release. No independent security review. Linux and macOS for the Rust crates.

Build and test

The Rust toolchain is pinned in rust-toolchain.toml. CI runs:

cargo build --locked
cargo test --workspace --locked
cargo clippy --locked --all-targets -- -D warnings
cargo fmt --check
cargo doc --locked --no-deps
cargo deny check
python3 -I verify/run_tests.py
python3 -m unittest discover -s verifiers/python
python3 -I -W error::ResourceWarning -m unittest discover -s python/tests
python3 -I scripts/validate-plugin.py plugins/quarter
sh examples/run-all.sh

Where things are

PathWhat
crates/quarter-filesThe command line tool and MCP server
crates/readersThe file readers
crates/schemaOne JSON shape for a financial record, canonical bytes and masking
crates/receiptQuarter Receipts: signing, the log and the Rust verifier
verifiers/pythonA second receipt verifier, standard library only
plugins/quarterThe Claude Code plugin and the money skills
verify/The Pulley exit check (Python 3.9 or newer, standard library only)
fixtures/Test files Quarter wrote, with invented companies and numbers
docs/threat-model.mdWhat receipts and masking do and do not protect
examples/One runnable example per tool, checked in CI
scripts/The release check and the plugin validator

Community

Licence

Apache 2.0. See LICENSE and NOTICE.

MCPB
https://github.com/quarterso/quarter/releases/download/v0.3.5/quarter-mcp-v0.3.5.mcpb
Install Command
# mcpb: https://github.com/quarterso/quarter/releases/download/v0.3.5/quarter-mcp-v0.3.5.mcpb