Taxme
БесплатноНе проверенMCP server for the Canton of Bern tax portal TaxMe/BE-Login that reads account statements and tax returns via Playwright browser automation.
Описание
MCP server for the Canton of Bern tax portal TaxMe/BE-Login that reads account statements and tax returns via Playwright browser automation.
README
MCP server for the Canton of Bern tax portal TaxMe / BE-Login (belogin.directories.be.ch) — read your account statement (open amounts per tax year) and your tax returns with their status, from any MCP client.
BE-Login has no public API and authenticates through SwissID/AGOV, so this server drives the portal with Playwright browser automation. It is inherently fragile: portal updates can break selectors, and it depends on your interactive SwissID/AGOV login.
It is full-featured: besides reading, it can open a return, walk the menu
sections, read the fields on a page, fill them (text / radio / checkbox),
click buttons (Neuen Eintrag erfassen, Speichern, Nächste Seite …) and read the
results. The JSF quirks are handled (radios set via the label / a dispatched
change event, whole-franc amounts, the edit popup tab). Safety: it only
fills drafts — the final submission (taxme_submit_return) requires an
explicit confirm: true, and nothing is submitted otherwise.
How it works
- A persistent Chromium profile (
~/.taxme-mcp/profile) keeps the session. - When the session has expired,
taxme_loginopens a visible window; you complete the SwissID/AGOV login (incl. 2FA) yourself. Everything else runs headless.
Tools
Read
| Tool | Purpose |
|---|---|
taxme_status |
ok or login_required |
taxme_login |
open a visible window for the SwissID/AGOV login (waits up to 8 min) |
taxme_account_statement |
open amounts (CHF) per tax year — Kantons-/Gemeindesteuern, direkte Bundessteuer, Gemeindeabgaben |
taxme_list_returns |
tax returns (Steuererklärungen) with status (In Bearbeitung / Quittiert …) |
Navigate & edit
| Tool | Purpose |
|---|---|
taxme_open_return |
open a return (year) for editing; returns the menu sections |
taxme_menu |
left-menu sections + status of the open return |
taxme_goto_section |
click a menu section by name; returns its fields |
taxme_get_fields |
interactive fields on the current page (id, type, value, label, context) |
taxme_snapshot |
breadcrumb/url of the current page (screenshot: true for a PNG) |
taxme_fill |
set fields: values: [{target, value}] (target = id or label/context substring) |
taxme_click |
click a button/link by text (Neuen Eintrag erfassen, Speichern, Nächste Seite …) |
taxme_results |
read the Ergebnisse / Steuerberechnung |
taxme_submit_return |
DANGER final submission — requires confirm: true; dry-run otherwise |
Install
git clone [email protected]:sapn95/taxme-mcp.git
cd taxme-mcp && npm install
npx playwright install chromium # skip if a playwright chromium is already cached
claude mcp add --scope user taxme -- node /path/to/taxme-mcp/index.js
Env
| Variable | Default | Purpose |
|---|---|---|
TAXME_PROFILE |
~/.taxme-mcp/profile |
browser profile dir (holds the session — secret) |
TAXME_CHROMIUM |
auto-detect | chromium executable override |
Caveats
- Private use for your own BE-Login account. Respect the portal's terms.
- The profile directory contains live session cookies — never commit or share it.
- SwissID/AGOV sessions are short-lived; run
taxme_loginat the start of a session. - JSF component ids in TaxMe are unstable; selectors use text/URLs with fallbacks — expect occasional breakage after portal releases.
- Only Canton of Bern (TaxMe). Other cantons use different portals.
Установка Taxme
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/sapn95/taxme-mcpFAQ
Taxme MCP бесплатный?
Да, Taxme MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Taxme?
Нет, Taxme работает без API-ключей и переменных окружения.
Taxme — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Taxme в Claude Desktop, Claude Code или Cursor?
Открой Taxme на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Playwright
Browser automation, scraping, screenshots
автор: MicrosoftPuppeteer
Browser automation and web scraping.
автор: modelcontextprotocolopentabs-dev/opentabs
Plugin-based MCP server + Chrome extension that gives AI agents access to web applications through the user's authenticated browser session. 100+ plugins with a
автор: opentabs-devrobhunter/agentdeals
1,500+ developer infrastructure deals, free tiers, and startup programs across 54 categories. Search deals, compare vendors, plan stacks, and track pricing chan
автор: robhunterCompare Taxme with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории browse
