Metadata-Version: 2.4
Name: aus-accounting-mcp
Version: 0.10.0
Summary: Local accounting reviews, fourteen bounded tax and super worksheets and cited retrieval from your configured local Markdown folder. uvx from PyPI; not advice.
Author-email: Ryan Duguid <ryan@duguid.com.au>
License-Expression: LicenseRef-Duguid-Public-Attribution-1.0
Project-URL: Homepage, https://duguid.com.au/tools/australian-tax-ai-agents/
Project-URL: Repository, https://github.com/ryanduguid/australian-accounting.git
Project-URL: Documentation, https://github.com/ryanduguid/australian-accounting/blob/main/apps/aus-accounting-mcp/docs/REFERENCE.md
Project-URL: Changelog, https://github.com/ryanduguid/australian-accounting/blob/main/apps/aus-accounting-mcp/RELEASE_NOTES.md
Project-URL: Issues, https://github.com/ryanduguid/australian-accounting/issues
Keywords: model-context-protocol,mcp-server,australian-tax,ato-benchmarks,payday-super,division-7a,accounting-ai,ato,accounting,tax
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Financial and Insurance Industry
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Office/Business :: Financial :: Accounting
Requires-Python: >=3.14
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: NOTICE
Requires-Dist: mcp<3,>=2.3.0
Requires-Dist: payday-super-checker==0.2.3
Requires-Dist: ato-benchmark-compare==0.2.2
Requires-Dist: div7a-loan-review==0.3.2
Requires-Dist: gst-review==0.1.0
Requires-Dist: lodgment-calendar==0.1.0
Provides-Extra: dev
Requires-Dist: ruff>=0.11; extra == "dev"
Requires-Dist: pyright[nodejs]==1.1.414; extra == "dev"
Requires-Dist: nodejs-wheel-binaries==24.19.0; extra == "dev"
Requires-Dist: build>=1.6.1; extra == "dev"
Requires-Dist: pytest>=8.0.0; extra == "dev"
Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
Requires-Dist: Pillow==13.0.0; extra == "dev"
Requires-Dist: setuptools==84.2.1; extra == "dev"
Dynamic: license-file

# Aus Accounting MCP

<div align="center">

