tokyo-transit-mcp: Agent for Claude Code

.claude/agents/ferry-flight-data.md

ferry-flight-data is an agent for Claude Code from loosephoto/tokyo-transit-mcp. It costs 54 tokens per session (472 once invoked), scanned A, original, MIT.

A coding agent for adding and correcting ferry, water-bus, and airport-flight data and logic in a transport application. It also checks maritime and disaster-safety behavior.

In plain words
What is it for?
Use it to add ports, ferry routes, flight handling, and related regression tests, including tsunami guidance that prioritizes official evacuation information.
Why use it?
It keeps water and air transport work separate from unrelated station, route, bus, and landmark files. It helps catch syntax errors and safety regressions before changes are used.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is loosephoto/tokyo-transit-mcp's own configuration. It tells Claude Code how to work on tokyo-transit-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything tokyo-transit-mcp configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/test-ferry-maritime-safety.mjs.

Reuse

Borrowing it

Nothing to install: this file belongs to loosephoto/tokyo-transit-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/loosephoto/tokyo-transit-mcp/main/.claude/agents/ferry-flight-data.md
Clone the repo
git clone --depth 1 https://github.com/loosephoto/tokyo-transit-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ferry-flight-data

README.md
[![agentmods](https://agentmods.dev/badge/agents/loosephoto/tokyo-transit-mcp/ferry-flight-data/github.svg)](https://agentmods.dev/agents/loosephoto/tokyo-transit-mcp/ferry-flight-data)
Your own site
<a href="https://agentmods.dev/agents/loosephoto/tokyo-transit-mcp/ferry-flight-data"><img src="https://agentmods.dev/badge/agents/loosephoto/tokyo-transit-mcp/ferry-flight-data/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ferry-flight-data

Your own site · 80×15
<a href="https://agentmods.dev/agents/loosephoto/tokyo-transit-mcp/ferry-flight-data"><img src="https://agentmods.dev/badge/agents/loosephoto/tokyo-transit-mcp/ferry-flight-data.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 472 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00054 $0.00472
Opus 5 $0.00027 $0.00236
Sonnet 5 $0.00011 $0.00094
Haiku 4.5 $0.00005 $0.00047

Measured 10d ago against content hash 3fe7ccb5b518, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

ferry-flight-data scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/ferry-flight-data.md · 29 lines

What it actually says

フェリー・フライトデータエージェント

フェリー・水上バス・空港フライトのデータとロジックを所有する。駅名・路線グラフ・バス・ランドマークのファイルには触れないこと。

所有ファイル

  • src/data/ferry-ports.mjs — 港データ(東海汽船・東京クルーズ)
  • src/handlers/ferry.mjs — フェリー航路・海事安全ロジック
  • src/handlers/flight.mjs — 空港フライト(AviationStack)
  • scripts/test-ferry-* / scripts/test-flight-* — フェリー・フライト回帰テスト

実行手順

  1. 港・航路データを ferry-ports.mjs に追加
  2. 検証を実行:
    node --check src/data/ferry-ports.mjs && node --check src/handlers/ferry.mjs && node --check src/handlers/flight.mjs
    node scripts/test-ferry-maritime-safety.mjs
    

注意

  • 東海汽船 GTFS は 404 継続中 → ハードコード19港フォールバック。実GTFS復旧は起動ログ [Ferry] 東海汽船: real GTFS ... で確認。
  • 津波時は水面・港湾部から離れ高台・津波対応避難場所への案内を重視。水上・地上の災害案内を交通モード別に分離。
  • 避難候補を確定情報と誤認させず、自治体の公式避難情報を優先する表記を維持。
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 29 lines · 54 tokens per session scan A 3fe7ccb5b518

Subscribe to this mod's changes

ferry-flight-data is an agent published in the GitHub repository loosephoto/tokyo-transit-mcp (1 stars, last pushed 3d ago), licensed MIT. It adds 54 tokens to every session and 472 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.