原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Luxembourg MCP

作者:amirdaraee版本 0.7.0i★ 9i电脑或云端官方网站 ↗
注册名称io.github.amirdaraee/luxembourg-mcp

安装方法

What it does

Keyless MCP access to official Luxembourg public data: laws, statistics, mobility, and more.

  • Connects 电脑或云端
  • Account or key No key needed
  • Category 法律与政府数据

为什么排在这里

列表按使用分(满分 100)排序,由以下部分组成

热度12/80GitHub 星标或每周下载量:较大的计 60,较小的计 20
新鲜度12/1230 天内有发布或代码更新得满分
仍在响应8/8上次检查时云端端点有响应
使用分32/100

质量: 基础检查通过 5/5 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)

安装

选择你使用的 AI 应用,然后复制设置。

用一句话让 AI 帮你安装

请帮我安装 Luxembourg MCP。按照 https://mcp.popnx.com/i/amirdaraee-luxembourg-mcp.md 操作,先把命令给我看,等我同意后再运行。

粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文

通过 5/5 项检查 · 你的提问会经过开发者的服务器(mcp.luxembourg-mcp.com) · ✓ 命令已检查 2026年11月13日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude · 约 2 分钟

不需要密钥,不用安装程序 · 在 claude.ai 或桌面应用设置一次,即可在聊天中使用 · 免费账户可添加 1 个 · Team/Enterprise 方案由所有者(Owner)添加

  1. 打开 Claude 的 Connectors 页面

    CustomizeConnectors

    CustomizeConnectors1Add2https://…3Add4
  2. 点击“Add” → “Custom” → “Web”,填写这 2 项

    把这里的内容复制到 Claude 中同名的输入框,然后点击 Continue

    Name · 名称Luxembourg MCP
    Remote MCP server URL · 地址https://mcp.luxembourg-mcp.com/mcp

    在 Claude 检测到的登录设置页点击 Continue · Authentication 按作者说明选择(Sign in now、Sign in when needed 或 No sign in),然后点击 Add

  3. 在聊天中开启

    +ConnectorsLuxembourg MCP

  4. 试一试

    用 Luxembourg MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 Luxembourg MCP,或回答中出现 Luxembourg MCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

能否连接 ChatGPT 取决于方案

完整 MCP:网页版 ChatGPT Business、Enterprise 或 Edu · Pro:以读取/获取权限连接,修改数据的工具可能用不了 · Plus:官方文档尚未确认,如果在插件页看到添加自定义 MCP 的选项可以试试 · 仅限网页

  1. 在网页版 ChatGPT 打开添加 MCP 的页面

    Plugins+Add custom MCP server

    ChatGPTPlugins1+2https://…3Create4
  2. 填写名称和地址

    输入名称,在 Connection 下粘贴地址,勾选风险提示,然后点击 Create as a plugin

    Name · 名称Luxembourg MCP
    Connection · 地址https://mcp.luxembourg-mcp.com/mcp
  3. 在聊天中选择 Luxembourg MCP

    开启新聊天,输入前先从插件列表中选择 Luxembourg MCP

  4. 试一试

    用 Luxembourg MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 ChatGPT 说正在使用 Luxembourg MCP,或回答中出现 Luxembourg MCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 OpenAI 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Claude Code · 约 2 分钟

不需要密钥,不用安装程序

  1. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  2. 粘贴这条命令并按 Enter

    claude mcp add --transport http --scope user luxembourg https://mcp.luxembourg-mcp.com/mcp
  3. 在 Claude Code 中输入 /mcp

    应能看到 Luxembourg MCP 在列表中并显示已连接

  4. 试一试

    用 Luxembourg MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 Luxembourg MCP,或回答中出现 Luxembourg MCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor · 约 2 分钟

不需要密钥,不用安装程序

  1. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  2. 在 Cursor 中以 Agent 模式打开 AI 聊天

  3. 试一试

    用 Luxembourg MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 Luxembourg MCP,或回答中出现 Luxembourg MCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code · 约 2 分钟

