MOFA Overseas Safety Levels
Which danger level has Japan's MOFA set for a country and its regions? Hosted, change history kept.
使うべきか
品質と安全性
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"mofa-overseas-safety": {
"url": "https://mofa-overseas-safety-production.mk-career-planning.workers.dev/mcp"
}
}
}リモートエンドポイント
https://mofa-overseas-safety-production.mk-career-planning.workers.dev/mcpstreamable-httpできること
ツール一覧
ツール(4)
🟢catalog
List the tools of this server with prices, data sources, licensing, daily limits and data freshness.
入力スキーマ
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}出力スキーマ
{
"type": "object",
"properties": {
"server": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"version": {
"type": "string"
},
"stage": {
"type": "string"
}
},
"required": [
"name",
"version",
"stage"
],
"additionalProperties": {}
},
"payment": {
"type": "object",
"properties": {
"protocol": {
"type": "string"
},
"network": {
"type": "string"
},
"asset": {
"type": "string"
},
"enabled": {
"type": "boolean"
}
},
"required": [
"protocol",
"network",
"asset",
"enabled"
],
"additionalProperties": {}
},
"daily_limits": {
"type": "object",
"properties": {},
"additionalProperties": {},
"description": "Daily limits of paid calls (calls, usd, timezone) or a misconfiguration notice."
},
"paused": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "boolean"
},
"description": "Operator pause flags (true = paused)."
},
"tools": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"price_usd": {
"type": "number",
"description": "Price per call in USD (0 = free)."
},
"description": {
"type": "string"
}
},
"required": [
"name",
"price_usd",
"description"
],
"additionalProperties": {}
},
"description": "Every tool of this server with its price."
},
"legal": {
"type": "object",
"properties": {},
"additionalProperties": {}
},
"fetch_status_values": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "object",
"properties": {
"publisher": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"publisher",
"url"
],
"additionalProperties": {},
"description": "Publisher and URL of the upstream document or dataset."
},
"upstream_updated_at": {
"description": "Update time stated by the upstream, or null when it states none.",
"type": [
"string",
"null"
]
},
"retrieved_at": {
"description": "When this service retrieved the upstream data (null if unknown).",
"type": [
"string",
"null"
]
},
"content_sha256": {
"type": [
"string",
"null"
]
},
"parser_version": {
"type": "string"
},
"fetch_status": {
"type": "string",
"enum": [
"found",
"empty",
"stale",
"unavailable",
"unsupported"
],
"description": "found / empty / stale / unavailable / unsupported (see catalog fetch_status_values)."
},
"processed_by": {
"type": "string"
}
},
"required": [
"source",
"upstream_updated_at",
"retrieved_at",
"content_sha256",
"parser_version",
"fetch_status",
"processed_by"
],
"additionalProperties": {},
"description": "Freshness receipt for one upstream source."
},
"description": "Freshness receipts for every upstream source used."
},
"terms": {
"type": "string",
"description": "URL of the terms of service."
}
},
"required": [
"server",
"payment",
"daily_limits",
"paused",
"tools",
"legal",
"terms"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢mofa_country_levels(country)
Which danger level (1-4) does Japan's MOFA set now for this country, region by region? Look up by ISO 3166-1 alpha-2/alpha-3 or 4-digit MOFA code. Returns region-level entries in MOFA's Japanese text with English level labels, levels present, a derived max level (not a country-wide level), infectious disease danger notices, MOFA issue dates and URLs, previous levels from this service's own history (tracking_since), freshness and sources. Relays MOFA; no danger assessment or travel advice.
入力スキーマ
{
"type": "object",
"properties": {
"country": {
"type": "string",
"maxLength": 16,
"description": "ISO 3166-1 alpha-2 (TH), alpha-3 (THA), US-HI, or 4-digit MOFA country code (0066). US returns the mainland and Hawaii entries."
}
},
"required": [
"country"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}出力スキーマ
{
"type": "object",
"properties": {
"query": {
"type": "object",
"properties": {
"country": {
"type": "string"
}
},
"required": [
"country"
],
"additionalProperties": {}
},
"status": {
"type": "string",
"enum": [
"found",
"stale",
"not_yet_observed",
"unavailable",
"invalid_input",
"unknown_country"
]
},
"matched_by": {
"type": [
"string",
"null"
]
},
"entries": {
"type": "array",
"items": {
"type": "object",
"properties": {
"country": {
"type": "object",
"properties": {
"mofa_code": {
"type": "string"
},
"iso2": {
"type": "string"
},
"iso3": {
"type": "string"
},
"name_en": {
"type": "string"
},
"name_ja": {
"type": "string"
}
},
"required": [
"mofa_code",
"iso2",
"iso3",
"name_en",
"name_ja"
],
"additionalProperties": {}
},
"status": {
"type": "string",
"enum": [
"current",
"stale",
"not_yet_observed",
"unavailable"
],
"description": "current = re-read recently; stale = last read older than stale_after_hours; not_yet_observed = no record yet (NOT level 0); unavailable = record store unreadable."
},
"danger": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"published",
"no_danger_info_published"
],
"description": "no_danger_info_published is not a statement of safety."
},
"levels_present": {
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 4
},
"description": "MOFA flags: levels that at least one region of the country has."
},
"max_level_derived": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 4
},
{
"type": "null"
}
],
"description": "Derived by this service (max of listed regions); not a country-wide level."
},
"regions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"region_ja": {
"type": "string"
},
"level": {
"type": "integer",
"minimum": 1,
"maximum": 4
}
},
"required": [
"region_ja",
"level"
],
"additionalProperties": {}
},
"description": "Region-level entries read from MOFA's Japanese text (authoritative over max_level_derived)."
},
"regions_parse": {
"type": "string",
"enum": [
"complete",
"partial",
"none"
]
}
},
"required": [
"status",
"levels_present",
"max_level_derived",
"regions",
"regions_parse"
],
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"infectious_disease": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string"
},
"levels_present": {
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 4
}
}
},
"required": [
"status",
"levels_present"
],
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"freshness": {
"type": "object",
"properties": {
"last_checked_at": {
"type": [
"string",
"null"
]
},
"stale": {
"type": "boolean"
},
"stale_after_hours": {
"type": "number"
}
},
"required": [
"last_checked_at",
"stale",
"stale_after_hours"
],
"additionalProperties": {}
},
"history": {
"type": "object",
"properties": {
"tracking_since": {
"type": [
"string",
"null"
]
},
"note": {
"type": "string"
}
},
"required": [
"tracking_since",
"note"
],
"additionalProperties": {}
}
},
"required": [
"country",
"status",
"danger",
"infectious_disease",
"freshness",
"history"
],
"additionalProperties": {}
},
"description": "One entry per MOFA country/area matching the code (e.g. US = mainland and Hawaii)."
},
"tracking_since": {
"description": "When this service started recording (earliest first observation).",
"type": [
"string",
"null"
]
},
"notice": {
"type": "string"
},
"not_covered": {
"type": "array",
"items": {
"type": "string"
}
},
"attribution": {
"type": "object",
"properties": {
"source_ja": {
"type": "string"
},
"processed_ja": {
"type": "string"
},
"source_en": {
"type": "string"
},
"terms_url": {
"type": "string"
},
"license_note": {
"type": "string"
}
},
"required": [
"source_ja",
"processed_ja",
"source_en",
"terms_url",
"license_note"
],
"additionalProperties": {}
},
"answered_at": {
"type": "string"
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "object",
"properties": {
"publisher": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"publisher",
"url"
],
"additionalProperties": {},
"description": "Publisher and URL of the upstream document or dataset."
},
"upstream_updated_at": {
"description": "Update time stated by the upstream, or null when it states none.",
"type": [
"string",
"null"
]
},
"retrieved_at": {
"description": "When this service retrieved the upstream data (null if unknown).",
"type": [
"string",
"null"
]
},
"content_sha256": {
"type": [
"string",
"null"
]
},
"parser_version": {
"type": "string"
},
"fetch_status": {
"type": "string",
"enum": [
"found",
"empty",
"stale",
"unavailable",
"unsupported"
],
"description": "found / empty / stale / unavailable / unsupported (see catalog fetch_status_values)."
},
"processed_by": {
"type": "string"
}
},
"required": [
"source",
"upstream_updated_at",
"retrieved_at",
"content_sha256",
"parser_version",
"fetch_status",
"processed_by"
],
"additionalProperties": {},
"description": "Freshness receipt for one upstream source."
},
"description": "Freshness receipts for every upstream source used."
},
"terms": {
"type": "string",
"description": "URL of the terms of service."
}
},
"required": [
"query",
"status",
"matched_by",
"entries",
"tracking_since",
"notice",
"not_covered",
"attribution",
"answered_at",
"provenance",
"terms"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢mofa_level_changes(since, country, include_notice_updates, limit)
Which countries had their Japan MOFA danger or infectious disease danger levels (or region texts) change since a given time? From this service's own observation record: old and new levels, MOFA info ids and issue dates, when we observed the change and when we last saw the old state, plus polling gaps. Only changes since tracking_since, as observed at our polling times. Free window: last 30 days (an earlier since is clamped; see history_window). Relays MOFA; no advice.
入力スキーマ
{
"type": "object",
"properties": {
"since": {
"type": "string",
"maxLength": 40,
"description": "ISO 8601 date or date-time with time zone, e.g. 2026-10-01T00:00:00Z"
},
"country": {
"description": "Optional filter: ISO alpha-2/alpha-3 or 4-digit MOFA code",
"type": "string",
"maxLength": 16
},
"include_notice_updates": {
"description": "Also list re-issued notices with the same levels and region text (default false)",
"anyOf": [
{
"type": "boolean"
},
{
"type": "string",
"enum": [
"true",
"false"
]
}
]
},
"limit": {
"description": "Maximum number of changes, 1-200 (default 100)",
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"required": [
"since"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}出力スキーマ
{
"type": "object",
"properties": {
"query": {
"type": "object",
"properties": {
"since": {
"type": "string"
}
},
"required": [
"since"
],
"additionalProperties": {}
},
"tracking_since": {
"type": [
"string",
"null"
]
},
"history_window": {
"type": "object",
"properties": {
"free_days": {
"type": "number",
"description": "Days of recorded history served free of charge."
},
"requested_since": {
"type": "string",
"description": "The since you asked for (normalized to ISO 8601)."
},
"served_since": {
"type": "string",
"description": "The since actually applied: requested_since, or the start of the free window if requested_since was earlier."
},
"clamped": {
"type": "boolean",
"description": "true when requested_since was earlier than the free window and the answer covers only the window."
},
"older_history": {
"type": "string",
"description": "Status of recorded history older than the free window."
}
},
"required": [
"free_days",
"requested_since",
"served_since",
"clamped",
"older_history"
],
"additionalProperties": {},
"description": "Free history window applied to this answer."
},
"coverage": {
"type": "object",
"properties": {
"since_before_tracking": {
"type": "boolean"
},
"note": {
"type": "string"
},
"runs_in_window": {
"type": "number"
},
"gaps_over_3h": {
"type": "array",
"items": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
}
},
"required": [
"since_before_tracking",
"note",
"runs_in_window",
"gaps_over_3h"
],
"additionalProperties": {}
},
"changes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"observed_at": {
"type": "string"
},
"last_seen_old_at": {
"type": [
"string",
"null"
]
},
"mofa_code": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"danger",
"infection"
]
},
"change_type": {
"type": "string",
"enum": [
"level_changed",
"regions_changed",
"notice_updated"
]
},
"old": {
"type": "object",
"properties": {
"levels_present": {
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 4
}
}
},
"required": [
"levels_present"
],
"additionalProperties": {}
},
"new": {
"type": "object",
"properties": {
"levels_present": {
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 4
}
}
},
"required": [
"levels_present"
],
"additionalProperties": {}
}
},
"required": [
"observed_at",
"last_seen_old_at",
"mofa_code",
"kind",
"change_type",
"old",
"new"
],
"additionalProperties": {}
},
"description": "Changes as observed at this service's polling times, oldest first."
},
"truncated": {
"type": "boolean"
},
"notice": {
"type": "string"
},
"not_covered": {
"type": "array",
"items": {
"type": "string"
}
},
"attribution": {
"type": "object",
"properties": {
"source_ja": {
"type": "string"
},
"processed_ja": {
"type": "string"
},
"source_en": {
"type": "string"
},
"terms_url": {
"type": "string"
},
"license_note": {
"type": "string"
}
},
"required": [
"source_ja",
"processed_ja",
"source_en",
"terms_url",
"license_note"
],
"additionalProperties": {}
},
"answered_at": {
"type": "string"
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "object",
"properties": {
"publisher": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"publisher",
"url"
],
"additionalProperties": {},
"description": "Publisher and URL of the upstream document or dataset."
},
"upstream_updated_at": {
"description": "Update time stated by the upstream, or null when it states none.",
"type": [
"string",
"null"
]
},
"retrieved_at": {
"description": "When this service retrieved the upstream data (null if unknown).",
"type": [
"string",
"null"
]
},
"content_sha256": {
"type": [
"string",
"null"
]
},
"parser_version": {
"type": "string"
},
"fetch_status": {
"type": "string",
"enum": [
"found",
"empty",
"stale",
"unavailable",
"unsupported"
],
"description": "found / empty / stale / unavailable / unsupported (see catalog fetch_status_values)."
},
"processed_by": {
"type": "string"
}
},
"required": [
"source",
"upstream_updated_at",
"retrieved_at",
"content_sha256",
"parser_version",
"fetch_status",
"processed_by"
],
"additionalProperties": {},
"description": "Freshness receipt for one upstream source."
},
"description": "Freshness receipts for every upstream source used."
},
"terms": {
"type": "string",
"description": "URL of the terms of service."
}
},
"required": [
"query",
"tracking_since",
"history_window",
"coverage",
"changes",
"truncated",
"notice",
"not_covered",
"attribution",
"answered_at",
"provenance",
"terms"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢get_receipt(receipt_id)
Re-fetch the stored result of a settled paid call by its receipt_id, for when the response was lost after payment. Free. Unknown or unsettled receipt ids return RECEIPT_NOT_FOUND. Results are kept for 90 days after settlement.
入力スキーマ
{
"type": "object",
"properties": {
"receipt_id": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "The receipt_id returned with a paid result (\"rcpt_\" + 64 hex characters)."
}
},
"required": [
"receipt_id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}出力スキーマ
{
"type": "object",
"properties": {
"receipt_id": {
"type": "string",
"description": "Receipt id of the settled paid call (\"rcpt_\" + 64 hex). Use with get_receipt."
},
"tool": {
"type": "string",
"description": "Name of the paid tool that produced the result."
},
"settled_at": {
"type": [
"string",
"null"
]
},
"payment": {
"type": "object",
"properties": {
"network": {
"type": [
"string",
"null"
]
},
"transaction": {
"type": [
"string",
"null"
]
}
},
"required": [
"network",
"transaction"
],
"additionalProperties": {}
},
"result": {
"description": "The stored result, exactly as returned by the paid call."
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "object",
"properties": {
"publisher": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"publisher",
"url"
],
"additionalProperties": {},
"description": "Publisher and URL of the upstream document or dataset."
},
"upstream_updated_at": {
"description": "Update time stated by the upstream, or null when it states none.",
"type": [
"string",
"null"
]
},
"retrieved_at": {
"description": "When this service retrieved the upstream data (null if unknown).",
"type": [
"string",
"null"
]
},
"content_sha256": {
"type": [
"string",
"null"
]
},
"parser_version": {
"type": "string"
},
"fetch_status": {
"type": "string",
"enum": [
"found",
"empty",
"stale",
"unavailable",
"unsupported"
],
"description": "found / empty / stale / unavailable / unsupported (see catalog fetch_status_values)."
},
"processed_by": {
"type": "string"
}
},
"required": [
"source",
"upstream_updated_at",
"retrieved_at",
"content_sha256",
"parser_version",
"fetch_status",
"processed_by"
],
"additionalProperties": {},
"description": "Freshness receipt for one upstream source."
},
"description": "Freshness receipts for every upstream source used."
},
"terms": {
"type": "string",
"description": "URL of the terms of service."
}
},
"required": [
"receipt_id",
"tool",
"settled_at",
"payment",
"result",
"provenance",
"terms"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}コミュニティ
エビデンス