OpenAccountants MCP Server

Open-source tax skills for AI across 134 countries — VAT/GST, income tax, social contributions. pip install openaccountants-mcp

Documentation

MseeP.ai Security Assessment Badge smithery badge

OpenAccountants

Open-source accounting skills for AI. 890+ skills across 134 countries + 51 US state packages + 13 Canadian province/territory packages.

11 accounting domains: tax, bookkeeping, e-invoicing, payroll, company formation, financial statements, transfer pricing, tax optimization, crypto tax, cross-border, plus industry verticals and platform integrations.


⚠️ Important — what's in this repo and what isn't

OpenAccountants runs on a two-layer model:

LayerWhere it livesQuality tierHow to get it
Research drafts (rules, rates, thresholds, workflow bases)This GitHub repoTier 2 — research-verified, AI-drafted, not signed by a credentialed accountantClone, fork, audit, contribute. Use freely under the AGPL-3.0 / commercial dual license.
Accountant-verified skills (signed off by a named licensed CPA / CA / EA / Steuerberater / equivalent)The website + MCP server at openaccountants.comTier 1 — corrections applied, audit flash points reviewed, verifier name on every outputInstall the MCP connector at openaccountants.com/connect. Your AI loads them automatically with the verifier's name on every answer.

Why split? The skill rules (rates, thresholds, statutes) are public domain restructured — those live here, open. The verified version of record — corrected by a named accountant, with their reputation on it — is served via the MCP so the AI-to-human handoff (request_accountant_review) can route users to a real CPA. That handoff is the product. The repo is the research base.

To USE OpenAccountants: install the MCP connector at openaccountants.com/connect — works with Claude.ai, ChatGPT, Cursor, Windsurf, and any other MCP-aware AI client.

To CONTRIBUTE or AUDIT: you're in the right place. Open issues, submit PRs, verify your jurisdiction.


Website: openaccountants.com · Install: openaccountants.com/connect · Verifiers: openaccountants.com/network


👉 Start here

New to this repo? Read START-HERE.md — it has a table of scenarios ("I'm a freelance developer in California", "I sell on Etsy", "I'm worried about Pillar Two", etc.) and tells you exactly which files to upload and what to say to the AI.

If you just want to dive in, pick your jurisdiction:

You are…Go to
Freelancer / sole prop in a countrypackages/<country>/ (e.g. malta, germany, uk)
US-based — freelancer or single-member LLCpackages/us-<state>/ (e.g. us-ca, us-ny, us-tx)
Canada-based — sole proppackages/ca-<province>/ (e.g. ca-on, ca-qc, ca-bc) — federal + provincial bundled. If absent, run python3 scripts/build-packages.py to (re)generate them.
Cross-border or sector-specific (SaaS, banking, REIT, etc.)skills/cross-border/ and skills/verticals/

Two ways to use OpenAccountants

MethodWhat you getBest for
MCP connector (recommended)All accountant-verified skills, with named-verifier attribution and the AI-to-human handoff (request_accountant_review routes to a real CPA with your worksheet attached). Install at openaccountants.com/connect.Anyone who actually wants to use OpenAccountants. Claude.ai, ChatGPT (paid Business+), Cursor, Windsurf, Claude Desktop, Claude Code, or any MCP-aware client.
Manual upload from this repoOnly the research-verified drafts in this repo (no verifier name, no handoff). Download a folder, drag .md files into your LLM.Developers / accountants who want to audit, fork, or contribute to the open library before installing.

The MCP path is the canonical product. This repo is the open research base that backs it.

Known limitations

