Skip to main content
Glama
poseidon73561

LUSTAT Wages MCP Server

LUSTAT 工资 — 远程 MCP 服务器 (Railway)

用于 LUSTAT DF_C1217 的远程 MCP 服务器:按 NACE 行业和教育水平划分的月平均工资(卢森堡 / STATEC)。


部署到 Railway — 分步指南

1. 创建 GitHub 仓库

git init
git add .
git commit -m "Initial commit"
# Create a new repo on github.com, then:
git remote add origin https://github.com/YOUR_USERNAME/lustat-mcp.git
git push -u origin main

2. 在 Railway 上部署

  1. 前往 https://railway.app 并登录(免费账户)

  2. 点击 New Project → Deploy from GitHub repo

  3. 选择你的 lustat-mcp 仓库

  4. Railway 会自动检测 Node.js 并自动部署

3. 设置环境变量

在 Railway 仪表板 → 你的项目 → Variables 中,添加:

变量

值

必需

MCP_API_KEY

任何强密码字符串

推荐

PORT

(留空 — Railway 会自动设置)

自动

4. 获取你的公共 URL

在 Railway 仪表板 → 你的项目 → Settings → Domains 中, 点击 Generate Domain。你将获得一个类似以下的 URL:

https://lustat-mcp-production.up.railway.app

5. 测试部署

# Health check (no auth needed)
curl https://lustat-mcp-production.up.railway.app/health

# Expected response:
# {"status":"ok","service":"lustat-mcp","dataset":"DF_C1217"}

Related MCP server: mcp-csu

将 Claude Desktop 连接到你的远程 MCP

编辑 ~/Library/Application Support/Claude/claude_desktop_config.json (Mac) 或 %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "lustat-wages": {
      "url": "https://lustat-mcp-production.up.railway.app/mcp",
      "headers": {
        "x-api-key": "YOUR_MCP_API_KEY"
      }
    }
  }
}

重启 Claude Desktop。现在,任何与你共享 URL 和 API 密钥的人都可以使用 LUSTAT 工具 — 无需本地安装。


可用工具

工具

描述

get_wage_data

按行业 + 教育水平划分的时间序列

compare_sectors

按给定年份的工资对所有行业进行排名

compare_education

比较不同教育水平的工资

list_codes

列出所有有效的筛选代码

Claude 中的示例提示词

  • “2022 年卢森堡哪个行业工资最高?”

  • “显示 2010 年至 2023 年金融行业的工资趋势”

  • “大学学位对建筑业的工资影响有多大?”

  • “比较整体教育水平的工资差异”


NACE 行业代码

代码

行业

_T

所有行业总计

B-E

工业

F

建筑业

G

批发与零售

H

运输业

I

住宿与餐饮

J

信息与通信

K

金融与保险

L_N

房地产与专业服务

M

科学与技术

O

公共管理

P

教育

Q

健康与社会工作

R_S

艺术与其他服务

教育代码

代码

水平

A4

所有水平

ED0_2

初等及初中教育 (ISCED 0-2)

ED3_4

高中教育 (ISCED 3-4)

ED5_8

高等教育 (ISCED 5-8)


数据来源

  • 提供方: STATEC 卢森堡

  • API: https://lustat.statec.lu/rest/ (SDMX 2.1)

  • 数据流: DF_C1217

  • 频率: 年度

  • 覆盖范围: 2010 年至今

  • 单位: 月平均总工资,欧元

Related MCP Connectors

Related MCP Servers