不需要密钥,不用安装程序

  1. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  2. 在 VS Code 中以 Agent 模式打开 AI 聊天

  3. 试一试

    用 Luxembourg MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 Luxembourg MCP,或回答中出现 Luxembourg MCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

通过网页连接的应用使用的地址

地址https://mcp.luxembourg-mcp.com/mcp

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 Luxembourg MCP 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

通过网页连接

Claude Code

claude mcp add --transport http --scope user luxembourg https://mcp.luxembourg-mcp.com/mcp

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "luxembourg": {
      "url": "https://mcp.luxembourg-mcp.com/mcp"
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "luxembourg": {
      "type": "http",
      "url": "https://mcp.luxembourg-mcp.com/mcp"
    }
  }
}

安装在电脑上

Claude Code

claude mcp add --scope user luxembourg -- uvx luxembourg-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "luxembourg": {
      "command": "uvx",
      "args": [
        "luxembourg-mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "luxembourg": {
      "command": "uvx",
      "args": [
        "luxembourg-mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "luxembourg": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "luxembourg-mcp"
      ]
    }
  }
}

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
25/周
连接方式
电脑或云端
传输方式
stdio, streamable-http
最新版本i
0.7.0
发布到注册中心i
2026年9月17日
代码最后更新i
2026年10月28日
最近检查
2026年11月18日
作者
amirdaraee
软件包
pypi: luxembourg-mcp
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

通过互联网连接,适用于

ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

