Skip to main content
Glama
elster-mcp

elster-mcp

by mjmirza

elster-mcp

Let Claude check and file German tax data through ELSTER, using the official ERiC library on your own machine.

Python ERiC Status License

Source-available, not open source. Free for individuals to run and study with credit kept intact. Business or client use, and any derivative work including one generated by an AI, needs written consent. See LICENSE. For a commercial licence or setup help, reach out through next8n.com.

What you get

  • Catch mistakes before ELSTER does. Tax ID, IBAN and tax-number checks run offline with the same rules ELSTER uses.

  • Find your tax office in seconds. List every Finanzamt per federal state and look one up by number.

  • Know your certificate is still good. See when your ELSTER certificate expires, without opening the ELSTER portal.

  • Validate a return before you send it. ERiC checks the XML locally and can write a preview PDF.

  • File safely. Submissions are test-only by default. A real filing needs the operator flag and your explicit approval of that exact return.

Related MCP server: elster-mcp-server

From install to first result

  1. Download ERiC from the ELSTER developer area and extract the archive.

  2. Register the server with Claude Code.

    claude mcp add elster -s user \
      -e ERIC_HOME=/path/to/ERiC-45.1.5.0/Darwin-universal \
      -e ELSTER_CERT_PATH=/path/to/your-certificate.pfx \
      -e ELSTER_CERT_PASSWORD_CMD="your-secret-manager command that prints the password" \
      -- uv run --directory /path/to/elster-mcp elster-mcp
  3. Ask Claude to check your ELSTER setup and tell you when your certificate expires.

Tools

Tool

What it does

Contacts ELSTER

elster_system_check

ERiC loads, what is configured

no

elster_check_tax_id

Validate a tax ID (IdNr)

no

elster_check_iban

Validate an IBAN

no

elster_check_tax_number

Validate a 13-digit ELSTER tax number

no

elster_convert_tax_number

Tax number from a notice to ELSTER format

no

elster_list_states

Federal-state numbers

no

elster_list_tax_offices

Tax offices of one state

no

elster_tax_office_info

Details of one tax office

no

elster_list_test_tax_offices

Test tax offices for test filings

no

elster_certificate_info

Certificate validity, password never returned

no

elster_validate_return

Validate a return locally, optional preview PDF

no

elster_submit_return

Send a return, test mode by default

yes

Configuration

Variable

Required

Meaning

ERIC_HOME

yes

Extracted ERiC platform folder (contains lib/)

ELSTER_CERT_PATH

for certificate and sending

Your .pfx certificate

ELSTER_CERT_PASSWORD_CMD

for certificate and sending

Command that prints the password (preferred)

ELSTER_CERT_PASSWORD

alternative

The password itself

ELSTER_HERSTELLER_ID

to validate or send returns

Your own Hersteller-ID, the ERiC sample ID 74931 is refused

ELSTER_ALLOW_LIVE

no

1 allows real filings, off by default

ELSTER_LOG_DIR

no

ERiC log folder, default ~/.elster-mcp/logs

Development

uv sync
uv run pytest      # integration tests against the real ERiC library
uv run ruff check .
  • ERiC and its Python sample wrapper are provided free of charge by the Bayerisches Landesamt für Steuern under their own licence. Neither is part of this repository. elster-mcp loads the wrapper from your own ERiC download at runtime, so you obtain ERiC, accept its licence yourself, and keep it on the current minimum version.

  • The ERiC documentation, schemas and sample returns are not covered by the ERiC licence for redistribution. Never commit them here; .gitignore and CI block them.

  • ELSTER needs your own Hersteller-ID for every return, even an offline check. ERiC refuses the sample ID with error 610301202.

  • Keep your own backups of every return you prepare or send.

  • Only file returns for the certificate holder. Preparing returns for other people is reserved for tax advisors (StBerG).

  • ELSTER is a registered trademark of the Freistaat Bayern. This project is not affiliated with or endorsed by the tax administration. See docs/TRADEMARKS.md.

Privacy notice from the tax administration

The ERiC licence requires that end users see this notice before using software built on ERiC:

Datenschutzhinweis durch die Finanzverwaltung: "Mit dieser Software werden personenbezogene Daten im Sinne des Art. 4 Nr. 1 Datenschutzgrundverordnung (DSGVO) und Art. 9 Abs. 1 DSGVO zum Zwecke der Verarbeitung erhoben. Neben den reinen Daten, die zur Steuerveranlagung benötigt werden, erhebt die Software Daten über die Art des Betriebssystems des Nutzers und übermittelt diese an die Finanzverwaltung. Diese Daten werden benötigt, um die ordnungsgemäße Verarbeitung der Daten sicherzustellen und Fehlern im Verarbeitungsprozess vorzubeugen. Die Nutzung der Daten erfolgt im Rahmen des Art. 6 Abs. 1 UAbs. 1 Buchst. e i.V.m. Abs. 3 UAbs. 1 Buchst. b DSGVO i.V.m. bundes- bzw. landesgesetzlicher Steuergesetze durch die Finanzverwaltung und nur für den genannten Zweck."

The tax administration's full GDPR information letter (Articles 12 to 14) ships as Annex 2 of lizenz.pdf in your ERiC download. Read it before your first submission.

License

Source-available under the ELSTER-MCP Source-Available License. Not open source and not MIT. Built by Mirza Iqbal. Questions, configuration help, or a commercial licence through next8n.com.

Available Tools

12 tools
elster_certificate_infoA
Read-only

Open the configured ELSTER certificate (.pfx) and report its validity. The password is never returned.

Inputs: no named parameters.

elster_check_ibanB
Read-only

Validate an IBAN with ERiC's check-digit rules. Offline.

Inputs: iban (required).

elster_check_tax_idB
Read-only

Validate a German tax ID (steuerliche Identifikationsnummer, 11 digits) with ERiC's official check. Offline.

Inputs: tax_id (required).

elster_check_tax_numberA
Read-only

Validate a tax number already in the 13-digit ELSTER format. Use elster_convert_tax_number first if you only have the number from a tax notice.

Inputs: elster_tax_number (required).

elster_convert_tax_numberA
Read-only

Convert a tax number as printed on a tax notice (e.g. 053 815 08158) into the 13-digit ELSTER format. state is the 2-digit state number from elster_list_states (e.g. 26 = Hessen) or the 4-digit tax office number. Bavarian and Berlin numbers in the format BBB/UUUUP need the 4-digit tax office number.

Inputs: state (required), tax_number (required).

elster_list_statesA
Read-only

List the federal-state numbers ELSTER uses for tax offices (e.g. 26 = Hessen).

Inputs: no named parameters.

elster_list_tax_officesA
Read-only

List all tax offices (Finanzämter) of one federal state, by the state number from elster_list_states.

Inputs: state_number (required).

elster_list_test_tax_officesA
Read-only

List ELSTER's test tax offices (numbers to use as recipient in test submissions).

Inputs: no named parameters.

elster_submit_returnA

Send a return to ELSTER, signed with the configured certificate. Default is a TEST submission (Testmerker 700000004): nothing is filed with the tax office. A LIVE filing needs live=true, user_confirmed_live=true (only after the user explicitly approved this exact return), and the operator setting ELSTER_ALLOW_LIVE=1. Only file for the certificate holder.

Inputs: data_type_version (required), xml, live, xml_path, +2 more.

elster_system_checkA
Read-only

Check that ERiC loads on this machine and show what is configured (certificate, Hersteller-ID, live mode). Secrets are never returned.

Inputs: no named parameters.

elster_tax_office_infoA
Read-only

Look up a tax office (Finanzamt) by its 4-digit number: name, address, contact details.

Inputs: tax_office_number (required).

elster_validate_returnA
Read-only

Validate a tax return locally with ERiC, without sending it. data_type_version is e.g. UStVA_2026 or ESt_2025. Optionally writes a preview PDF. Requires ELSTER_HERSTELLER_ID.

Inputs: data_type_version (required), xml, xml_path, preview_pdf_path.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 12 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes (submit vs validate vs convert vs lookup), and descriptions actively disambiguate the tricky pair check_tax_id vs check_tax_number. Minor overlap between elster_certificate_info and elster_system_check (both report configured certificate state), but the descriptions make the boundary readable.

    Naming Consistency4/5

    Strong, predictable elster_ prefix with snake_case verb_noun names throughout (validate_return, submit_return, convert_tax_number, list_tax_offices). A few names deviate into noun_info/noun_check patterns (elster_certificate_info, elster_tax_office_info, elster_system_check), but the overall pattern remains easy to follow.

    Tool Count5/5

    12 tools is a well-scoped set for an ELSTER/ERiC filing server, grouping naturally into submission (validate/submit), setup (system_check, certificate_info), field validation (tax id, IBAN, tax number), and reference lookups. Each tool earns its place with no filler.

    Completeness4/5

    The core lifecycle is covered: environment/certificate checks, local validation, test and live submission, plus the lookup chain needed to convert tax numbers (list_states -> list_tax_offices/convert -> tax_office_info). Minor gaps exist around post-submission concerns such as checking submission status or retrieving/reconciling prior server responses, which agents must work around.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to locally parse, validate, audit, explain, generate, and convert XRechnung and ZUGFeRD/Factur-X e-invoices using official rule sets, fully offline with no API keys required.
      Apache 2.0
    • A
      license
      B
      quality
      B
      maintenance
      Enables MCP clients to drive the German ELSTER tax portal by filling forms by Kennzahl, running checks, and reviewing exactly what would be sent, with final submission left to the user. It also supports read-only access to submissions, history, and inbox data plus draft and session management.
      32
      2
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to read, validate against the official KoSIT rules (no Java), create, and display XRechnung and ZUGFeRD e-invoices, and export incoming invoices as DATEV posting batches. Running it with a cloud language model sends invoice contents to that provider's service.
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables an AI agent to work in the Windows desktop version of WISO Steuer by reading existing returns, entering reviewed bank bookings into a working copy, and showing exactly what changed. It never submits anything, leaving ELSTER submission to the user.
      MIT