本文へ移動

ツール一覧

どのツールも、MCPでは名前で、RESTでは対応する道筋(RESTのガイド)で使えます。すべて読み取り専用です。

この一覧は、公開中のサーバーの tools/list(取得日 2026-11-17)から作っています。

list_holidays

日本の祝日の一覧

その年の国民の祝日・休日(振替休日・国民の休日を含む)の一覧。name は内容がわかる名前、official_name は内閣府の表記。

項目型必須説明
yearinteger必須年
範囲: 1980 – 2099

check_business_day

営業日かどうかの判定

その日が営業日かどうかと、休みの理由(土日・祝日の名前・銀行の休業日・指定された休日)。reason_code は weekend・holiday・bank_closure・extra_holiday。

項目型必須説明
datestring必須日付
calendarstring任意"standard": weekends and national holidays are closed. "bank": also closed Dec 31 - Jan 3 (Japanese bank holidays). / standard:土日・祝日が休み。bank:加えて12月31日〜1月3日が休み(銀行の休業日)
値: standard | bank
extra_holidaysarray<string>任意会社独自の休み
extra_business_daysarray<string>任意休日でも営業日とする日

add_business_days

Add business days / n営業日後・前

Return the date that is N business days after (or before, if N is negative) the given date. The start date itself is not counted; e.g. 1 business day after a Friday is the next Monday unless it is a holiday. / n営業日後(nが負なら前)の日付。起算日は数えない。

項目型必須説明
datestring必須起算日
daysinteger必須営業日の数(負なら前)
範囲: -2000 – 2000
calendarstring任意"standard": weekends and national holidays are closed. "bank": also closed Dec 31 - Jan 3 (Japanese bank holidays). / standard:土日・祝日が休み。bank:加えて12月31日〜1月3日が休み(銀行の休業日)
値: standard | bank
extra_holidaysarray<string>任意会社独自の休み
extra_business_daysarray<string>任意休日でも営業日とする日

count_business_days

期間の営業日数

Count business days from start to end, inclusive of both ends. Returns 0 if start is after end. The period can be up to 3,660 days (about 10 years). / start から end までの営業日の数(両端を含む)。start が end より後なら 0。期間は3,660日(約10年)まで。

項目型必須説明
startstring必須開始日
endstring必須終了日
calendarstring任意"standard": weekends and national holidays are closed. "bank": also closed Dec 31 - Jan 3 (Japanese bank holidays). / standard:土日・祝日が休み。bank:加えて12月31日〜1月3日が休み(銀行の休業日)
値: standard | bank
extra_holidaysarray<string>任意会社独自の休み
extra_business_daysarray<string>任意休日でも営業日とする日

adjust_to_business_day

休みの日の前倒し・後ろ倒し

営業日ならその日、休みなら次(next)または前(previous)の営業日。支払日が休みのときなどに使う。

項目型必須説明
datestring必須日付
directionstring任意next = 後ろ倒し, previous = 前倒し
値: next | previous
calendarstring任意"standard": weekends and national holidays are closed. "bank": also closed Dec 31 - Jan 3 (Japanese bank holidays). / standard:土日・祝日が休み。bank:加えて12月31日〜1月3日が休み(銀行の休業日)
値: standard | bank
extra_holidaysarray<string>任意会社独自の休み
extra_business_daysarray<string>任意休日でも営業日とする日

last_business_day_of_month

月末の最終営業日

その月の最終営業日。

項目型必須説明
yearinteger必須年
範囲: 1980 – 2099
monthinteger必須月
範囲: 1 – 12
calendarstring任意"standard": weekends and national holidays are closed. "bank": also closed Dec 31 - Jan 3 (Japanese bank holidays). / standard:土日・祝日が休み。bank:加えて12月31日〜1月3日が休み(銀行の休業日)
値: standard | bank
extra_holidaysarray<string>任意会社独自の休み
extra_business_daysarray<string>任意休日でも営業日とする日

to_japanese_era

西暦から和暦

西暦の日付を和暦にする。1年目は「元年」。明治6年(1873年)1月1日から。今日より後の日付には assumes_current_era。

項目型必須説明
datestring必須日付

from_japanese_era

和暦から西暦

和暦の日付を西暦にする。元号の範囲の外(平成31年5月1日など)も年を数えて変換し、within_era が false・flags に outside_era。曜日が合わなければ weekday_mismatch。

項目型必須説明
warekistring必須和暦の日付

lookup_postal_code

郵便番号から住所

郵便番号から住所(都道府県・市区町村・町域)。日本郵便のデータ。1つの郵便番号に町域が複数あれば、すべて返す。事業所の個別郵便番号なら、事業所名と所在地を offices に返す。

項目型必須説明
postal_codestring必須郵便番号(7桁、ハイフンは任意)

search_postal_code

住所から郵便番号

都道府県・市区町村・町域(部分一致、任意)から郵便番号を探す。市区町村は正式な名前で(郡名は省いてよい)。office_name を指定すると、その市区町村の事業所の個別郵便番号を事業所名(部分一致)で探す。

項目型必須説明
prefecturestring任意都道府県(任意)
citystring必須市区町村
townstring任意町域の一部(任意)
office_namestring任意事業所名の一部(任意)

normalize_address

住所の正規化(町域まで)

住所を都道府県・市区町村・町域・残り(番地・建物名など)に分け、郵便番号の候補を返す(日本郵便のデータにあてはめる)。番地が実在するかの確認と緯度・経度はない。level:0=わからない、1=都道府県まで、2=市区町村まで(町域はわからない)、3=町域まで。

項目型必須説明
addressstring必須住所

lookup_corporate_number

法人番号から法人の情報

法人番号(13桁)から、名前・フリガナ・英語の名前・法人の種類・所在地・郵便番号・指定の日・閉鎖の日と事由・承継先を返す。国税庁の全件データ(月1回)。先頭の1桁(チェックデジット)を確かめ、合わなければ入力の誤りとして返す。インボイス(適格請求書発行事業者)の登録の確認ではない。

項目型必須説明
corporate_numberstring必須法人番号(13桁。ハイフン・空白は任意)

search_corporation_by_name

法人の名前から法人番号

名前の先頭から合う法人を探す(前方一致)。株式会社などの言葉は前後どちらにあっても無視し、全角・半角や空白の違いも吸収する。名前の途中からの検索とフリガナの検索はできない。最大100件。詳しい情報は lookup_corporate_number で。国税庁のサイトで検索対象除外の法人は入っていない。

項目型必須説明
namestring必須法人の名前の先頭(例:トヨタ自動車)
prefecturestring任意都道府県で絞り込む(任意)

運営:Momonga