Luzern eTax MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Luzern eTax MCPsearch for field 'Einkommen' in the catalogue"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 serverThe 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.
Related MCP server: Zefix MCP Server
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 the field catalogue by keyword |
| 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 visible to the configured login |
| Create a declaration using the configured declaration credentials |
| Open a declaration (normally automatic; useful for diagnostics) |
| Read a runtime scope of field values |
| Update one field after catalogue and scope checks |
| Insert a list entry after checking the parent scope |
| Save the current draft (this is not submission) |
| 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 |
| yes | Keycloak login email |
| yes | Keycloak login password |
| yes | PersID from the tax letter (for |
| yes | Zugangscode eFiling from the tax letter |
| no | Pin a declaration so editing tools can omit |
| no | Declaration language; defaults to |
Credentials are read from the environment only — never pass logins, PersIDs, or access codes as tool arguments.
Environments
| Base URL |
|
|
|
|
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
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/domwoe/luzern-etax-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server