← Back to all projects
UK Tax & Accounts Engine

Time-versioned UK tax rates, allowances and thresholds back to 2007-08, with exact calculators for income tax, National Insurance, capital gains, corporation tax and inheritance tax. Every figure carries its gov.uk source. Served to AI assistants through MCP and built into a finance module with HMRC Making Tax Digital VAT submission.
Technology
backendpythonflaskrest-api
databasepostgresql
devopskubernetesdocker
toolsmcphmrc-mtd
UK Tax & Accounts Engine
The problem
Tax questions depend on the year. AI models recall rates from memory and get them wrong.
What I built
- Rates corpus: income tax, NIC, dividends, savings, CGT, corporation tax and IHT, versioned by tax year back to 2007-08, each value linked to its gov.uk source.
- Calculators: exact income tax, PAYE, NIC, CGT, corporation tax, IHT, student loan and payments on account, plus Self Assessment box lookups and return recalculation.
- MCP tools so an AI assistant calculates instead of guessing.
- Finance module: ledger, bank reconciliation and document checks on the multi-tenant framework, and HMRC Making Tax Digital VAT submission.
Private system: a walkthrough or live demo is available on request.