Skip to main content
Glama
WISO Steuer MCP Server

WISO Steuer MCP Server

by tsgoff

wiso-steuer-mcp

Lokaler macOS MCP-Server + wiederverwendbarer Agent-Skill, um Steuerbelege (Lohnsteuerbescheinigungen, Bank-Steuerbescheinigungen, Kontoauszüge, Handwerkerrechnungen) strukturiert aufzubereiten und sicher in WISO Steuer für Mac (SteuerMac 2025 / 2026 / 2027) einzutragen.

Haftungsausschluss: Dieses Projekt ist ein unabhängiges Open-Source-Werkzeug ohne Verbindung zu Buhl Data Service GmbH. Es leistet keine Steuerberatung im Sinne des StBerG. Alle Eingaben müssen vom Nutzer geprüft werden; ELSTER-Übermittlungen und Löschaktionen sind technisch blockiert.


Warum das erstaunlich sauber funktioniert

WISO Steuer für Mac basiert auf Qt Widgets und exponiert über die native macOS-Accessibility-API (AXUIElement) echte, semantische Feld-IDs aus dem Datenmodell (z. B. aa1_Vorname, aa1_Geburtsdatum, aa1_Familienstand) inklusive der zugehörigen deutschen Labels – ganz ohne fragile Pixel-Koordinaten, ohne OCR und ohne Maus-Steuerung.

┌────────────────────────────────────────────────────────────────────┐
│  Schicht 1: Agent-Skill (skill/wiso-steuer-assistant)              │
│  PDFs / CSVs / Kontoauszüge → Staging-JSON + Prüfreport (Review!)  │
└───────────────────────────────┬────────────────────────────────────┘
                                │ erst nach Nutzer-Freigabe
                                ▼
┌────────────────────────────────────────────────────────────────────┐
│  Schicht 2: Lokaler MCP-Server (src/wiso_steuer_mcp/server.py)     │
│  • dry_run=True als Default (Diff-Vorschau)                        │
│  • Overwrite-Schutz (z. B. für VaSt / Steuer-Abruf-Daten)          │
│  • Harte Blocklist: niemals ELSTER senden / abgeben / löschen      │
└───────────────────────────────┬────────────────────────────────────┘
                                │ JSON over stdin/stdout
                                ▼
┌────────────────────────────────────────────────────────────────────┐
│  Native macOS Bridge (native/wiso_ax_helper.swift)                 │
│  Direkte AXUIElement-API (ApplicationServices), ~30 ms pro Aufruf  │
│  Auto-Discovery für SteuerMac 2025 / 2026 / 2027 (wmain25..27)     │
└────────────────────────────────────────────────────────────────────┘

Related MCP server: native-cua

Voraussetzungen

  • macOS mit lokal installiertem WISO Steuer (SteuerMac 2025.app, 2026.app oder 2027.app)

  • macOS Command Line Tools (swiftc, bei Bedarf: xcode-select --install)

  • uv (brew install uv oder astral.sh/uv)

  • Bedienungshilfen-Freigabe (Accessibility):
    Systemeinstellungen → Datenschutz & Sicherheit → Bedienungshilfen → das jeweilige Terminal bzw. die Host-App (z. B. Antigravity, Claude Desktop, Cursor, Terminal/iTerm) aktivieren.


Installation & Build

git clone <repo-url> wiso-steuer-mcp
cd wiso-steuer-mcp

# Swift AX-Helper kompilieren & Python-Abhängigkeiten installieren
make build
make sync

# Unit-Tests ausführen
make test

Auto-Build: Falls build/wiso_ax_helper noch nicht existiert (oder native/wiso_ax_helper.swift geändert wurde), kompiliert der MCP-Server die Binary beim ersten Tool-Aufruf automatisch.


MCP-Server einbinden

Antigravity (~/.gemini/config/mcp_config.json) / Claude Desktop / Cursor

{
  "mcpServers": {
    "wiso-steuer": {
      "command": "uv",
      "args": [
        "run",
        "--directory",
        "/ABSOLUTER/PFAD/ZU/wiso-steuer-mcp",
        "wiso-steuer-mcp"
      ]
    }
  }
}

Wiederverwendbaren Skill installieren

Den Ordner skill/wiso-steuer-assistant in dein Skill-Verzeichnis kopieren oder symlinken:

# Beispiel für Antigravity (global)
ln -s "$(pwd)/skill/wiso-steuer-assistant" ~/.gemini/config/skills/wiso-steuer-assistant

# oder projektlokal in .agents/skills/
mkdir -p .agents/skills
ln -s "$(pwd)/skill/wiso-steuer-assistant" .agents/skills/wiso-steuer-assistant

Verfügbare MCP-Tools

Tool

Typ

Beschreibung

wiso_list_instances()

Read

Listet alle laufenden WISO Steuer Apps (2025–2027), PIDs, Fenster & Accessibility-Status

wiso_get_state(year?)

Read

Aktuelles Fenster, Breadcrumb, Live-Steuertacho (Erstattung/Nachzahlung), Toolbar & Hauptnavigation

wiso_inspect_form(year?)

Read

Liest alle Felder der aktuell offenen Eingabemaske (id, label, section, type, value, writable)

wiso_list_navigation(year?)

Read

Liest den sichtbaren linken Themenbaum (AXOutline) aus

wiso_fill_fields(fields, dry_run=True, allow_overwrite=False)

Write (guarded)

Diff-Vorschau & gezieltes Befüllen von Text-/Datums-/Betragsfeldern inkl. Read-Back-Prüfung

wiso_select_dropdown(field_id, option?, dry_run=True)

Write (guarded)

Liest verfügbare Dropdown-Optionen aus und wählt optional den passenden Eintrag

wiso_select_radio(field_id, choice, dry_run=True)

Write (guarded)

Wählt eine Option in einer Radio-Button-Gruppe (z. B. Ja / Nein)

wiso_navigate_tree(label, dry_run=True)

Nav (guarded)

Springt zu einem sichtbaren Eintrag im linken Themenbaum

wiso_click_button(label_or_id, dry_run=True)

Action (guarded)

Klickt sichere Buttons (Fertig, Abbrechen, Prüfen, Sichern)

wiso_search(query, submit=False)

Nav (guarded)

Befüllt die globale WISO-Suchleiste (Eingaben, Hilfen...)


Sicherheits- & Datenschutzkonzept

  1. Dry-Run by Default: Alle schreibenden Tools laufen standardmäßig mit dry_run=True und liefern erst einen prüfbaren Diff (old_value → new_value).

  2. VaSt-/Overwrite-Schutz: Bereits ausgefüllte Felder (z. B. aus dem Finanzamt-Steuer-Abruf) werden standardmäßig nicht überschrieben (allow_overwrite=False).

  3. Harte Blocklist (guardrails.py): Aktionen wie Steuererklärung abgeben, ELSTER, Versenden, Übermitteln, Löschen, Entfernen oder Zurücksetzen werden unabhängig von dry_run hart blockiert.

  4. Datenschutz-Empfehlung: Steuerbelege enthalten hochsensible Daten (Steuer-ID, IBAN, Einkommen). Nutze nach Möglichkeit lokale Modelle oder entferne/pseudonymisiere unnötige PII aus Kontoauszügen vor der Cloud-Auswertung. Die .gitignore blockiert zusätzlich *.steuer*, *.pdf, *.csv und *staging*.json.


Lizenz

MIT – siehe LICENSE.

Available Tools

10 tools
wiso_click_buttonA

Click a safe button in WISO Steuer (e.g. Fertig, Abbrechen, Prüfen, Sichern).

Hard guardrail: destructive buttons (Löschen, Entfernen, Zurücksetzen) and submission actions (Steuererklärung abgeben, ELSTER, Versenden, Übermitteln) are unconditionally blocked.

Args: label_or_id: Exact button title (e.g. Fertig, Sichern) or AXIdentifier. year: Optional WISO Steuer product year (e.g. 2027). dry_run: When True (default), verifies guardrail compliance without clicking.

Inputs: label_or_id (required), year, dry_run. Returns: object

wiso_fill_fieldsA

Fill one or more text/date/amount fields in the currently open WISO Steuer form.

Keys in fields can be exact short field IDs (e.g. aa1_Vorname), full AXIdentifiers, or German field labels (e.g. Vorname).

Safety:

  • Defaults to dry_run=True and returns a diff preview without changing WISO.

  • Blocks overwriting already-populated fields (e.g. VaSt / Steuer-Abruf data) unless allow_overwrite=True is explicitly set.

Args: fields: Mapping of field ID or German label -> string value to enter. year: Optional WISO Steuer product year (e.g. 2027). dry_run: When True (default), only preview the diff without modifying WISO. allow_overwrite: Set True to permit overwriting non-empty existing field values.

Inputs: fields (required), year, dry_run, allow_overwrite. Returns: object

wiso_get_stateA

Get high-level state of WISO Steuer: active window, breadcrumb, live tax refund/due meter (Steuertacho), toolbar, and main navigation.

Args: year: Optional WISO Steuer product year (e.g. 2027). Defaults to the newest running instance.

Inputs: year. Returns: object

wiso_inspect_formA

Inspect the currently open WISO Steuer input form (zWinDialog).

Returns structured fields with semantic IDs (e.g. aa1_Vorname), German labels, section headers, field types (text_field, dropdown, radio_group, checkbox), current values, and dialog buttons (Fertig, Abbrechen, ...).

Args: year: Optional WISO Steuer product year (e.g. 2027). include_info_buttons: Include help/info icon checkboxes (default False to keep output compact).

Inputs: year, include_info_buttons. Returns: object

wiso_list_instancesB

List all running WISO Steuer macOS apps (e.g. 2025, 2026, 2027) and check Accessibility permission.

Inputs: no named parameters. Returns: object

wiso_list_navigationC

List visible entries in the left-hand WISO navigation tree (AXOutline).

Args: year: Optional WISO Steuer product year (e.g. 2027).

Inputs: year. Returns: object

wiso_navigate_treeA

Select an item in the left-hand WISO navigation tree by label.

Blocked for submission/destructive sections (e.g. Steuererklärung abgeben).

Args: label: Visible label or substring in the navigation tree. year: Optional WISO Steuer product year (e.g. 2027). dry_run: When True (default), checks whether the entry exists without clicking.

Inputs: label (required), year, dry_run. Returns: object

wiso_select_dropdownA

Inspect available options of a WISO dropdown (AXMenuButton) or select an option.

Args: field_id: Short field ID (e.g. aa1_Familienstand) or full AXIdentifier. option: Option text to select (e.g. ledig). Omit or use dry_run=True to list available options safely. year: Optional WISO Steuer product year (e.g. 2027). dry_run: When True (default), only opens/inspects available options and closes the dropdown without changing the value.

Inputs: field_id (required), year, option, dry_run. Returns: object

wiso_select_radioA

Select an option in a WISO radio button group (e.g. Ja / Nein).

Args: field_id: Short field ID (e.g. aa1_WohntImAusland) or full AXIdentifier. choice: Radio button title (e.g. Ja, Nein). year: Optional WISO Steuer product year (e.g. 2027). dry_run: When True (default), only previews current vs. target choice without clicking.

Inputs: choice (required), field_id (required), year, dry_run. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 10 tools

    Disambiguation4/5

    Each tool targets a distinct interaction layer: instance discovery, high-level state, form inspection, and per-field-type input (text, dropdown, radio, button), so an agent can pick by widget type or intent. Minor overlap remains between get_state and inspect_form (both read WISO's current UI), and between nav_list_navigation and navigate_tree with dry_run listing existing entries.

    Naming Consistency5/5

    All 10 tools share the `wiso_` prefix with consistent snake_case verb_noun structure (list_instances, get_state, fill_fields, select_dropdown, click_button). Verbs vary appropriately by action rather than concept, and the `wiso_` prefix makes the toolset self-identifying.

    Tool Count5/5

    10 tools is a well-scoped set for GUI automation: one tool per interaction primitive plus read-only state/navigation helpers. No redundant tools and no need to split further.

    Completeness4/5

    Coverage is broad for the domain: instance discovery, state, form inspection, typed input for text/dropdown/radio, navigation, search, and guarded button clicks, with a deliberate block on submission/destructive actions. Gaps exist for list/table-style repeats (adding or removing entries in multi-row forms), scrolling or reading non-form text, and launching the app, which agents may hit on complex tax forms.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      A local Windows automation MCP server that lets a KI-Agent safely control the SteuerSparErklärung tax software: inventory and open tax cases, read pages, compare receipts and values, and edit verified working copies, with all ELSTER transmission paths locked tight.
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables macOS computer-use automation through public Apple APIs, supporting app and window discovery, clicking, typing, scrolling, and field setting via accessibility controls.
      5
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to safely and truthfully control local desktop applications via native accessibility trees, supporting element inspection and automation without proprietary binaries or fake success responses.
      Apache 2.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables users to read, search, organize, and draft email, save attachments, and manage calendar events in New Outlook for Mac through macOS Accessibility without Microsoft Graph, OAuth tokens, or app registrations, while never sending mail and only moving deletions to Deleted Items.
      MIT