Read this before you trust any output.

  • LLMs hallucinate and misread. These files steer the model; they do not guarantee correct numbers, classifications, or filings. Always have a qualified professional review before you act.
  • Tax law changes. Rates, thresholds, and forms go out of date. The repo is a snapshot; openaccountants.com may be ahead of what you cloned.
  • Verification is in two tiers — see QUALITY-TIERS.md. Accountant-verified (Tier 1) means a licensed practitioner has signed off and put their name on the skill. These are served only via the MCP server at openaccountants.com — not from this repo. Research-verified (Tier 2) means every rate, threshold, and form reference has been drafted from authoritative sources but not yet signed off by a credentialed practitioner. This repo holds the Tier 2 drafts; the Tier 1 signed versions live in the database behind the MCP server.
  • Coverage is uneven. Thirteen countries ship the full accounting suite (tax + bookkeeping + payroll + formation + financial statements + transfer pricing + tax optimization) in this repo; dozens more have multiple skills without that full stack; many jurisdictions are VAT/GST-only or partial. See Coverage below and each country folder's README.
  • Newer domains need more eyes. Bookkeeping, payroll, formation, financial statements, transfer pricing, and tax optimization skills are research-verified but have fewer accountant sign-offs than the core tax skills. Help us close that gap.

Honesty is the point: if you know where the gaps are, you can use the project safely. Skeptics welcome.


Quick start (60 seconds)

1. Find your country

Everything you need is in one folder under packages/. Upload every file in that folder.

packages/
├── malta/           ← 23 files (tax + bookkeeping + payroll + formation + financial statements + TP + optimization)
├── uk/              ← ~20 files
├── germany/         ← ~25 files (the fullest)
├── ... 130+ more countries
├── us-ca/           ← Federal + California state skills
├── us-ny/           ← Federal + New York state skills
├── us-tx/           ← Federal + Texas state skills
├── ... 51 US state packages (all 50 states + DC)
├── ca-on/           ← Federal Canadian + Ontario provincial skills
├── ca-qc/           ← Federal Canadian + Quebec provincial skills (incl. QST)
├── ca-bc/           ← Federal Canadian + British Columbia provincial skills
├── ... 13 Canadian province/territory packages (all 10 provinces + 3 territories)
├── canada/          ← Index README only; per-province packages live in ca-<code>/

Canadian packages are generated. If packages/ca-on/, ca-qc/, etc. are missing in your checkout, run python3 scripts/build-packages.py once to materialise them. The script also regenerates the rest of packages/ from source files under skills/.

Also available: _cross-border/ (37 skills), _verticals/ (14 industry skills), _integrations/ (10 platform skills)

International users: pick your country folder (e.g. packages/malta/).

US users: pick packages/us-[your state code]/ (e.g. packages/us-ca/ for California). Each state package bundles federal skills (Schedule C, SE, QBI, estimated tax, etc.) plus your state's income tax, sales tax, and specialty taxes. See the US state index for the full list, or the source coverage matrix for what each state includes.

Canadian users: pick packages/ca-[your province code]/ (e.g. packages/ca-on/ for Ontario, packages/ca-qc/ for Quebec). Each province/territory package bundles the federal Canadian skills (T1, T2125, CPP/EI, GST/HST, T1135, instalments, crypto, bookkeeping, payroll, formation, financial statements, transfer pricing, tax optimization) plus your province/territory's income tax (and QST for Quebec). If the ca-* folders aren't present in your checkout, run python3 scripts/build-packages.py once. See the Canada index for the full list.

For MCP users, US state and Canadian province packages appear as us-ca, us-tx, ca-on, ca-qc, etc. alongside country packages.

Contributors: all packages are generated from source files under skills/ by scripts/build-packages.py. Edit the source, not the package. See CONTRIBUTING.md.

2. Upload to your LLM

Open the folder for your jurisdiction under packages/. Upload all .md files.

Upload to:

  • Claude.ai → Create a Project, add files as Project Knowledge
  • ChatGPT → Attach files to a conversation or create a Custom GPT
  • Any other LLM → Attach or paste the files

3. Attach your bank statement and go

Say any of:

Help me with my 2025 taxes. Here's my bank statement.
Help me set up a company in Malta.
Run my payroll for this month.
Prepare my annual accounts.
Optimize my tax — what deductions am I missing?
Check my invoice compliance for EU e-invoicing.

The AI will ask a few questions, load the right skills, and produce a working paper for your accountant.


Are you an accountant?

These skills need your eye. Most are research-verified — drafted from authoritative sources (tax-authority publications and primary legislation) but awaiting credentialed sign-off. Your review moves them to accountant-verified.

