Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

An MCP server for interacting with Kanton Luzern tax declarations on eSteuern.LU, enabling field catalogue search and live declaration editing.

README.md

Luzern eTax MCP

An MCP server that lets AI agents explore and fill out Kanton Luzern tax declarations on the eSteuern.LU platform (Ringler eTax).

⚠️ Unofficial experiment. This is a personal, experimental project. It is not an official product and is not affiliated with, endorsed by, or supported by Kanton Luzern, Ringler Informatik AG, or eSteuern.LU. Use it at your own risk.

It exposes two things over the Model Context Protocol:

  • An offline field catalogue — search and inspect every field in the Luzern declaration (German labels, IDs, printed-form positions) with no credentials and no network access.
  • Live declaration tools — log in, create or open a declaration, read and write fields, save, and generate a review PDF against the training or production environment.

Quick start

npm install
npm test        # run the test suite
npm start       # start the MCP server

The server listens on http://127.0.0.1:3000/mcp using the MCP streamable HTTP transport. Override the bind address with the HOST and PORT environment variables.

Connect an agent

Point any MCP client at the running server. For example, in an MCP client config:

{
  "mcpServers": {
    "luzern-etax": {
      "url": "http://127.0.0.1:3000/mcp"
    }
  }
}

The offline catalogue tools work immediately. The live tools need credentials (see Configuration) and an explicit environment argument — training or production — on every call.

Tools

Offline catalogue — no credentials, no network

| Tool | Purpose | | --- | --- | | search_fields | Search the field catalogue by keyword | | get_field | Look up a single field by its ID |

These read from config/model.xml, config/entity-labels.properties, and config/scantax.xml. Duplicate label keys are surfaced as catalogue diagnostics rather than silently dropped.

Live declaration — eSteuern.LU

| Tool | Purpose | | --- | --- | | list_declarations | List declarations visible to the configured login | | create_declaration | Create a declaration using the configured declaration credentials | | load_declaration | Open a declaration (normally automatic; useful for diagnostics) | | get_scope | Read a runtime scope of field values | | set_field | Update one field after catalogue and scope checks | | insert_list_entry | Insert a list entry after checking the parent scope | | save_declaration | Save the current draft (this is not submission) | | print_declaration | Generate a review-PDF job |

set_field and insert_list_entry validate the runtime scope before writing. print_declaration returns job metadata by default; PDFs can contain taxpayer data and are not written into the repository.

Configuration

The live tools authenticate with two independent credential sets, supplied as environment variables:

| Variable | Required | Description | | --- | --- | --- | | ETAX_LOGIN_EMAIL | yes | Keycloak login email | | ETAX_LOGIN_PASSWORD | yes | Keycloak login password | | ETAX_DECLARATION_PERS_ID | yes | PersID from the tax letter (for create_declaration) | | ETAX_DECLARATION_ACCESS_CODE | yes | Zugangscode eFiling from the tax letter | | ETAX_DECLARATION_ID | no | Pin a declaration so editing tools can omit id | | ETAX_LANGUAGE | no | Declaration language; defaults to de |

Credentials are read from the environment only — never pass logins, PersIDs, or access codes as tool arguments.

Environments

| environment | Base URL | | --- | --- | | training | https://schulen-lu.etax.ch | | production | https://esteuern.lu.ch |

This version is optimized for a single configured taxpayer and an optional configured declaration.

Privacy

This repository must stay free of real tax data. Do not commit declarations, annex PDFs, credentials, access codes, bearer tokens, declaration IDs, AHV numbers, or any taxpayer PII. Generated .lunp2024 archives are git-ignored and should be treated as sensitive local artifacts unless built entirely from synthetic input.

Scope

Submission, export, attachment upload, browser OAuth, durable token storage, multi-taxpayer operation, and full .lunp2024 import/export are intentionally out of scope.

License

MIT © Dominic Wörner

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Search servers.