Files
accounted/claude-plugin
Jakob Wennberg e33cc2428d feat(plugin): official Claude Code plugin with marketplace and seven workflow skills (#1088)
Ships an installable Claude Code plugin (/plugin marketplace add
erp-mafia/accounted) that bundles the MCP connection (OAuth, zero-key)
with seven short workflow skills following the Swedish bookkeeping
rhythm: start, bookkeep, check, month-close, vat, payroll, year-end.

Wrappers are deliberately thin: they ground in the agent briefing and
Accounted:// resources, load server-side workflow skills and regulatory
atoms via gnubok_load_skill at need, and stage every write for user
approval. No knowledge is duplicated into the plugin.

A vitest cross-checks every skill slug, atom id, resource URI, and tool
name the wrappers reference against the MCP server source, so a server
rename fails CI instead of a user's chat session.

Assessment and follow-ups in dev_docs/claude_plugin.md (local, dev_docs
is unpublished by design).

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-21 12:59:57 +02:00
..

Accounted plugin for Claude Code

The official plugin for Accounted, the open-source Swedish bookkeeping platform. Installing it gives Claude two things at once:

  1. The connection: the Accounted MCP server (90+ bookkeeping tools, resources, and loadable skills) via OAuth. No API key needed.
  2. The flows: seven short workflow skills that follow the Swedish bookkeeping rhythm. Each one grounds itself in your company's live data, loads the product's Swedish accounting knowledge when it needs it, and stages every write for your approval. Nothing is ever booked without you saying yes.

Install

/plugin marketplace add erp-mafia/accounted
/plugin install accounted@accounted

Then run /mcp and authenticate with Accounted (OAuth consent screen; read-only scopes by default, write scopes are ticked explicitly). Start with /accounted:start.

Skills

Command What it does
/accounted:start Connect, orient, and surface what needs attention
/accounted:bookkeep Clear unbooked bank transactions and receipts (daily)
/accounted:check Read-only health check with a prioritized fix list
/accounted:month-close Close the month against the product's checklist
/accounted:vat Prepare and reconcile the momsdeklaration
/accounted:payroll Monthly salary run and AGI underlag
/accounted:year-end Bokslut, readiness-gated

The skills are deliberately thin: the deep procedural and regulatory content (month-end checklist, VAT rutor, payroll rules, bokslut law) lives server-side in Accounted and is loaded at need via gnubok_load_skill, so it is always in sync with the product and tailored to your company. gnubok_list_skills shows everything available.

How writes work

Every write tool in Accounted stages a pending operation with a preview instead of booking directly. Claude shows you the preview; only gnubok_approve_pending_operation, after your explicit approval, books it. Period locks and Swedish accounting law (immutable vouchers, balanced entries, sequential voucher numbers) are enforced by the product itself.

Self-hosted

Point the MCP connection at your own instance instead: remove the bundled server and add your own with claude mcp add --transport http accounted https://your-host/api/extensions/ext/mcp-server/mcp, or use the gnubok-mcp stdio bridge with a gnubok_sk_ API key.

Disclaimer

This plugin is not legal, tax, or audit advice. Output is underlag for you and your accountant. Nothing is filed or sent anywhere automatically.

License

MIT (the plugin). The Accounted platform itself is AGPL-3.0.