工具名称和描述与服务器在 2026年11月18日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。

  • search_datasets

    Search Luxembourg's official data.public.lu catalog.

  • get_dataset

    Get metadata and current download resources for an official dataset.

  • geocode_address

    Resolve a Luxembourg address to official Geoportail coordinates.

  • reverse_geocode

    Find the nearest official Luxembourg address to WGS84 coordinates.

  • list_geo_collections

    Search official Geoportail OGC feature collections by title, description, or keyword.

  • get_geo_features

    Fetch GeoJSON features from an official Geoportail OGC collection.

  • get_weather_alerts

    Get current official MeteoLux weather warnings published on data.public.lu.

  • search_legislation

    Search official Luxembourg legislation and consolidated laws through Legilux.

  • search_statistics

    Search STATEC LUSTAT statistical dataflows by topic or title.

  • get_statistics

    Retrieve recent observations from a STATEC LUSTAT SDMX dataflow.

  • get_city_parking

    Get current Ville de Luxembourg car-park capacity and free spaces.

  • list_cfl_parking

    List official CFL Park and Ride facilities.

  • get_cfl_parking

    Get live occupancy and details for a CFL Park and Ride facility.

  • get_traffic

    Get live CITA motorway speed, occupancy, and flow measurements.

  • get_water_levels

    Get the latest official measured water level at Luxembourg stations.

  • get_air_quality

    Get the latest national telemetric air-quality measurements by station.

  • search_chamber_bodies

    Search official Chamber committees, delegations, bodies, memberships, and roles.

  • get_accessibility_figures

    Get national Digital Accessibility Observatory key figures.

  • get_accessibility_audits

    Get the latest public-sector digital accessibility audits.

  • search_transit_stops

    Search official nationwide public-transport stops from the current ATP GTFS feed.

  • get_city_mobility

    Get Ville de Luxembourg mobility locations as GeoJSON features.

  • get_weather_observations

    Get live MeteoLux weather observations at Luxembourg-Airport: temperature, wind, pressure, humidity, visibility.

  • get_public_holidays

    List Luxembourg legal public holidays in four languages, optionally for one year.

  • search_parliamentary_questions

    Search Chamber of Deputies parliamentary questions by keyword, newest first.

  • get_housing_prices

    Get advertised housing sale prices by commune from the official Observatoire de l'Habitat.

  • get_election_results

    Get machine-readable 2023 legislative election results, national and per circonscription.

  • get_ev_charging

    Get Chargy public EV charging stations with live connector availability.

  • get_waste_collections

    Get upcoming municipal waste-collection dates for a Luxembourg commune.

  • get_weather_forecast

    Get the official MeteoLux forecast for a place in Luxembourg: current conditions, 24 hours, 5 days, UV index, sunrise and sunset.

  • get_fuel_prices

    Get official monthly Luxembourg prices for petrol, diesel, hydrogen, LPG, home electricity and public EV charging.

  • get_public_alerts

    Get recent LU-Alert public warnings: floods, storms, food recalls and other national alerts.

  • get_commune_leaders

    Get the current mayor and aldermen of Luxembourg communes.

  • get_commune_population

    Get official resident population by commune, split by adults, minors and sex.

  • get_pharmacies_on_duty

    Get the pharmacies on duty in Luxembourg for a date, with address and phone number.

  • get_electricity_prices

    Get Luxembourg day-ahead wholesale electricity prices per quarter hour, with the cheapest and most expensive slots.

  • get_carsharing

    Find currently available CFL FLEX carsharing vehicles by station, town or fuel type.

  • get_bike_sharing

    Get live Vel'OK bike-sharing availability at stations in southern Luxembourg.

  • search_tenders

    Search Luxembourg public procurement notices with deadlines, buyers and CPV codes.

  • get_plenary_votes

    Get Chamber of Deputies plenary votes, newest first, with yes/no/abstain tallies per party and optionally how one deputy voted.

  • get_deputies

    List the current members of the Chamber of Deputies with party, constituency, start of mandate and official email.

  • lookup_luxembourgish

    Look up a word in the official Luxembourgish dictionary (LOD): translations into German, French, English and Portuguese, pronunciation, forms and examples.

  • get_traffic_events

    Get live roadworks, lane closures, incidents and equipment faults on Luxembourg motorways from CITA.

  • get_electricity_grid

    Get Luxembourg's latest daily electricity load, generation by production type and cross-border flows (ENTSO-E actuals).

  • get_unemployment

    Get monthly ADEM figures: registered resident jobseekers by sex and job vacancies, nationally or for one commune.

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月19日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 amirdaraee 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于22天前

  • ✓ 通过

    有许可证

    使用 MIT

  • ✓ 通过

    端点有响应

    在 154 毫秒内响应(HTTP 200)

  • – 不适用

    使用 OAuth 登录

    无需登录

  • ✓ 通过

    工具描述中没有隐藏指令

    已读取 44 个工具描述,未发现针对 AI 的隐藏指令

云端地址最近 4 次检查中有 4 次响应 · 最近一次 154 ms · 检查于 2026年11月18日

已公开的漏洞(OSV.dev)

OSV.dev 中没有 luxembourg-mcp@0.7.0 的记录

只检查这个版本的包本身,不包括所有依赖 · 检查于 2026年11月15日

我们检查什么 → · JSON

作者:申请重新检查或报告信息错误
给作者:在 README 中加徽章

