Baltsar/kammaren
Deterministic tax engine for Swedish AB. 258 verified test cases. AGPL-3.0.
Platform-specific configuration:
{
"mcpServers": {
"kammaren": {
"command": "npx",
"args": [
"-y",
"kammaren"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
[](https://github.com/Baltsar/kammaren/actions/workflows/verify.yml)
The correctness layer for Swedish company administration.
Every AI agent can talk about your taxes. None of them can prove they got it right.
KAMMAREN is an open source kernel that sits between your bookkeeping and your decisions. It reads Swedish tax law, calculates deterministically, and proves every answer with a cryptographic audit trail.
No AI does math. Code does math. AI classifies. You decide.
Any bookkeeping system (Fortnox, Bokio, gnubok, SIE4, Excel)
│
┌─────▼──────┐
│ KAMMAREN │
│ │
│ skills/ │ 1 live · 4 built · 29 planned
│ verify/ │ 258 assertions against official tables
│ constants/ │ year-guarded, refuses outdated data
│ vault/ │ SHA-256 hash chain, write-once
└─────┬──────┘
│
"Set salary to 55,033 SEK/month.
Dividend: 322,400 SEK in December.
You save 47,000 SEK/year."---
A deterministic calculation and verification layer for Swedish limited companies (aktiebolag).
Not a bookkeeping system. Not a chatbot. Not a SaaS.
A kernel. Like Linux is to Android, KAMMAREN is to whatever tax tool, AI agent, or accounting system you use. It handles the part that must never be wrong: the math.
---
git clone https://github.com/Baltsar/kammaren
cd kammaren
bun install
bun test verify/258 tests. All should pass. If they don't, [open an issue](https://github
Loading reviews...