You don't need to use GitHub. Just:

  1. Find your country's folder under packages/
  2. Check the rates against your tax authority's website
  3. Email your corrections to [email protected] — Word doc, Excel, PDF, tracked changes, whatever format works for you

We'll update the skill and credit you publicly as the verified reviewer at openaccountants.com.

Or if you prefer GitHub: fork, fix, PR. Your name goes on the skill either way.

134 countries need accountant reviewers. Pick yours at packages/ and be the first verified professional for your jurisdiction.


What's in each package

Every country folder contains:

FileWhat it doesSame everywhere?
foundation.mdTells the AI HOW to work — conservative defaults, output format, classification contractYes
intake.mdOnboarding questions, refusal checks, document inferenceYes (country name filled in)
[country]-vat.mdVAT/GST/sales tax rules, supplier pattern library, form mappingsNo — country-specific
[country]-income-tax.mdIncome tax brackets, deductions, transaction patternsNo — country-specific
[country]-ssc.mdSocial security / pension contributionsNo — country-specific
[country]-bookkeeping.mdChart of accounts, P&L/balance sheet format, expense classificationNo — 13 countries
[country]-einvoice.mdE-invoicing format, mandatory fields, transmission, penaltiesNo — 15 countries
[country]-payroll.mdPAYE withholding, social security, payslips, filingNo — 15 countries
[country]-formation.mdEntity types, registration steps, costs, complianceNo — 13 countries
[country]-financial-statements.mdAnnual accounts, reporting framework, filing, auditNo — 13 countries
[country]-transfer-pricing.mdTP documentation, arm's length, CbCR, penaltiesNo — 15 countries
[country]-tax-optimization.mdLegal tax reduction strategies, deductions you're missing, timingNo — 13 countries
[country]-crypto-tax.mdCryptocurrency/digital asset taxation, cost basis, DeFi, staking, NFTsNo — 22 countries
[country]-guided-intake.mdFull guided experience with detailed inference (if available)No — 13 countries have this
[country]-return-assembly.mdCross-checks between VAT, IT, and SSC (if available)No — 13 countries have this

Special packages:

PackageWhat it covers
_cross-border/22 skills — multi-jurisdiction coordination, EU SS coordination, OECD treaty defaults, 70+ treaty corridor rates
_verticals/6 industry-specific skills — freelance developer, e-commerce, content creator, consultant, property investor, medical professional
_integrations/10 platform skills — Xero, QuickBooks, Stripe, Wise, PayPal, Revolut, Amazon Seller, Shopify, FreeAgent, Sage

Not every country has every file. Some have only VAT. Some have VAT + income tax + SSC + bookkeeping + e-invoicing. Thirteen countries have the full accounting suite. Check the README inside each country folder.


Coverage

Full accounting suite (13 countries)

Tax + bookkeeping + payroll + formation + financial statements + transfer pricing + tax optimization:

CountryWhat you get
MaltaVAT + TA24 income tax + Class 2 SSC + provisional tax + rental + crypto
United KingdomVAT100 + SA103/SA100 + NIC + student loan + SA105 rental + SA108 CGT + dividends
GermanyUStVA + Einkommensteuer + Sozialversicherung + Gewerbesteuer + rental + crypto
AustraliaBAS + ITR + super + Medicare levy + rental + crypto
CanadaGST/HST + T1/T2125 + CPP/EI + 10 provincial returns + crypto
IndiaGST + ITR-3/4 + advance tax + professional tax + PF/ESI
SpainIVA + IRPF + RETA + rental + Modelo 111
FranceTVA + impot sur le revenu + cotisations sociales + CFE + crypto + rental + capital gains
JapanConsumption tax + income tax + social insurance + estimated tax + e-Tax
NetherlandsBTW + inkomstenbelasting + ZZP deductions + payroll tax
PortugalIVA + IRS + contribuições sociais + rental + crypto
BelgiumBTW + personenbelasting + sociale bijdragen + rental
United States (CA)1040 + Schedule C/SE + CA 540 + crypto

Coverage varies slightly — some countries have all seven domains, others have most. Check each country's README.

Multi-skill countries (~56 countries)

VAT + income tax + social contributions (and sometimes more — formation, payroll, crypto, etc.). No guided intake, but the AI uses the universal intake flow:

Andorra, Argentina, Austria, Belgium, Bermuda, Brazil, Brunei, Bulgaria, BVI, Cayman Islands, Chile, China, Colombia, Croatia, Cyprus, Czech Republic, Denmark, Dominican Republic, Estonia, Finland, Greece, Honduras, Hong Kong, Hungary, Indonesia, Iraq, Ireland, Israel, Kenya, Kuwait, Latvia, Lithuania, Luxembourg, Malaysia, Mexico, Myanmar, New Zealand, Nigeria, Norway, Pakistan, Panama, Peru, Philippines, Poland, Qatar, Romania, Saudi Arabia, Singapore, Slovakia, Slovenia, South Africa, South Korea, Sweden, Switzerland, Taiwan, UAE

Bookkeeping skills (13 countries + all 51 US states + Indonesia)

Chart of accounts, double-entry posting, P&L and balance sheet generation with country-specific formats:

Malta, UK, Germany, France, Italy, Spain, Netherlands, Belgium, Portugal, Sweden, Australia, Canada, Japan, plus Indonesia and every us-<state> package.

E-invoicing compliance (16 countries)

Format validation, mandatory field checks, transmission methods, and penalty regimes:

Italy, France, Germany, Spain, Poland, Portugal, Romania, Belgium, Greece, Hungary, India, Saudi Arabia, Mexico, Brazil, Malaysia, China

Payroll (15 countries + Ireland + Nigeria + ~24 US states)

PAYE/withholding tables, social security computation, payslip generation, employer filing obligations:

Malta, UK, Germany, France, Italy, Spain, Netherlands, Belgium, Portugal, Sweden, Australia, Canada, Japan, India, Brazil, plus Ireland, Nigeria, and the larger US state packages (CA, NY, TX, IL, PA, OH, MI, GA, NC, NJ, VA, WI, MN, MA, MD, MO, IN, KY, CT, AZ, CO, OR, ND, IL — see each us-<state>/ for confirmation).

Company formation (13 countries + China, Indonesia, Ireland, Nigeria, Pakistan, Saudi Arabia + 7 US states)

Entity type comparison, registration steps, capital requirements, costs, post-formation compliance:

Malta, UK, Germany, France, Italy, Spain, Netherlands, Portugal, Australia, Canada, Japan, India, Singapore, plus China, Indonesia, Ireland, Nigeria, Pakistan, Saudi Arabia, and the US incorporation-heavy states (CA, DE, GA, NV, NY, TX, WY).

Financial statements (13 countries)

Annual accounts preparation, reporting framework by entity size, year-end adjustments, filing and audit:

Malta, UK, Germany, France, Italy, Spain, Netherlands, Belgium, Portugal, Australia, Canada, Japan, India

Transfer pricing (15 countries)

TP documentation, arm's length methods, CbCR thresholds, APA, penalties:

Malta, UK, Germany, France, Italy, Spain, Netherlands, Australia, Canada, Japan, India, Brazil, Singapore, South Africa, Mexico

Tax optimization (14 countries)

Legal tax reduction strategies, commonly missed deductions, timing optimizations, entity structure advice:

Malta, UK, Germany, France, Italy, Spain, Netherlands, Australia, Canada, Japan, India, Portugal, Singapore, Indonesia

Crypto tax (21 countries + all 51 US states)

Cryptocurrency and digital asset taxation — capital gains, cost basis, DeFi, staking, mining, airdrops, NFTs, reporting:

Malta, UK, Germany, France, Australia, Canada, Israel, India, Japan, Spain, Netherlands, Portugal, Italy, Singapore, Brazil, Mexico, Sweden, Belgium, Switzerland, South Korea, New Zealand — plus every us-<state> package ships its own <state>-crypto-tax.md.

Cross-border orchestrator (37 skills)