如果你是作者,可把这段代码贴到 README。徽章会链接回本页。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/amirdaraee-luxembourg-mcp.svg)](https://mcp.popnx.com/en/servers/amirdaraee-luxembourg-mcp)

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

用户评价

还没有评价

登录后写评价

与“法律与政府数据”中的其他服务器比较i

  • 星标数多于此分类中其他 1945 个服务器的 97%
  • 发布到注册中心的时间比此分类中其他 1945 个服务器的 33% 更新
  • 基础检查结果等于或优于此分类中其他 1945 个服务器的 99%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Luxembourg MCP 安全吗?

它在 5 项适用的基础检查中通过了 5 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

两种方式都可以:安装在你的电脑上,或者连接云端版本。

它还在维护吗?

GitHub 仓库最后更新于22天前,最新版本(0.7.0)于2个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,因此也能用于接受远程 MCP 的应用,例如网页版 ChatGPT(Business 及以上为完整 MCP;Pro 为只读)。

有什么可以替代它?

同一分类中有:Global law, Open Legal Data (Germany), LibreJustice, InfraNode, Fedlex Connector

功能相近的其他选择

同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Global law

The law of nearly every country on earth, any date: read it, see what changed it, check citations.

作者:lexifina广泛使用★ 20969天前更新

在云端运行✓ lexifina.com

LibreJustice

Search French-language and European case law and French legal texts (codes, statutes, treaties).

作者:librejustice起步阶段★ 362个月前更新

在云端运行✓ 服务方 · librejustice.fr

InfraNode

Keyless open data for 84 German cities: 12 lean read-only MCP tools covering 67 data types.

作者:street1983nk起步阶段★ 185个月前更新

在云端运行✓ 服务方 · infranode.dev
与相似项目对比
本项
Luxembourg MCP
Global lawOpen Legal Data (Germany)LibreJusticeInfraNodeFedlex Connector
运行位置云端或安装在电脑上都可以在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装
需要密钥否否否否否否
可在 Claude 中按 + 添加否否否否否否
基础检查5/54/44/44/44/44/4
许可证MITNOASSERTIONMITApache-2.0Apache-2.0MIT
价格登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Luxembourg MCP

Keyless Model Context Protocol access to Luxembourg public data.

Hosted endpoint — no install needed: point any MCP client at https://mcp.luxembourg-mcp.com/mcp (streamable HTTP). Or run it yourself with uvx luxembourg-mcp. Website: luxembourg-mcp.com

Luxembourg MCP turns fragmented public APIs and open datasets into 44 consistent tools that AI agents can call directly. It covers laws, official statistics, mobility, environmental measurements, parliament, accessibility, addresses, geospatial features, and the national open-data catalogue.

  • 44 MCP tools
  • 28 public data systems
  • No API keys or accounts
  • No scraping
  • Source URL returned with every result
  • Stdio and Streamable HTTP transports

Origin and credit

This project is directly inspired by Allemannsdata, created by Thomas Heggelund.

Heggelund's original idea was to give public data the same openness suggested by Norway's *allemannsretten*, the right to roam: public information should be straightforward to reach, combine, and use. Allemannsdata removes the repetitive integration work between agents and Norwegian public services by presenting many unrelated data sources through consistent, keyless MCP tools.

Luxembourg MCP applies that idea to the Grand Duchy. It is an independent implementation for Luxembourg, not a fork, official regional edition, or affiliated project. Credit for the original public-data-over-MCP catalogue concept belongs to Thomas Heggelund and Allemannsdata.

Available tools

ToolPublic sourcePurpose
search_datasetsdata.public.luSearch the national open-data catalogue
get_datasetdata.public.luInspect metadata and current resources
geocode_addressGeoportailResolve an official address
reverse_geocodeGeoportailFind the nearest official address
list_geo_collectionsGeoportail OGC APIDiscover queryable geospatial layers
get_geo_featuresGeoportail OGC APIRetrieve bounded GeoJSON features
get_weather_alertsMeteoLuxRead current weather warnings
search_legislationLegiluxSearch legislation and consolidated laws
search_statisticsSTATEC LUSTATDiscover statistical dataflows
get_statisticsSTATEC LUSTATRetrieve labelled SDMX observations
get_city_parkingVille de LuxembourgRead live city parking availability
list_cfl_parkingCFLList Park and Ride facilities
get_cfl_parkingCFLRead live P+R occupancy and free spaces
get_trafficCITARead live motorway traffic measurements
get_water_levelsWater Management AdministrationRead current water-station levels
get_air_qualityEnvironment AdministrationRead national air-quality measurements
search_chamber_bodiesChamber of DeputiesSearch bodies, memberships, and roles
get_accessibility_figuresDigital Accessibility ObservatoryRead national accessibility totals
get_accessibility_auditsDigital Accessibility ObservatoryList recent public-sector audits
search_transit_stopsPublic Transport AdministrationSearch nationwide GTFS stops
get_city_mobilityVille de Luxembourg MapsRetrieve mobility locations as GeoJSON
get_weather_observationsMeteoLuxLive temperature, wind, pressure at Findel
get_public_holidaysdata.public.luLegal public holidays in four languages
search_parliamentary_questionsChamber of DeputiesSearch parliamentary questions and answers
get_housing_pricesObservatoire de l'HabitatAdvertised housing sale prices by commune
get_election_resultsCTIE2023 legislative election results
get_ev_chargingChargyPublic EV charging with live availability
get_waste_collectionsEnvironment AdministrationUpcoming waste-collection dates by commune
get_weather_forecastMeteoLuxOfficial forecast, UV index, sunrise and sunset
get_fuel_pricesMinistère de l'ÉconomieMonthly fuel, hydrogen and EV-charging prices
get_public_alertsLU-AlertNational warnings, including food recalls
get_commune_leadersMinistère des Affaires intérieuresCurrent mayor and aldermen per commune
get_commune_populationCTIEResident population by commune, age group and sex
get_pharmacies_on_dutyPharmacie.luPharmacies on duty, with address and phone
get_electricity_pricesOpen Data LëtzebuergDay-ahead power prices per quarter hour
get_carsharingCFL MobilityAvailable FLEX carsharing vehicles
get_bike_sharingVël'OKLive bike-sharing availability in the south
search_tendersPortail des marchés publicsOpen public procurement notices
get_plenary_votesChamber of DeputiesPlenary votes with tallies per party and per deputy
get_deputiesChamber of DeputiesCurrent deputies, party, constituency and email
lookup_luxembourgishLëtzebuerger Online DictionnaireTranslations, pronunciation and examples
get_traffic_eventsCITALive roadworks, closures and incidents
get_electricity_gridOpen Data LëtzebuergDaily load, generation mix and cross-border flows
get_unemploymentADEMMonthly jobseekers and vacancies, national or by commune

Quick start

Python 3.11 or newer is required.

python -m venv .venv

. .venv/bin/activate pip install -e . luxembourg-mcp --transport http --port 8000

Once running:

InterfaceURL
Tool cataloguehttp://127.0.0.1:8000/
MCP endpointhttp://127.0.0.1:8000/mcp
Health checkhttp://127.0.0.1:8000/health
Upstream statushttp://127.0.0.1:8000/status

/status reports whether each tool's official upstreams are reachable; the catalogue shows it as a light on every tool card. Each upstream gets one lightweight check (only the first few kilobytes are read) at most every 10 minutes, however many people load the page. One failed check marks an upstream *degraded*, two in a row *down*.

Stdio client
{

"mcpServers": { "luxembourg": { "command": "luxembourg-mcp" } } }

Docker
docker build -t luxembourg-mcp .

docker run --rm -i luxembourg-mcp # stdio (default) docker run --rm -p 8000:8000 luxembourg-mcp --transport http --host 0.0.0.0 # HTTP

Example questions

After connecting an MCP client, an agent can answer questions such as:

  • What weather warnings are active in Luxembourg?
  • How many spaces are free at a CFL Park and Ride?
  • What is the latest water level at Mersch?
  • Find legislation concerning pensions.
  • Which STATEC datasets contain population figures?
  • What are the latest traffic measurements on the A6?
  • Are there roadworks or lane closures on the A4 right now?
  • How did each party vote on the latest tramway bill?
  • What does the Luxembourgish word "Schiertech" mean?
  • Find the official coordinates for an address in Luxembourg City.
  • Which bus or tram stops match Hamilius?

Protocol behavior

The server:

  • validates arguments against every advertised tool input schema;
  • rejects JSON-RPC batches and other non-object JSON with -32600 Invalid Request;
  • supports MCP 2026-07-28 (stateless: per-request _meta, server/discover, cache hints) alongside the initialize-handshake revisions 2025-11-25, 2025-06-18, and 2025-03-26 on the same endpoint and over stdio;
  • validates the MCP-Protocol-Version, Mcp-Method, and Mcp-Name headers against the request body for HTTP requests;
  • returns tool failures as MCP tool results without terminating the server;
  • bounds large upstream responses before placing them in agent context.

The built-in HTTP server is stateless and does not provide an SSE stream. By default it accepts browser origins only from loopback addresses; hosted deployments can extend this with LUXEMBOURG_MCP_ALLOWED_ORIGINS (a comma-separated origin list, or *), which also enables CORS preflight and response headers for the allowed origins. Public deployments should add TLS, response caching, and observability at a reverse proxy or application gateway.

Security and deployment

The built-in server includes baseline controls, but it is not a replacement for a production API gateway:

  • HTTP request bodies are limited to 1 MiB.
  • Upstream responses are limited to 25 MiB.
  • Metadata-derived downloads are restricted to trusted data.public.lu HTTPS resource hosts, including redirects; fixed upstream URLs only follow HTTPS redirects on the same host.
  • Upstream XML declaring DTD entities is rejected before parsing, and user-supplied identifiers cannot form ./.. URL path segments.
  • GTFS ZIP members are checked for decompressed size, encryption, and suspicious compression ratios before extraction.
  • HTTP clients are limited to 60 MCP requests per minute by default; IPv6 clients are grouped by /64 prefix.
  • The HTTP server serves at most 32 concurrent connections by default and closes connections idle for 30 seconds.
  • The Docker image runs as an unprivileged app user from a digest-pinned base image.

Set LUXEMBOURG_MCP_RATE_LIMIT to change the per-minute, per-client limit. A value of 0 disables the built-in limiter. The limiter intentionally uses the direct TCP peer address and does not trust forwarding headers unless LUXEMBOURG_MCP_CLIENT_IP_HEADER names one explicitly (for example CF-Connecting-IP behind Cloudflare); only set it when a trusted proxy controls that header, since clients could otherwise spoof it to escape the limit. Set LUXEMBOURG_MCP_MAX_CONNECTIONS to change the concurrent-connection cap; connections beyond it are closed immediately.

Tool output is untrusted external data. Dataset descriptions, legislation titles, and other public text may contain misleading or adversarial instructions. MCP clients and agent hosts must treat tool results as data, not system instructions, and should require confirmation or policy checks before allowing powerful sibling tools to act on content returned here.

Testing

The default suite is deterministic and does not use the network. It covers JSON-RPC behavior, schema validation, provider parsers, catalogue packaging, and the tools/call contract for all 28 tools.

PYTHONPATH=src python -m unittest discover -s tests -v

The opt-in live suite calls every real upstream service:

LUXEMBOURG_MCP_LIVE=1 PYTHONPATH=src \

python -m unittest tests.test_live_tools -v

Live tests may fail when a source is unavailable or changes its published data. They also download larger STATEC, air-quality, Chamber, and GTFS resources.

Current limitations

  • The official ATP API for real-time departures and journey planning requires a personal access key. This project exposes keyless static stops from the official GTFS feed instead.
  • The cache is bounded but local to one process. Multiple workers do not share cached data.
  • Upstream availability, update frequency, schemas, and licensing remain controlled by each data producer.
  • Tool coverage is not yet at parity with Allemannsdata. Candidates include parliamentary votes, court decisions, historical weather, EV charging, road works, and more environmental measurements.

Independence and data ownership

Luxembourg MCP is a community project. It is not affiliated with Thomas Heggelund, Allemannsdata, the Luxembourg government, or any agency whose data it exposes.

The project does not own the upstream da

只显示了开头部分;其余内容请在仓库中阅读