Skip to main content
Glama

HK Transit Cost — MTR fares and the government fare subsidy

Server Details

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

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-06-18
URL
ChatGPT
–
Claude
–

TDQS

A3.9/5.0

Scored across 4 tools

Disambiguation4/5

log_trip (write) and monthly_summary (read own ledger) are clearly separated, and mtr_fare (published fare lookup) is distinct from subsidy_amount (rule-based computation). The only soft overlap is that monthly_summary also reports a subsidy estimate while subsidy_amount computes it standalone, which could cause mild confusion.

Naming Consistency3/5

Three names are noun phrases (monthly_summary, mtr_fare, subsidy_amount) while one is verb_noun (log_trip), a mixed convention. All are lowercase snake_case and readable, so the pattern is inconsistent but not chaotic.

Tool Count4/5

Four tools is tight but coherent for fare lookup, trip recording, monthly aggregation, and subsidy calculation. Nothing is redundant, though the set sits at the thin end for a ledger-based workflow.

Completeness3/5

The surface covers write, aggregate, fare lookup, and subsidy math, but the trip ledger has no edit, delete, or list operation — a mislogged trip cannot be corrected or removed, which is a notable lifecycle gap.

Available Tools

4 tools
log_tripAInspect

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.

Inputs: to (required), date (required), fare (required), from (required), +2 more.

monthly_summaryAInspect

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.

Inputs: month.

mtr_fareAInspect

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.

Inputs: to (required), from (required).

subsidy_amountAInspect

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.

Inputs: alipay, octopus.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources