
Elster Mcp Server
io.github.lukasschwarz由 GitHub 帳號 lukasschwarz 發布v0.1.0更新於 Oct 24, 2026
Drive the German tax portal ELSTER via Puppeteer: submit UStVA, prepare EUER/ESt, sync inbox.
概覽
透過真實瀏覽器工作階段操作德國 ELSTER 稅務入口網站,用來準備加值稅申報,並在明確確認後送出,以及讀取稅務收件匣資料。
- 可以做什麼
- 它使用你自己的憑證與登入資訊,透過 Puppeteer 自動化公開的 ELSTER 網頁入口網站。工具涵蓋登入測試、顯示已載入設定(機密已遮蔽)、列出支援的 UStVA 稅務代碼、產生 UStVA XML 快照、辨識反向課稅供應商、填寫並檢查 UStVA 並在送出前暫停等待確認、將 Anlage EÜR 與 ESt 1 A 填寫到複核步驟,以及唯讀同步已送出表單與 ELSTER 收件匣。工作階段狀態、列表與取消工具可管理工作階段。
- 適用情境
- 如果你需要申報德國加值稅,或希望在 ELSTER 入口網站中預填 EÜR 與所得稅表單,並願意自行複核與確認每個步驟,可以使用它。它適合已持有 ELSTER 憑證、想自動化重複表單輸入的使用者,而不是完全無人值守的申報服務。
- 執行需求
- 以 npm 套件形式透過 stdio 在本機執行,需要 Node.js 18 或更新版本;首次安裝時 Puppeteer 會下載內建的 Chromium。需要 ELSTER .pfx 憑證檔案及其密碼(ELSTER_PASSWORD)、你的 Steuernummer 與兩位數邦別代碼,以及地址資訊,可透過 config.json 或環境變數(例如 ELSTER_CONFIG_PATH、ELSTER_PFX_PATH)提供。僅限桌面端。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Elster Mcp Server,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
elster-mcp-server
A Model Context Protocol (MCP) server that lets Claude (or any MCP-capable client) drive the German tax portal ELSTER via Puppeteer.
⚖️ Legal Notice / Rechtlicher Hinweis
English
- This project is an experimental, community-built tool. It is not affiliated with, endorsed by, or supported by the Bundesministerium der Finanzen, the ELSTER project, or any tax authority.
- The official, supported way to submit tax data programmatically is the ERiC library (registration as a software vendor required). This tool instead automates the public ELSTER web portal with a real user session — the same path a human user takes — using credentials YOU provide.
- The official ELSTER terms of use ("Nutzungsbedingungen") may restrict automated access to the portal. Whether your specific use is permitted is your responsibility to verify before running this software.
- Use at your own risk. The author(s) provide this software AS IS, WITHOUT WARRANTY OF ANY KIND (see LICENSE). The author(s) accept NO liability for incorrect tax submissions, account suspensions, missed deadlines, lost data, or any other consequences arising from the use of this software.
- This project is not tax advice (no "Hilfeleistung in Steuersachen" in the sense of § 2 StBerG). If you are unsure whether a submission is correct, consult a Steuerberater.
- Operators using this software in a commercial context (e.g. submitting on behalf of third parties) may be subject to the German Steuerberatungsgesetz and must verify their own licensing situation.
Deutsch
- Dieses Projekt ist ein experimentelles, von der Community gebautes Werkzeug. Es ist weder vom Bundesministerium der Finanzen noch vom ELSTER-Projekt noch von einer Finanzbehörde unterstützt, autorisiert oder geprüft.
- Der offizielle, vom BMF unterstützte Weg zur programmatischen Übermittlung von Steuerdaten ist die ERiC-Bibliothek (Registrierung als Softwarehersteller erforderlich). Dieses Tool nimmt stattdessen den Weg über das öffentliche ELSTER-Webportal — denselben Weg, den ein menschlicher Nutzer per Browser geht — mit Zertifikatsdaten, die DU bereitstellst.
- Die offiziellen ELSTER-Nutzungsbedingungen können automatisierten Zugriff auf das Portal einschränken oder verbieten. Es liegt in deiner alleinigen Verantwortung zu prüfen, ob dein konkreter Anwendungsfall erlaubt ist, bevor du dieses Tool nutzt.
- Nutzung auf eigenes Risiko. Die Autor:innen stellen die Software OHNE JEGLICHE GEWÄHRLEISTUNG bereit (siehe LICENSE). Die Autor:innen übernehmen keine Haftung für fehlerhafte Steuerübermittlungen, gesperrte Konten, versäumte Fristen, Datenverluste oder sonstige Folgen aus der Nutzung dieser Software.
- Dieses Projekt ist keine Steuerberatung im Sinne des § 2 StBerG. In Zweifelsfällen ist ein:e Steuerberater:in zu konsultieren.
- Wer diese Software gewerblich einsetzt (z.B. Übermittlung im Auftrag Dritter), unterliegt unter Umständen dem Steuerberatungsgesetz und muss seine Berechtigung selbst sicherstellen.
Practical safeguards built into the tool
- The only tool that actually transmits data is
elster_ustva_confirm— it requires an explicit second call afterelster_ustva_starthas paused atAWAITING_CONFIRM. Nothing is sent without that second confirmation. - The EÜR and ESt tools never submit. They only fill the form up to "Prüfen" and stop, so you review and submit yourself in the ELSTER portal.
- All sync / history / inbox tools are read-only and never modify state on the ELSTER side.
Features
Requirements
- Node.js ≥ 18
- An ELSTER certificate file (
.pfx) — get it fromhttps://www.elster.de→ "Mein ELSTER" → "Mein Benutzerkonto" → "Zertifikat verlängern" - The certificate password
- Your Steuernummer and Bundesland-Code
Install
Puppeteer will install a bundled Chromium on first install (~150 MB).
Configuration
All keys in config.json can be overridden by environment variables
(ELSTER_PFX_PATH, ELSTER_PASSWORD, ELSTER_TAX_NUMBER,
ELSTER_STATE_CODE, ELSTER_NAME, ELSTER_FIRST_NAME, ELSTER_STREET,
ELSTER_HOUSE_NUMBER, ELSTER_ZIP, ELSTER_CITY, ELSTER_COUNTRY,
ELSTER_DOWNLOAD_DIR, ELSTER_SCREENSHOT_DIR, ELSTER_HEADLESS,
ELSTER_EST_SKIP_EUR). Env vars win over the file.
You can also point the loader at a different config file via
ELSTER_CONFIG_PATH=/path/to/your/config.json.
The two-digit stateCode for your Finanzamt is published by ELSTER —
look up the current value in the official ELSTER documentation.
Reverse-Charge supplier list
Add your §13b UStG suppliers under ustva.reverseChargeSuppliers in
config.json. Patterns are case-insensitive regexes matched against the
voucher's contactName or description. Example entry:
Use with Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
(macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
See examples/claude_desktop_config.json for the template.
Use with any MCP client
Run the server in stdio mode:
Then connect via your client's MCP transport.
Typical UStVA flow
Typical EÜR flow
Security notes
- Never commit your
.env,config.json, or.pfx. They are gitignored by default. - The certificate password is read from env / config and passed to Puppeteer — make sure the host running this server is trusted.
- Set
ELSTER_HEADLESS=falseonce to watch the first run and confirm everything is wired correctly.
Limitations
- The ELSTER portal selectors can change. If a flow breaks, run with
ELSTER_HEADLESS=falseand check the screenshots written to./screenshots/. - The ESt tool is intentionally a thin wrapper — German income-tax forms (Anlage G, V, N, S, KAP …) are dozens of different forms with thousands of fields. This server provides the framework (login, open, fill-by-label-or-id, Prüfen) and leaves the field choices to you.
- No XML submission path. Official programmatic submission requires the ERiC library (registration as a software vendor). This server uses the same Online-Formular path that any taxpayer uses.
License
Contributing
PRs welcome. The most useful additions are:
- More robust selectors for changed ELSTER pages
- Pre-filled Anlage G / V / N / S templates for ESt
- A typed
reportschema validator forelster_ustva_*
When opening an issue, please run with ELSTER_HEADLESS=false and attach the
screenshot under ./screenshots/ that shows the failure.
來源:README.md,提交 baa029d
工具
0版本歷史
1- v0.1.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分