DigitalK2
K2 annual reports for Swedish limited companies: SIE import, tax, INK2 and filing prep.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
claude mcp add --transport http digitalk2 'https://mcp.digitalk2.se/mcp'
{
"mcpServers": {
"digitalk2": {
"type": "http",
"url": "https://mcp.digitalk2.se/mcp"
}
}
}
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
DigitalK2 plugin
Swedish annual reports (årsredovisning) for small limited companies under K2, prepared with your AI in Claude, ChatGPT, Cursor or Codex.
DigitalK2 is a hosted service for annual reports (årsredovisning) for small Swedish limited companies (aktiebolag) under the K2 rules. It produces the annual report in iXBRL, the tax calculation and the INK2 tax return, and files the report digitally with Bolagsverket. This repository connects AI agents to the DigitalK2 MCP server, so your AI can upload the SIE file, review the figures, read the tax calculation and fill in the report together with you.
It contains an MCP server configuration, plugin manifests for Claude Code, Cursor, Codex and the plugins CLI, and a skill that tells the agent how to use the tools.
MCP server URL:
https://mcp.digitalk2.se/mcp
Sign-in happens with OAuth in your browser the first time the agent connects, with your DigitalK2 account. No API key is needed. You choose the permissions: Read (see drafts, figures, tax calculation) and Prepare (fill in and change drafts in steps 1 to 6).
How it works
The AI works in the same guided flow as the web guide, with the same checks. You keep the draft open on digitalk2.se in AI mode next to the chat and see everything the AI fills in. Payment, personal identity numbers, signing and filing with Bolagsverket are always done by you on the web in step 7, never by the AI.
Installation
Plugin (Claude Code, Cursor, Codex and more)
npx plugins add digitalk2se/digitalk2-plugin
Skill only
npx skills add digitalk2se/digitalk2-plugin
Manual connection
Claude (claude.ai and Claude Desktop): open Claude with DigitalK2 prefilled, then click Add and Connect. Or go to Settings → Connectors → Add custom connector, paste the URL and click Connect. In Claude Code:
claude mcp add --transport http digitalk2 https://mcp.digitalk2.se/mcpThen type
/mcpin Claude Code, choosedigitalk2and sign in.- ChatGPT (Go, Plus or Pro): open Plugins in the sidebar, click Add → Create custom MCP server, name it DigitalK2, paste the URL under Server URL, choose OAuth, tick "I understand and want to continue" and click Create as a plugin.
- Cursor (Pro or higher): add this to
~/.cursor/mcp.json:{ "mcpServers": { "digitalk2": { "url": "https://mcp.digitalk2.se/mcp" } } } Codex:
codex mcp add digitalk2 --url https://mcp.digitalk2.se/mcpOpen a new Codex chat afterwards, since tools load when the session starts.
Step-by-step guides with animations: www.digitalk2.se/mcp
Listed in
- Official MCP Registry as
se.digitalk2/digitalk2(server.json) - Glama
Tools
| Tool | Access | What it does |
|---|---|---|
whoami | Read | Shows the connected DigitalK2 account and its permissions. |
list_drafts | Read | Lists the user's annual report drafts, most recently changed first. |
get_state | Read | Shows where a draft is in the guide: current step, whether Next can be pressed, open questions and messages. |
read_draft | Read | Reads the content of a draft one section at a time, as shown in the guide. |
show_statement_tab | Read | Shows the income statement or the balance sheet in step 2 in the user's window. Changes no data. |
read_tax | Read | Reads the tax calculation and INK2 exactly as step 3 shows them. |
preview_report | Read | Previews the full annual report as text, generated with the same code as the preview in step 7. |
create_draft | Prepare | Creates a new, empty draft and returns the link to open it in AI mode. |
create_sie_upload | Prepare | Creates a temporary upload link for a SIE file that is too large to send in a tool call. |
upload_sie | Prepare | Reads a SIE file (SIE4) into step 1, sent unchanged as an upload id or base64. Replaces the draft's company details, statements and notes. |
start_manual_entry | Prepare | Chooses manual entry in step 1 when there is no SIE file. |
fill_input | Prepare | Types into a form field in step 1 (company details). For figures and the sections in steps 2 to 6, use update_fields. |
fetch_company_details | Prepare | Fetches the company details from Bolagsverket in step 1 and fills them in. Replaces existing company details. |
set_first_annual_report | Prepare | Answers whether it is the company's first annual report (step 1). true sets the prior-year figures to 0. |
update_fields | Prepare | Replaces values in the current step in steps 2 to 6 (figures, tax, management report, notes, signatories), including yes/no questions; lists are replaced as a whole. For the form fields in step 1, use fill_input. |
book_result_in_balance_sheet | Prepare | Books the year's result on the balance sheet row when the guide offers it (step 2). Replaces the row's amount. |
apply_tax_adjustment | Prepare | Books the tax from step 3 into the income statement and balance sheet in step 2, like the guide's automatic adjustment. Does nothing if already adjusted. |
answer_prompt | Prepare | Answers a dialog the guide shows (listed in prompts from get_state or a tool result) by pressing the same button the user would. |
next_step | Prepare | Moves from from_step to the next step (1 upload → 2 review → 3 tax → 4 management report → 5 notes → 6 signatories → 7 finish), with exactly the same checks as for the user. Payment, signing and filing in step 7 are done by the user. |
go_to_step | Prepare | Goes back to an earlier step, like clicking the timeline. |
None of the tools can pay, sign, enter personal identity numbers or file anything. The AI only sees the signed-in user's own drafts.
Privacy and terms
- Privacy policy: www.digitalk2.se/integritet
- Terms: www.digitalk2.se/villkor
- Contact: hej@digitalk2.se
På svenska
DigitalK2 är årsredovisning för små svenska aktiebolag (K2), som du kan göra tillsammans med din AI. Ladda upp SIE-filen från bokföringsprogrammet, granska resultat- och balansräkningen, få skatteberäkningen och INK2, och lämna in årsredovisningen digitalt (iXBRL) till Bolagsverket. Det här repot kopplar AI-agenter som Claude, ChatGPT, Cursor och Codex till DigitalK2:s MCP-server. Installera med npx plugins add digitalk2se/digitalk2-plugin, eller lägg till adressen https://mcp.digitalk2.se/mcp som anpassad koppling i din klient. Du loggar in med ditt DigitalK2-konto första gången. Betalning, signering och inlämning gör du alltid själv i steg 7. Mer information och guider finns på www.digitalk2.se/mcp.
License
The files in this repository are released under the MIT License.
Configuration only. DigitalK2 is a proprietary hosted service.
الأسئلة الشائعة
ما هو DigitalK2؟
K2 annual reports for Swedish limited companies: SIE import, tax, INK2 and filing prep.
كيف أثبّت DigitalK2؟
يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http digitalk2 'https://mcp.digitalk2.se/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج DigitalK2 إلى مفتاح API؟
لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.
هل DigitalK2 مفتوح المصدر؟
نعم. شيفرته متاحة على GitHub بترخيص MIT.
من يصون DigitalK2؟
ينشره digitalk2se. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.