[![tests](https://img.shields.io/github/actions/workflow/status/ryanduguid/australian-accounting/ci.yml?branch=main&label=tests&labelColor=000000&style=flat)](https://github.com/ryanduguid/australian-accounting/actions/workflows/ci.yml)<br>
[![PyPI](https://img.shields.io/pypi/v/aus-accounting-mcp.svg?color=66023C&labelColor=000000&style=flat)](https://pypi.org/project/aus-accounting-mcp/)
[![License: Ryan Duguid Public Attribution Licence 1.0](https://img.shields.io/badge/License-Public%20Attribution%201.0-66023C?labelColor=000000&style=flat&color=66023C)](https://github.com/ryanduguid/australian-accounting/blob/main/apps/aus-accounting-mcp/LICENSE)
[![Python 3.14+](https://img.shields.io/badge/python-3.14%2B-66023C?logo=python&logoColor=E5E4E2&labelColor=000000&style=flat&color=66023C)](https://www.python.org/downloads/)

</div>

Australian accounting tools for Claude, Cursor, Codex and other MCP clients. The
server runs on your machine over stdio, needs no API key or account, and makes no
network calls once installed.

Find its published identity in the
[MCP Registry](https://registry.modelcontextprotocol.io/v0.1/servers?search=io.github.ryanduguid%2Faus-accounting&version=latest).
The listing identifies the distribution; it does not prove a client's installed transport works.

- **ATO small business benchmarks:** compare a business's P&L figures with the
  benchmark ranges for its industry.
- **Payday Super:** review contribution timing for one payday or a whole employer,
  and build a 4-file evidence pack for a practitioner's workpaper.
- **Division 7A:** get the benchmark interest rate and review s 109N loan terms and
  s 109E minimum yearly repayments for one loan. Matters outside that scope are refused.
- **14 tax and super worksheets:** GST, resident basic tax, CGT, FBT, first-year
  depreciation, quarterly SG, Schedule 1 PAYG withholding, super contribution caps,
  account-based pension minimums, study and training loan repayments, Schedule 8 study
  loan withholding, a single person's Medicare levy, the low income tax offset and
  Division 293 tax, each within a stated period and scope. The Medicare levy worksheet
  refuses a person to whom s 9A (lump sum payments in arrears) applies. The annual
  Medicare worksheet does not apply Medicare adjustments to payroll withholding.
  Worksheets added to the Rust calculators since 0.2.0, such as the main residence
  exemption, borrowing expenses and the Division 296 estimate, run through the
  `au-accounting` command until this server links the Rust crate.
- **GST and BAS:** give each coded bank line a review state against supplied GST
  registration dates and compare lodged BAS label figures with ledger lines per period.
- **Lodgment and identifiers:** list ATO 2026-27 lodgment program due dates and test
  ABN and ACN check digits. A valid check digit proves neither ABR nor GST registration.
- **Reviewed rates:** look up an ATO rate or threshold by record id and date, with its
  source page and a verbatim quote. The records cover 2025-26 and 2026-27 only, and any
  other date is refused.
- **Cited research:** search your own Markdown library, or a local copy of federal tax
  legislation, with every result cited to its file and line, or its Act, section and
  compilation. Search a local ATO rulings corpus and read one cited ruling paragraph.
- **Test data:** generate synthetic CTR and BAS fixtures for integration testing.

## Install

Requires Python 3.14+ and [uv](https://docs.astral.sh/uv/):

```bash
uvx --from 'aus-accounting-mcp==0.10.0' aus-accounting-mcp
```

This selects the published [0.10.0 release](https://github.com/ryanduguid/australian-accounting/releases/tag/aus-accounting-mcp/v0.10.0).
The source checkout may be ahead of the published release. The pin selects the
server version; it does not lock every transitive dependency.

From 0.10.0 the tax worksheets also need the `australian-tax-calculators` 1.0.0
executable, which `uvx` does not install. Download it for x86_64 Linux or Windows from
the [australian-tax-calculators/v1.0.0 release](https://github.com/ryanduguid/australian-accounting/releases/tag/australian-tax-calculators/v1.0.0)
(other platforms build it from [source](https://github.com/ryanduguid/australian-accounting/tree/main/packages/australian-tax-calculators)),
verify it as that release describes, and put it in a folder on `PATH` or give its
absolute path in `AUS_TAX_CALCULATORS_BIN`. Without it the tax worksheets refuse with
an install message; every other tool works.

The server waits for an MCP client over stdio. Tool calls read bundled data and any
folders you configure. They do not contact the ATO or the Federal Register, change
records or lodge. Your MCP host still sends tool arguments and results to its model
provider, so use fabricated data with a hosted model.

To upgrade, replace the version in your client configuration with a later release
published on PyPI. `uvx` can keep serving a cached release, so call
`get_data_freshness` to see the installed version and the periods its bundled data
records. It cannot tell you whether a newer release or newer official figures exist.

## Client integration

From 0.8.0, each release also has an MCP Bundle for Claude Desktop: download
`aus-accounting-mcp-<version>.mcpb` from the
[bundle releases](https://github.com/ryanduguid/australian-accounting/releases?q=aus-accounting-mcp-bundle&expanded=true)
and open it with Claude Desktop. The bundle holds no server code. It pins this package
at that version, which uv installs from PyPI on first launch, resolving the package's
own dependencies then. `SHA256SUMS` in the same release shows the download is intact;
it does not prove who published it. The bundle does not include the calculators
executable, so its tax worksheets refuse unless the executable, installed as under
Install, is in a folder on the `PATH` Claude Desktop gives the server. The bundle's
settings offer the 3 optional research folders described under Tools. If Claude Desktop does not start it, use the
configuration below.

For Claude Desktop, Cursor, Windsurf and other hosts that run local stdio servers:

```json
{
  "mcpServers": {
    "aus-accounting": {
      "command": "uvx",
      "args": ["--from", "aus-accounting-mcp==0.10.0", "aus-accounting-mcp"]
    }
  }
}
```

[Add to Cursor](https://cursor.com/en/install-mcp?name=aus-accounting&config=eyJjb21tYW5kIjoidXZ4IiwiYXJncyI6WyItLWZyb20iLCJhdXMtYWNjb3VudGluZy1tY3A9PTAuMTAuMCIsImF1cy1hY2NvdW50aW5nLW1jcCJdfQ==),
or from a terminal:

```bash
claude mcp add --scope user aus-accounting -- uvx --from 'aus-accounting-mcp==0.10.0' aus-accounting-mcp
codex mcp add aus-accounting -- uvx --from 'aus-accounting-mcp==0.10.0' aus-accounting-mcp
```

The [client setup guide](https://github.com/ryanduguid/australian-accounting/blob/main/apps/aus-accounting-mcp/docs/REFERENCE.md#client-setup)
covers Gemini CLI, VS Code, Zed and others. ChatGPT connectors and the Claude.ai web
app accept only remote servers, so they cannot run this one.

## Example requests

Ask in plain English. Each of these fabricated requests resolves to one tool call:

| Ask | Tool |
|---|---|
| 'Compare a hairdresser with $180,000 sales, no other income, $60,000 wages, $30,000 rent and $40,000 other expenses to the ATO benchmarks.' | `get_ato_benchmarks` |
| 'Super for a 6 August 2026 payday was $120 and was sent on 14 August. As at 20 August, is it on time?' | `calc_payday_super_deadline` |
| 'What is the Division 7A benchmark interest rate for 2026-27?' | `get_div7a_benchmark_rate` |
| 'An employee who gave a TFN and claims the tax-free threshold (scale 2) is paid a regular $1,000 weekly wage in 2026-27, with no offsets, loans, bonuses or other adjustments. How much PAYG should be withheld?' | `calculate_tax_worksheet` |

## Tools

| Tool | Use |
|---|---|
| `list_ato_benchmark_industries` | Find a business type in the bundled ATO dataset. |
| `get_ato_benchmarks` | Compare supplied P&L figures with ATO benchmark ranges. |
| `calc_payday_super_deadline` | Review timing for one super contribution. |
| `review_payday_super_contributions` | Review related contributions together for one employer. |
| `build_payday_super_evidence_pack` | Return 4 review files in memory for a practitioner's workpaper. |
| `calculate_tax_worksheet` | Calculate one of 14 worksheets with established scope and period, optionally with a Markdown file note. |
| `get_div7a_benchmark_rate` | Get a reviewed Division 7A benchmark rate, or `UNKNOWN`. |
| `review_div7a_loan` | Review s 109N terms and s 109E minimum yearly repayments for one supplied amalgamated loan. |
| `refuse_div7a` | Explain unsupported Division 7A matters. Call without arguments. |
| `review_gst_coding` | Give each coded bank line a review state against supplied GST registration dates. |
| `reconcile_bas` | Compare lodged BAS label figures with ledger lines per period. |
| `get_lodgment_due_dates` | List ATO 2026-27 lodgment program due dates for BAS, IAS and income tax returns, self-lodged or through an agent, with `UNKNOWN` where a fact is missing. |
| `validate_abn` | Test an ABN against ABN Lookup's published check digit arithmetic. A valid check digit proves neither ABR nor GST registration. |
| `validate_acn` | Test an ACN against ASIC's published check digit arithmetic. A valid check digit proves neither ABR nor GST registration. |
| `validate_bsb_format` | Test a BSB against AusPayNet's published 6 digit format, XXX-XXX. It holds no BSB directory, so a valid format proves no institution, branch or account. |
| `validate_account_number_format` | Test a bank account number against the account number field in AusPayNet's BECS Procedures: up to 9 letters, digits, hyphens or spaces, not all zeros. A valid format proves no account, payee or BSB match. |
| `get_reviewed_rate` | Return a reviewed ATO rate or threshold for a date, with its source and a verbatim quote. Records cover 2025-26 and 2026-27 only; any other date is refused. |
| `search_accounting_library` | Search a configured local Markdown library. |
| `read_accounting_library` | Read cited lines from that library. |
| `search_tax_legislation` | Find provisions in a configured local legislation corpus, best match first. A plain question works: stop words are dropped, and provisions holding at least 2 of the words but not all, a modal word's opposite form counting towards the 2, come back labelled as partial hits, never as matches. `as_at` answers for a date from each title's compilation window and refuses by name any title it cannot answer for. |
| `read_tax_legislation_section` | Read one cited provision in full, in parts when it is long. `as_at` adds the title's status and window, and withholds the text unless the status is `captured`. |
| `define_tax_term` | Find an expression's statutory definitions in that corpus. |
| `search_tax_rates` | Find legislated rates and thresholds with the provision that sets them. |
| `search_ato_rulings` | Find paragraphs in a configured local ATO rulings corpus. |
| `read_ato_ruling` | Read one cited ruling paragraph. |
| `generate_synthetic_sbr_fixture` | Generate fabricated CTR/BAS test data. |
| `get_data_freshness` | Report each bundled dataset's recorded periods, engine version and source dates, with `UNKNOWN` where none is recorded. |

There is no TFN check: the ATO gives its TFN algorithm only to software developers, so no
published source fixes one.

Missing figures remain unknown. Preserve `UNKNOWN`, `REFUSED`, `not_supplied` and
`null` results; `ok: true` means the tool ran, not that a review passed. Supply an
explicit assessment date and fund-receipt evidence, both the date and the amount
received (`received` with `matched_amount`), before reading a Payday Super result
as `ON_TIME`.

Payday Super tools do not assess a contribution the fund returned. Set `returned_by_fund`
when you know of a return, and the review is refused. Otherwise every `ON_TIME`, including
a candidate in `horizon_verdicts`, assumes the fund kept every receipt and says so in
`verdict_qualification` and its caveats, and the evidence pack repeats it. Check fund
records for returns before relying on `ON_TIME`.

The research tools need a folder you supply: set `AUS_ACCOUNTING_LIBRARY_ROOT` to an
authorised Markdown folder, `AUS_ACCOUNTING_CORPUS_ROOT` to a legislation corpus or
`AUS_ACCOUNTING_RULINGS_ROOT` to ATO rulings runs, such as those built by
[PaulGoodman](https://github.com/ryanduguid/PaulGoodman). Its
[published snapshot](https://github.com/ryanduguid/australian-accounting/blob/main/apps/aus-accounting-mcp/docs/corpus-setup.md#download-the-published-snapshot) of 9 principal
Acts, each at its current compilation on 11 November 2026 and with a rates index, needs no
build: unpack it and set `AUS_ACCOUNTING_CORPUS_ROOT` to its `dist` folder.
[`python -m fadden quick --out <empty folder>`](https://github.com/ryanduguid/australian-accounting/blob/main/apps/aus-accounting-mcp/docs/corpus-setup.md#build-the-principal-acts-with-one-command)
in that repository builds the same Acts at their current compilations on your machine,
without a rates index, and prints the setting. The
[corpus setup walkthrough](https://github.com/ryanduguid/australian-accounting/blob/main/apps/aus-accounting-mcp/docs/corpus-setup.md) also verifies the existing builder
and MCP tools together using a fabricated page before any live capture.
The package ships none of them. From 0.8.0, run
`aus-accounting-mcp doctor` with the same variables set to see each folder's row count;
it exits 1 if a configured folder is broken.
A corpus or rulings row is a point-in-time copy, not
a live lookup, and an edited version of private advice cannot be relied on by anyone.
Legislation results preserve a row's capture date and recorded successor date when
available. From 0.8.0, `as_at` on the legislation search and read
tools reports each title's status for a date: `captured` is not a finding that the text
was the law then, and a date inside a window can still carry text amended without a new
compilation. Rulings results expose a captured withdrawal notice; `UNKNOWN` means
withdrawal status was not established, including in older runs. Notice presence
does not decide its effect for an earlier period or establish today's status.
Point the library at reference material, or at one engagement at a time, never at a
folder of mixed client files: every match enters the assistant's context, whichever
client it came from.

The [reference](https://github.com/ryanduguid/australian-accounting/blob/main/apps/aus-accounting-mcp/docs/REFERENCE.md)
covers every exclusion, input rule, prompt, resource, the evidence pack format and
the evaluation suite. The [website guide](https://duguid.com.au/tools/australian-tax-ai-agents/)
has further examples. For the supplier information a firm needs for its AI register,
and answers to the questions buyers put to tax-research tools, see
[For a firm assessing this server](https://github.com/ryanduguid/australian-accounting/blob/main/apps/aus-accounting-mcp/docs/firm-assessment.md).

## 30-second demonstration

From `apps/aus-accounting-mcp/` in a repository checkout, run the fabricated example. It shows the tools running on synthetic data; it is not evidence that a review passed:

```bash
uv run --locked aus-accounting-mcp-demo
```

![Static terminal demonstration of synthetic BAS output and Division 7A loan review](https://raw.githubusercontent.com/ryanduguid/australian-accounting/main/apps/aus-accounting-mcp/docs/quick-proof.webp)

The [checked text transcript](https://github.com/ryanduguid/australian-accounting/blob/main/apps/aus-accounting-mcp/docs/quick-proof.txt)
and [proof and provenance](https://github.com/ryanduguid/australian-accounting/blob/main/apps/aus-accounting-mcp/docs/REFERENCE.md#demonstration-and-provenance)
record the expected output, limitations and asset source.

## Conformance cases

[`conformance/cases.json`](https://github.com/ryanduguid/australian-accounting/blob/main/apps/aus-accounting-mcp/conformance/cases.json) holds 32 calls. Fifteen PAYG
withholding cases take their expected amounts from the ATO's published Schedule 1
sample data, and 11 Payday Super and Division 7A cases take theirs from an ATO
example or a section worked by hand (`basis: authority`). Six cases, including those
it leaves `UNKNOWN` or refuses, pin this server's own results, each with its reason
(`basis: self-pinned`). Another implementation can replay them; see
[conformance/README.md](https://github.com/ryanduguid/australian-accounting/blob/main/apps/aus-accounting-mcp/conformance/README.md).

## Licence and releases

Licensed under the [Ryan Duguid Public Attribution Licence 1.0](https://github.com/ryanduguid/australian-accounting/blob/main/apps/aus-accounting-mcp/LICENSE), the FSL-1.1-ALv2 text with a public attribution condition. You may use, modify and redistribute it for any purpose except a Competing Use as defined in LICENSE (making it available to others in a competing commercial product or service), and each version becomes available under Apache-2.0 2 years after it is made available. For versions made available from 4 November 2026, LICENSE's Public Attribution Condition applies to the FSL grant: anyone who makes a copy, port or derivative available outside their organisation must credit Ryan Duguid publicly, with a link to this repository. Internal use is exempt, and the condition does not apply to each version's Apache-2.0 licence. See [LICENSE](https://github.com/ryanduguid/australian-accounting/blob/main/apps/aus-accounting-mcp/LICENSE) and [NOTICE](https://github.com/ryanduguid/australian-accounting/blob/main/apps/aus-accounting-mcp/NOTICE). Created by Ryan Duguid. If you redistribute this work or build on it, keep the copyright notices in [NOTICE](https://github.com/ryanduguid/australian-accounting/blob/main/apps/aus-accounting-mcp/NOTICE).

Release `aus-accounting-mcp==0.5.0` provides 14 worksheets through
`australian-tax-calculators==0.2.0`, including Schedule 8 study-loan withholding,
the bounded annual Medicare levy, LITO and Division 293. The preceding 0.4.0
release provides 10 through calculators 0.1.8. From 0.10.0 the 14 run through the
`australian-tax-calculators` 1.0.0 executable instead. See the
[worksheet release verification](https://github.com/ryanduguid/australian-accounting/blob/main/apps/aus-accounting-mcp/docs/worksheet-release.md) for the installed
package checks.

[Release notes](https://github.com/ryanduguid/australian-accounting/blob/main/apps/aus-accounting-mcp/RELEASE_NOTES.md),
[v0.10.0 release record](https://github.com/ryanduguid/australian-accounting/releases/tag/aus-accounting-mcp/v0.10.0),
[CITATION.cff](https://github.com/ryanduguid/australian-accounting/blob/main/apps/aus-accounting-mcp/CITATION.cff).

<sub>Not tax, legal or financial advice. Payday Super and Division 7A reviews are experimental and need human review before consequential accounting action; fixtures are not a lodgement. Ryan Duguid is not a registered tax agent or BAS agent. Support covers software issues reproduced with fabricated data: do not send taxpayer information or ask for advice, return preparation, tax-treatment confirmation or lodgement. See [DISCLAIMER.md](https://github.com/ryanduguid/australian-accounting/blob/main/apps/aus-accounting-mcp/DISCLAIMER.md).</sub>

<!-- mcp-name: io.github.ryanduguid/aus-accounting -->