Multi-jurisdiction coordination, EU social security coordination, OECD treaty defaults, and 70+ treaty corridor rates. See packages/_cross-border/ for the full file list.

Industry verticals (14 skills)

Banking, charity / nonprofit, construction, consultant / professional, content creator, e-commerce seller, freelance developer, insurance, investment funds / REITs, medical professional, oil & gas / extractives, property investor, SaaS / digital products, shipping / aviation (tonnage tax).

Platform integrations (10 skills)

Xero, QuickBooks, Stripe, Wise, PayPal, Revolut, Amazon Seller, Shopify, FreeAgent, Sage.

VAT/GST only (65 countries)

Consumption tax classification with country-specific supplier pattern libraries. From Albania to Zimbabwe.


How the skills work

The supplier pattern library

Every country skill contains a lookup table of local vendors. When the AI sees "BANK OF VALLETTA" or "DEUTSCHE TELEKOM" or "STRIPE PAYMENTS UK LTD" on your bank statement, it already knows the classification — no guessing.

Three outcomes per transaction

OutcomeWhat it meansWhat happens
ClassifiedDocuments carry enough infoApplied automatically, no flag
AssumedData missing, conservative default appliedFlagged for your reviewer with the assumption disclosed
Needs InputCan't proceed without asking youOne targeted question

Conservative defaults

When uncertain, the system always assumes MORE tax, never less. Your accountant can override a conservative position. They can't easily undo an aggressive one.


Quality tiers

Every skill is in one of two tiers. Check the badge on the file. Full definitions: docs/QUALITY-TIERS.md.

TierWhat it means
Accountant-verifiedA licensed practitioner (CPA, EA, CA, Steuerberater, or equivalent) has reviewed the skill, tested it against representative data, and signed off. Name and license number on the skill page.
Research-verifiedEvery rate, threshold, form, and deadline has been drafted from authoritative sources (tax-authority publications and primary legislation). Follows the accountant-verified format. Awaiting credentialed sign-off.

Most skills are research-verified. Output from any skill must still be reviewed by your accountant before filing.


MCP server

Instead of uploading files by hand, connect your AI client to OpenAccountants via the Model Context Protocol. Install once, configure once — every future conversation can pull the right skills automatically.

How it works

You:    "Help me set up a company in Germany and understand the payroll obligations"
          ↓
Claude: calls list_jurisdictions → sees "germany"
Claude: calls list_files("germany") → germany-formation.md, germany-payroll.md, …
Claude: calls get_file("germany", "germany-formation.md") → full skill loaded
Claude: calls get_file("germany", "germany-payroll.md") → full skill loaded
Claude: loads company-formation-workflow-base.md
          ↓
Claude: walks you through entity types, registration, and employer obligations

Install

git clone https://github.com/openaccountants/openaccountants.git
cd openaccountants
pip install ./mcp          # requires Python 3.10+

Connect

Claude Desktop — add to claude_desktop_config.json:

{
  "mcpServers": {
    "openaccountants": {
      "command": "openaccountants-mcp"
    }
  }
}

Cursor — add to .cursor/mcp.json or via Settings > MCP:

{
  "mcpServers": {
    "openaccountants": {
      "command": "openaccountants-mcp"
    }
  }
}

Full setup details, uv instructions, and environment variables: mcp/README.md.

Claude Code plugin

Using Claude Code? Install the plugin in two commands — it wires up the hosted MCP server (the accountant-verified skills, with named-verifier attribution) and adds a /openaccountants command:

/plugin marketplace add openaccountants/openaccountants
/plugin install openaccountants@openaccountants

Then run /openaccountants <your tax question>, or just ask normally — the connected server pulls the right skills automatically.


For developers

Clone the repo

git clone https://github.com/openaccountants/openaccountants.git

Repo structure

