HK Transit Cost — MTR fares and the government fare subsidy

Hong Kong MTR fares and the government fare subsidy, computed and recorded.

사용해야 할까요

품질 및 안전성

A
설명 품질
100%
스키마 완전성
95%
이름 품질
85%
오염 위험
100%
권한 일치
100%
프로토콜 준수
100%

도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.

컨텍스트 비용

~702토큰 (도구 정의)
~1.1 KB일반적인 응답 크기
중간 정도의 주의 영향 (128k 컨텍스트의 0.55%)

이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.

설치

원클릭 설치

`claude_desktop_config.json` 파일에 다음을 추가하세요:

{
  "mcpServers": {
    "fares": {
      "url": "https://hk-transit.rowb.app/mcp"
    }
  }
}

원격 엔드포인트

https://hk-transit.rowb.app/mcpstreamable-http

할 수 있는 일

도구 목록

도구 (4)

🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
🟢mtr_fare(from, to)

Look up the published MTR fare between two stations in Hong Kong, by station name or MTR station id. Returns the Octopus adult/student/JoyYou-sixty/child/elderly/PWD fares and the single-journey adult fare in HKD, with the open-data source URL. Deterministic: same input, same answer. Read-only. No key required.

입력 스키마

{
  "type": "object",
  "properties": {
    "from": {
      "type": "string",
      "description": "Origin station name (e.g. \"Central\") or MTR station id (e.g. \"1\")."
    },
    "to": {
      "type": "string",
      "description": "Destination station name (e.g. \"Tsim Sha Tsui\") or MTR station id (e.g. \"3\")."
    }
  },
  "required": [
    "from",
    "to"
  ],
  "additionalProperties": false
}
🟢subsidy_amount(octopus, alipay)

Compute the Hong Kong Public Transport Fare Subsidy Scheme amount for one month, from the expenses recorded under an Octopus account and an AlipayHK account. Rule taken verbatim from the Government page: one-third of the monthly public transport expenses in excess of a $500 threshold, capped at $400 per month per account; the two accounts are never combined. Returns both the truncated whole-dollar figure and the exact one-third figure. Deterministic arithmetic only. Read-only. No key required.

입력 스키마

{
  "type": "object",
  "properties": {
    "octopus": {
      "type": "number",
      "description": "Public transport expenses in HKD recorded under the Octopus account this month (0 if none)."
    },
    "alipay": {
      "type": "number",
      "description": "Public transport expenses in HKD recorded under the AlipayHK account this month (0 if none)."
    }
  },
  "required": [],
  "additionalProperties": false
}
⚪log_trip(date, from, to, fare, mode, ...)

Record one public transport trip (date, from, to, fare, mode, which account paid) so it counts towards a monthly total and the subsidy estimate. Writes to your own ledger; a bearer API key is required and the call counts against the same monthly allowance as the REST endpoint.

입력 스키마

{
  "type": "object",
  "properties": {
    "date": {
      "type": "string",
      "description": "Travel date, YYYY-MM-DD."
    },
    "from": {
      "type": "string",
      "description": "Origin, e.g. \"Central\"."
    },
    "to": {
      "type": "string",
      "description": "Destination, e.g. \"Tsim Sha Tsui\"."
    },
    "fare": {
      "type": "number",
      "description": "Fare paid in HKD, e.g. 10.6"
    },
    "mode": {
      "type": "string",
      "enum": [
        "mtr",
        "bus",
        "ferry",
        "minibus",
        "tram"
      ],
      "description": "Transport mode."
    },
    "paid_with": {
      "type": "string",
      "enum": [
        "octopus",
        "alipayhk"
      ],
      "description": "Which account paid the fare."
    }
  },
  "required": [
    "date",
    "from",
    "to",
    "fare",
    "mode",
    "paid_with"
  ],
  "additionalProperties": false
}
⚪monthly_summary(month)

Totals for one month from the trips you recorded: trip count, total fare, breakdown by mode and by payment account, and the subsidy estimate computed separately for the Octopus and AlipayHK accounts. Requires a bearer API key.

입력 스키마

{
  "type": "object",
  "properties": {
    "month": {
      "type": "string",
      "description": "Month as YYYY-MM. Defaults to the current month."
    }
  },
  "required": [],
  "additionalProperties": false
}

커뮤니티

이 서버 평가하기

증거

최근 관측

검증됨버전이 기록되지 않음도구 4개