openaccountants/
├── packages/              ← Ready-to-use jurisdiction packages (START HERE)
│   ├── malta/
│   ├── uk/
│   ├── us-ca/
│   ├── us-ny/
│   └── ... 130 countries + 51 US states
├── skills/                ← Source files (for contributors)
│   ├── foundation/        ← 10 workflow bases (universal, VAT, US tax, bookkeeping, payroll, e-invoicing, formation, financial statements, transfer pricing, cross-border)
│   ├── federal/           ← US federal skills
│   ├── international/     ← Country-specific: tax, bookkeeping, payroll, formation, financial statements, TP, optimization
│   ├── orchestrator/      ← Global router, intake flows, return assembly
│   ├── us-states/         ← US state skills
│   ├── cross-border/      ← WHT, PE risk, VAT place of supply, EU rules, treaty corridors
│   ├── verticals/         ← Industry-specific (developer, e-commerce, content creator, etc.)
│   ├── integrations/      ← Platform export formats (Xero, Stripe, PayPal, etc.)
│   ├── intelligence/      ← Deadlines, thresholds
│   └── patterns/          ← Global vendor patterns
├── scripts/               ← Build tools
│   └── build-packages.py  ← Generates packages/ from skills/
└── docs/                  ← Planning docs, architecture, roadmaps

Rebuild packages after editing skills

python3 scripts/build-packages.py

Contribute

We maintain 1,900+ skills across 134 countries, 51 US state packages, and 13 Canadian province/territory packages. Accounting rules change constantly — rates update, thresholds move, forms get revised. Contributions keep this accurate.

Ways to contribute

WhatHowImpact
Verify a rateCheck a number against your tax authority's website, open a PRStrengthens a research-verified skill; with credentialed sign-off, moves it to accountant-verified
Add bank patternsAdd how transactions appear on your local bank statementEvery user in your country gets fewer misclassifications
Fix an errorFind a wrong rate or outdated threshold, submit the correctionPrevents bad working papers
Add a tax skillWrite a new income tax, VAT, or social security skill for your countryFills a gap for every user in that jurisdiction
Add a bookkeeping skillChart of accounts, P&L format, expense classification for your countryEnables full double-entry accounting
Add a payroll skillPAYE tables, social security, payslip format for your countryEmployers in your jurisdiction can run payroll
Add a formation skillEntity types, registration steps, costs for your countryEntrepreneurs can set up companies
Add a financial statements skillAnnual accounts, reporting framework, audit thresholdsYear-end compliance for your jurisdiction
Add a transfer pricing skillTP documentation, arm's length methods, CbCR for your countryMultinationals get compliant
Add a tax optimization skillLegal deductions, timing strategies, entity structure adviceUsers stop leaving money on the table
Add an e-invoicing skillFormat, mandatory fields, transmission for your countryInvoices pass validation
Add an industry verticalVertical-specific guidance for a profession or business typeTargeted help for that industry
Add a platform integrationExport format mapping for an accounting/payment platformUsers can push data to their tools

How to verify or fix a skill

  1. Find your country under packages/
  2. Compare rates against your tax authority's website
  3. Fork, fix, PR — or email corrections to [email protected] in any format

How to add a new skill

  1. Use any existing skill as a template (e.g., packages/malta/malta-income-tax.md)
  2. Follow the same structure: quick reference table, rate tables, worked example, conservative defaults
  3. Cite your sources (tax authority URL, legislation reference, or open-source repo)
  4. Submit a PR

Credits

Every contributor is credited publicly on the skill file and at openaccountants.com.

See CONTRIBUTING.md for the full guide. Skills published to openaccountants.com require a resolvable jurisdiction — see docs/WEBSITE-SYNC.md.

Pull requests: contributions are accepted under the Contributor License Agreement (CLA.md). You explicitly agree by ticking the CLA box in the pull request template when you open a PR.


Disclaimer

All skills and outputs are for informational and computational purposes only. Not tax advice. Not a replacement for professional judgment. All outputs must be reviewed by a qualified professional before filing.

The most up-to-date, verified version is maintained at openaccountants.com.

Contact

[email protected]

License

Dual-licensed: AGPL-3.0 for open-source use, commercial license for proprietary products.

Contributions are licensed to the project under the Contributor License Agreement; see CONTRIBUTING.md and the PR template for how you opt in.