@first-ch/tools-mcp 0.60.0 → 0.62.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +6 -2
  2. package/apps.mjs +26 -0
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  MCP server exposing [First CH Tools](https://tools.first-ch.com)' free web-tool logic — WCAG contrast, JP character/X-weight counting, WebP conversion, JSON-LD generation, llms.txt generation, encoding/line-ending conversion, Marp Markdown→slide rendering, Japanese/English test-data generation, text/code diffing, cron-expression explanation, Base64/data-URI encoding, URL query-parameter editing, HTML entity escaping/unescaping, JSON⇄YAML conversion, px ⇄ rem/em unit conversion, colour-code conversion with alpha compositing, MD5/SHA-1/SHA-256/SHA-384/SHA-512 hashing, JWT decoding with expiry and signature checks, User-Agent parsing with device/bot detection, bulk UUID v4 / ULID generation, aspect-ratio calculation with responsive sizing, case conversion between camelCase, snake_case and kebab-case, CSV/TSV ⇄ JSON conversion, IP/CIDR calculation with subnet splitting and IP-range reduction, business-day date calculation with Japanese public holidays, HTML-to-Markdown conversion, Japanese era ⇄ Western date conversion with age calculation, and URL-slug generation from Japanese titles — to AI agents such as Claude Code. All of those run on your machine.
4
4
 
5
- It also ships **`app_*` tools** for the 43 web apps at [apps.first-ch.com](https://apps.first-ch.com) (site checks such as GEO/AI-search readiness, meta tags, security headers, SSL certificates, DNS and email DNS, redirects, broken links, structured data, AI-crawler access, Japanese readability, and AI-assisted business-tone and LP-copy checks). Unlike the local tools, **an `app_*` tool sends its input (a URL, domain name or text) to apps.first-ch.com** and returns the JSON the app's API responds with — see [Network access, files and privacy](#network-access-files-and-privacy).
5
+ It also ships **`app_*` tools** for the 45 web apps at [apps.first-ch.com](https://apps.first-ch.com) (site checks such as GEO/AI-search readiness, meta tags, security headers, SSL certificates, DNS and email DNS, redirects, broken links, structured data, AI-crawler access, Japanese readability, and AI-assisted business-tone and LP-copy checks). Unlike the local tools, **an `app_*` tool sends its input (a URL, domain name or text) to apps.first-ch.com** and returns the JSON the app's API responds with — see [Network access, files and privacy](#network-access-files-and-privacy).
6
6
 
7
7
  日本語版は [後半セクション](#日本語) を参照してください。
8
8
 
@@ -127,6 +127,7 @@ Each `app_*` tool calls one app's public JSON API (`POST https://apps.first-ch.c
127
127
  | `app_gazou_ichijouhou` | [Photo Location Leak Check](https://apps.first-ch.com/en/gazou-ichijouhou/) — Pairs each JPEG on a page with its WordPress original (the URL without the -WIDTHxHEIGHT / -scaled suffix on the same server) and checks whether the Exif still holds the shooting location (GPS latitude and longitude). Each call judges five pairs from `offset` and returns the list of pairs (first 20), a state and reason per image and the next `offset`; call again until `next` is null. Coordinates, capture dates and image bytes are never returned, and "none" is not a guarantee. | `url`, `offset?` |
128
128
  | `app_shashin_sozai_moto` | [Photo Source List Before Switching Web Agencies (Groundwork for a License Check)](https://apps.first-ch.com/en/shashin-sozai-moto/) — Lists up to 30 photos in the img / srcset / picture tags of one page, flags file names in a stock-site format (currently AdobeStock_number only) and, for JPEGs, returns the creator, credit and copyright text in the XMP / IPTC of the first 128KB (up to 60 characters each). Each call judges ten photos from `offset` and returns the photo list, a state and reason per photo and the next `offset`; call again until `next` is null. CSS background images and images added by JavaScript are out of scope. Image bytes and the page itself are never returned, and rights or legality are not judged. | `url`, `offset?` |
129
129
  | `app_hp_sumaho_check` | [Look at Our Site on Your Phone — 3-Question Check Card](https://apps.first-ch.com/en/hp-sumaho-check/) — Reads the page's HTML and up to 3 same-site stylesheets (96KB / 2,000 rules parsed in total) for three mobile points: a tel: link for every phone number in the text, sideways scrolling (viewport width=device-width, fixed width / min-width of 900px+ on body, #wrapper and similar) and text & zoom (user-scalable=no, maximum-scale=1, body / p below 12px). Each point is `check` / `none` / `unknown` (with reasons), with locations (HTML line, CSS file and line) and fix hints, plus up to 3 yes/no questions to ask someone checking on a real phone and a share URL with `ref`. No pass/fail or score, not a judgement of real rendering; the page and CSS are never returned. | `url` |
130
+ | `app_hp_seisakuhi_url` | [Reference Site to Questions for Your Web Agency](https://apps.first-ch.com/en/hp-seisakuhi-url/) — Fetches the top page of a site you want to reference once (first 256KB) and reports 8 parts visible in its HTML: links mentioning booking and their destination hosts, how many forms and whether they have a text area / email / phone field, search box, embedded maps and map links, RSS/Atom feed links, hreflang and language switch links, same-site link text in nav and footer, and matches with the online-shop entries of the tech-stack ledger. Each comes as one line of facts with evidence (tag names / text, up to 40 characters) or "not found on the top page", plus a question to ask a web agency and the note for the end of the memo. No judgement of purpose, no prices; the page is never returned. | `url` |
130
131
  | `app_tech_detect` | [Tech Stack Detector](https://apps.first-ch.com/en/tech-detect/) — Enter a URL to infer the CMS (WordPress, Shopify, Wix, STUDIO and more), framework, CDN, analytics tags (GA4/GTM) and web fonts from HTML and header signatures — always with the evidence behind each guess. | `url` |
131
132
  | `app_gaibu_soushinsaki` | [Third-Party Tag Inventory](https://apps.first-ch.com/en/gaibu-soushinsaki/) — Fetches one page and matches the script src, img and iframe hosts and inline install snippets in its HTML against a table of 18 major analytics, advertising and social-embed services (Google, Meta, Microsoft, LinkedIn, LY Corporation, X). Returns the company count, per-service details (typical purpose, where to stop it, official source), discontinued services such as Universal Analytics, external hosts not in the table, and a CSV checklist. It only reads what is written in the HTML: it does not verify actual data transmission or legal compliance, and tags inside a tag manager are invisible. | `url` |
132
133
  | `app_wp_check` | [WordPress Quick Audit](https://apps.first-ch.com/en/wp-check/) — Enter a URL to see whether the site runs WordPress, which theme it uses, the version it announces, and whether REST API username enumeration, xmlrpc.php, author archives, the default login URL, readme.html or a debug log are exposed. Read-only GETs, never enumeration. | `url` |
@@ -146,6 +147,7 @@ Each `app_*` tool calls one app's public JSON API (`POST https://apps.first-ch.c
146
147
  | `app_ja_readability_check` | [Japanese Readability Checker](https://apps.first-ch.com/en/ja-readability-check/) — Enter a URL to check the Japanese typography of its body text: one-character orphan lines, punctuation at line start, characters per line against the 35–40 guideline and missing Japanese font fallbacks, estimated for desktop and mobile. | `url`, `cpl?` |
147
148
  | `app_faq_site_diff` | [FAQ vs Site Consistency Checker](https://apps.first-ch.com/en/faq-site-diff/) — Enter an FAQ or help page and up to three site pages to pull out prices, hours, phone numbers, dates and periods such as "within 7 days", and list every topic where the values disagree. Find outdated FAQ answers. | `faq`, `sites`[] |
148
149
  | `app_nap_check` | [Business Name, Address & Phone Consistency Checker](https://apps.first-ch.com/en/nap-check/) — Enter up to three pages of one site to pull the business name, address, phone and opening hours from the text, footer, tel: links and JSON-LD, and list formatting variants and possible mismatches between pages and structured data. Groundwork for local SEO. 10 calls per 10 minutes per IP. | `urls`[] |
150
+ | `app_shuusei_irai_memo` | [Changed Your Phone Number? Find the Old Number and Call Buttons That Still Dial It](https://apps.first-ch.com/en/shuusei-irai-memo/) — Enter your site's URL and the old and new numbers (Japanese numbers) to search up to 10 pages of the same site (robots.txt and sitemap.xml respected) for the old number in text, call-button links (tel:) and JSON-LD telephone, with the heading above and 20 characters on each side, plus a count of buttons that show the new number but dial the old one. 10 calls per 10 minutes per IP. | `url`, `old`, `new` |
149
151
  | `app_henji_kuru` | [Count LINE Attendance Replies by Pasting the Chat](https://apps.first-ch.com/en/henji-kuru/) — AI check for the replies to a LINE group attendance call (○ going / × not going / △ not sure) that do not fit the format, such as “me too” or “absent for the previous one”. Send 1–10 rows (the reply and, optionally, the message before it) and get a category (yes / no / maybe / unclear), head count and short reason per row. The server masks phone numbers, e-mail addresses, @mentions and names before さん, but mask names yourself before sending. Tallying the whole chat runs in the browser on the page, not in this API. Shares the AI rate limits. | `lines`[], `count?` |
150
152
  | `app_notice_check` | [Leftover Placeholder Text Checker](https://apps.first-ch.com/en/notice-check/) — Fetches the home page and up to 6 same-site pages from its navigation (512KB each, 12s in total) and returns leftover candidates in 6 kinds: Japanese dummy-copy phrases, placeholder values (〇〇, 【会社名】, 000-0000-0000), lorem ipsum, WordPress defaults (Hello world!, Sample Page, Just another WordPress site), demo/placehold images and links to localhost or staging. Each page gets a state (checked / unreadable for JavaScript-drawn pages / failed / limit) plus the matched text, a short excerpt and the nearest heading; unchecked pages are not counted as checked. Pages themselves are never returned. 10 calls per 10 minutes per IP. | `url` |
151
153
  | `app_site_freshness` | [Expired Notice Finder](https://apps.first-ch.com/en/site-freshness/) — Reads only the fetched HTML of the one page you enter (first 512KB, up to 8s; other pages, PDFs and JavaScript-drawn text are not checked) and returns notices still on the page after their end date: places where a date with a year (2025年12月28日, 2025/12/28, 2025.12.28) and a notice word (休業, 休診, 臨時休業, 営業時間, 開催, 説明会, キャンペーン, セール, 受付, 締切) appear in the same sentence and the end date is before today in Japan time. Periods are compared by their end date; posting dates (time elements, a date alone at the start of a list row) are left out. Each candidate has the kind, end date, days since and a 30-character excerpt on each side; dates without a year or that do not exist are listed separately and not counted. For Japanese-language pages. The page itself is never returned. 20 calls per 10 minutes per IP. | `url` |
@@ -205,7 +207,7 @@ Release rule: a push to `main` automatically publishes a new package version thr
205
207
 
206
208
  `@first-ch/tools-mcp` は、[First CH Tools](https://tools.first-ch.com)(無料Webツール集)の計算ロジック — WCAGコントラスト比・日本語文字数/Xウェイト計測・WebP変換・JSON-LD生成・llms.txt生成・文字コード/改行コード変換・Marp Markdown→スライド レンダリング・テストデータ生成・テキスト/コード差分・Cron式の解説・Base64/Data URI変換・URLパラメータの分解/編集/再構築・HTML特殊文字のエスケープ/エンティティのデコード・JSON⇄YAMLの相互変換・px⇄rem/emの単位換算とCSSの一括変換・カラーコードの相互変換とアルファ透過の合成・MD5/SHA-1/SHA-256/SHA-384/SHA-512のハッシュ生成と照合・JWTのデコードと有効期限/署名の検証・User-Agent文字列の解析とデバイス判定・UUID v4 / ULIDの一括生成・アスペクト比の計算とレスポンシブサイズの算出・camelCase / snake_case / kebab-case などの文字列ケース変換・CSV/TSV ⇄ JSON の相互変換・日数/営業日の計算(日本の祝日を内蔵)・HTML→Markdownの変換・和暦⇄西暦の変換と満年齢の計算・日本語タイトルからのURLスラッグ生成 — をAIエージェント(Claude Code等)向けMCPツールとして提供するサーバーです。これらは全て端末内で処理します。
207
209
 
208
- あわせて、[apps.first-ch.com](https://apps.first-ch.com) のWebアプリ43本(GEO・メタタグ・セキュリティヘッダー・SSL証明書・DNS/メールDNS・リダイレクト・リンク切れ・構造化データ・AIクローラー許可・和文可読性・AIによるビジネス文面/LP文言のチェックなど)を呼ぶ **`app_*` ツール**も提供します。**`app_*` ツールは入力(URL・ドメイン名・文面)を apps.first-ch.com のサーバーへ送り**、アプリの API が返した JSON を返します(端末内で完結する他のツールとはここが違います)。詳しくは [通信・ファイル・プライバシー](#通信ファイルプライバシー) を参照してください。
210
+ あわせて、[apps.first-ch.com](https://apps.first-ch.com) のWebアプリ45本(GEO・メタタグ・セキュリティヘッダー・SSL証明書・DNS/メールDNS・リダイレクト・リンク切れ・構造化データ・AIクローラー許可・和文可読性・AIによるビジネス文面/LP文言のチェックなど)を呼ぶ **`app_*` ツール**も提供します。**`app_*` ツールは入力(URL・ドメイン名・文面)を apps.first-ch.com のサーバーへ送り**、アプリの API が返した JSON を返します(端末内で完結する他のツールとはここが違います)。詳しくは [通信・ファイル・プライバシー](#通信ファイルプライバシー) を参照してください。
209
211
 
210
212
  ### インストール
211
213
 
@@ -328,6 +330,7 @@ claude mcp add firstch-tools -- npx -y @first-ch/tools-mcp
328
330
  | `app_gazou_ichijouhou` | [写真の位置情報チェック](https://apps.first-ch.com/gazou-ichijouhou/) — URLのページの JPEG と、WordPress の元画像の候補(-幅x高さ・-scaled を外した同じサーバーのURL)を組にして、Exif に撮影場所(GPS の緯度・経度)が残っていないかを調べる。1回で offset から5組を判定し、組の一覧(先頭20組)・画像ごとの状態と理由・次の offset を返す(next が null になるまで呼ぶ)。座標・撮影日時の値と画像のバイト列は返さない。「none」は安全の保証ではない。 | `url`, `offset?` |
329
331
  | `app_shashin_sozai_moto` | [制作会社の乗り換え前に写真の素材元を一覧(利用権の確認の下調べ)](https://apps.first-ch.com/shashin-sozai-moto/) — URLのページの img・srcset・picture の写真を最大30枚拾い、素材サイト形式のファイル名(現在は AdobeStock_数字 のみ)と、JPEG の先頭128KBの XMP・IPTC にある撮影者・クレジット・著作権表記(各60字まで)を返す。1回で offset から10枚を判定し、写真の一覧・写真ごとの状態と理由・次の offset を返す(next が null になるまで呼ぶ)。CSS の背景画像と JavaScript で足される画像は対象外。画像のバイト列とページの原文は返さず、権利関係や違法性は判定しない。 | `url`, `offset?` |
330
332
  | `app_hp_sumaho_check` | [うちのHP、スマホで見て3つ教えて|確認依頼カード](https://apps.first-ch.com/hp-sumaho-check/) — ページの HTML と同じサイトの CSS(最大3本・解析は合計96KB/2,000規則まで)から、①本文の電話番号ごとの tel: リンク ②横ずれ(viewport の width=device-width・body や #wrapper 等の900px以上の固定幅) ③文字と拡大(user-scalable=no・maximum-scale=1・body/p の12px未満)を check/none/unknown(理由つき)で返し、記述の位置・直し方の要点と、実機で見てもらう人に聞く「はい/いいえ」の質問(最大3問)・ref 付きの共有URLを返す。合否・点数は出さず、実機の表示の判定ではない。原文は返さない。 | `url` |
333
+ | `app_hp_seisakuhi_url` | [参考サイトのURLから、制作会社に聞くことリスト](https://apps.first-ch.com/hp-seisakuhi-url/) — 参考にしたいサイトのトップページを1回だけ取得し(先頭256KBまで)、HTMLで見えた8つの部品(予約を含むリンクと行き先のホスト・フォームの数と文章欄/メール欄/電話欄・検索欄・地図・RSS/Atom の配信リンク・hreflang と言語切替・nav と footer の同じサイトへのリンクの文言・ネットショップの台帳との一致)を、事実の1行と根拠(1件40字まで)、見つからなければ「トップページでは見つからず」で返す。部品ごとに制作会社へ聞く質問文も返す。用途の断定・金額は出さず、原文は返さない。 | `url` |
331
334
  | `app_tech_detect` | [技術スタック検出](https://apps.first-ch.com/tech-detect/) — URLのページの HTML と応答ヘッダーのシグネチャから、CMS(WordPress・Shopify・Wix・STUDIO 等)・フレームワーク・CDN・解析タグ(GA4/GTM)・Webフォントを推定し、そう判断した根拠(どこで何に合致したか)と一緒に返す。 | `url` |
332
335
  | `app_gaibu_soushinsaki` | [外部タグ棚卸し(解析・広告・SNS埋め込み)](https://apps.first-ch.com/gaibu-soushinsaki/) — URLのページを1回だけ取得し、HTMLに書かれた script の src・img・iframe の外部ホストとインラインの設置スニペットを、主要18サービス(Google・Meta・Microsoft・LinkedIn・LINEヤフー・X)の対応表と照合する。会社数・サービスごとの明細(一般的な用途・止める場所・公式資料の出典)・終了済みサービス(UA など)・表にない外部ホストと、確認用の棚卸し表(CSV)を返す。HTMLに書かれたタグだけを見るもので、実際の送信や法令への適合は判定しない(タグマネージャー経由のタグは見えない)。 | `url` |
333
336
  | `app_wp_check` | [WordPress簡易診断](https://apps.first-ch.com/wp-check/) — URLのサイトが WordPress かどうか・テーマ名・名乗っている範囲のバージョンを判定し、REST API のユーザー名列挙・xmlrpc.php・著者アーカイブ・既定のログインURL・readme.html・デバッグログの露出を診断する。攻撃的な列挙はせず GET で見える範囲だけを見る(WordPress の痕跡があるときだけ既定パス7本を追加で GET。ユーザー名は件数だけ返す)。 | `url` |
@@ -347,6 +350,7 @@ claude mcp add firstch-tools -- npx -y @first-ch/tools-mcp
347
350
  | `app_ja_readability_check` | [和文可読性チェッカー](https://apps.first-ch.com/ja-readability-check/) — URLのページの本文の日本語タイポグラフィを、PC とスマホの画面幅で推定して診断する。1文字だけの孤立行・句読点や閉じ括弧の行頭禁則・1行の文字数(35〜40字の目安)・和文フォントのフォールバック欠けを該当箇所つきで返す。ページとその CSS(8本まで)を取得する。 | `url`, `cpl?` |
348
351
  | `app_faq_site_diff` | [FAQ×サイト 記載差分チェッカー](https://apps.first-ch.com/faq-site-diff/) — FAQ・ヘルプページと本体サイトのページ(3件まで)の料金・営業時間・電話番号・日付・「〇日以内」などの記載を突き合わせ、食い違う箇所を返す。FAQ の更新漏れ探しに使う。 | `faq`, `sites`[] |
349
352
  | `app_nap_check` | [会社名・住所・電話の表記ゆれチェッカー](https://apps.first-ch.com/nap-check/) — 同じサイトのページ(3件まで・同じオリジン)の表示テキスト・フッター・tel: リンク・JSON-LD から会社名・住所・電話番号・営業時間を拾い、ページ間や構造化データとの表記ゆれ・不一致候補を返す。ローカルSEOの下調べに使う。同じIPから10分に10回まで(超えると HTTP 429)。 | `urls`[] |
353
+ | `app_shuusei_irai_memo` | [電話番号を変えた後、HPに残る旧番号と「押すと旧番号」を探す](https://apps.first-ch.com/shuusei-irai-memo/) — HPのURLと旧番号・新番号を入れると、robots.txt を守って sitemap.xml から同じサイトの最大10ページを読み、旧番号が残る本文・電話ボタンのリンク先(tel:)・JSON-LD の telephone を、直前の見出しと前後20字つきで返す。表示は新番号なのに押すと旧番号にかかるボタンの数も返す。同じIPから10分に10回まで。 | `url`・`old`・`new` |
350
354
  | `app_henji_kuru` | [LINEの出欠の返事を貼るだけで数える|出欠集計](https://apps.first-ch.com/henji-kuru/) — LINEグループの出欠確認(○=参加・×=不参加・△=未定)への返事のうち、「私も」「前の件は欠席」など型に合わない行を1〜10行受け取り、行ごとに区分(yes / no / maybe / unclear)・人数・短い理由を返す(AI)。各行は返事と任意の直前の発言。サーバーでも電話・メール・@・「〜さん」の前の名前を伏せるが、名前は送る前に伏せておく。トーク履歴全体の集計はページの端末内の処理で、この API は行わない。AI の回数制限は共通。 | `lines`[], `count?` |
351
355
  | `app_notice_check` | [公開直後のダミーテキスト・消し忘れチェック](https://apps.first-ch.com/notice-check/) — 公開URLのトップと、ナビにある同じサイトのページを最大6本(各512KB・全体12秒まで)取得し、日本語ダミー文の定型句・仮の値(〇〇・【会社名】・000-0000-0000)・lorem ipsum・WordPress の初期状態(Hello world!・サンプルページ・Just another WordPress site)・デモ/placehold 系の画像・localhost や staging へのリンクの6種類で消し忘れ候補を返す。ページごとに状態(検査済み・JavaScript で描くページ等の未検査・取得不能・12秒の上限)と、一致した語句・前後の短い抜粋・直近の見出しを返し、未検査のページは検査済みに数えない。ページの原文は返さない。同じIPから10分に10回まで。 | `url` |
352
356
  | `app_site_freshness` | [終わった告知の残り探し](https://apps.first-ch.com/site-freshness/) — 入力した1ページの取得HTMLだけ(先頭512KB・8秒まで。他ページ・PDF・JavaScript で出る本文は見ない)を読み、年付きの日付(2025年12月28日・2025/12/28・2025.12.28)と同じ文の中の告知語(休業・休診・臨時休業・営業時間・開催・説明会・キャンペーン・セール・受付・締切)がそろい、終了日が日本時間の今日より前の告知候補を返す。期間は終了日で比べ、time 要素や一覧の行頭にある掲載日は外す。候補ごとに種別・終了日・何日過ぎたか・前後30字の抜粋を返し、年なし・実在しない日付は「読めなかった日付」に分けて件数に入れない。ページの原文は返さない。同じIPから10分に20回まで。 | `url` |
package/apps.mjs CHANGED
@@ -269,6 +269,13 @@ const DEFS = [
269
269
  slow: false,
270
270
  inputSchema: { url: URL_PARAM('確かめるホームページのURL'), lang: LANG },
271
271
  },
272
+ urlApp(
273
+ 'hp-seisakuhi-url',
274
+ '/hp-seisakuhi-url/api/parts',
275
+ '参考サイトのURLから、制作会社に聞くことリスト',
276
+ '参考にしたいサイトのトップページを1回だけ取得し(先頭256KBまで)、HTMLで見えた8つの部品(予約を含むリンクと行き先のホスト・フォームの数と文章欄/メール欄/電話欄の有無・検索欄・地図の埋め込みとリンク・RSS/Atom の配信リンク・hreflang と言語切替のリンク・nav と footer の同じサイトへのリンクの文言・技術スタック台帳のネットショップとの一致)を、事実の1行・根拠(タグ名・文言。1件40字まで)・見つからなければ「トップページでは見つからず」と返す。部品ごとに制作会社へ聞く質問文と、相談メモの末尾に入れる注記も返す。用途・機能の有無は断定せず、金額・相場は出さない。ページの原文は返さない。',
277
+ { urlLabel: '参考にしたいサイトのURL' },
278
+ ),
272
279
  urlApp(
273
280
  'tech-detect',
274
281
  '/tech-detect/api/detect',
@@ -501,6 +508,25 @@ const DEFS = [
501
508
  lang: LANG,
502
509
  },
503
510
  },
511
+ {
512
+ slug: 'shuusei-irai-memo',
513
+ apiPath: '/shuusei-irai-memo/api/check',
514
+ title: '電話番号を変えた後、HPに残る旧番号と「押すと旧番号」を探す',
515
+ summary:
516
+ 'HPのURLと旧番号・新番号(日本の0始まり10〜11桁)を受け取り、robots.txt を守って sitemap.xml(無ければトップの同じホストへのリンク)から同じサイトの最大10ページ(各先頭512KB・全体20秒)を1件ずつ取得し、旧番号が残る場所を返す。' +
517
+ '比べるのは1つのテキストノードの中・tel: のリンク先・JSON-LD の telephone だけで、番号は数字だけにそろえる(全角・ハイフン・括弧を除き、+81 は 0)。別々の要素にまたがる数字はつなげない。' +
518
+ '場所ごとにページのパス・場所の種類(本文/電話ボタンのリンク先/検索エンジン向け店舗情報)・直前の見出し・見つかった表記・前後20字を返し、表示は新番号なのにリンク先が旧番号のボタンの数(mismatch)と、確認したページ n/10・取得できなかったページ・512KBで打ち切ったページの行(scopeLine)を返す。' +
519
+ '画像・PDF・スクリプトで出る文字は見ない。住所・料金・営業時間は探さない。ページの原文は返さない。同じIPから10分に10回まで(超えると HTTP 429)。',
520
+ sends: '入力したURLと旧番号・新番号',
521
+ fetches: true,
522
+ slow: true,
523
+ inputSchema: {
524
+ url: URL_PARAM('調べるHPのURL(トップページ)'),
525
+ old: z.string().min(1).max(40).describe('旧電話番号(例: 03-0123-4567。全角・括弧・+81 も可。40文字まで)'),
526
+ new: z.string().min(1).max(40).describe('新電話番号(旧番号と別の番号。40文字まで)'),
527
+ lang: LANG,
528
+ },
529
+ },
504
530
  {
505
531
  slug: 'henji-kuru',
506
532
  apiPath: '/henji-kuru/api/read',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@first-ch/tools-mcp",
3
- "version": "0.60.0",
4
- "description": "First CH Tools の計算ロジック(WCAGコントラスト比・文字数/Xウェイト・WebP変換・JSON-LD生成・llms.txt生成・文字コード/改行コード変換・Marp Markdown→スライド レンダリング・テストデータ生成・テキスト/コード差分・Cron式の解説・Base64/Data URI変換・URLパラメータの分解/再構築・HTML特殊文字のエスケープ/エンティティのデコード・JSON⇄YAMLの相互変換・px⇄rem/emの単位換算とCSSの一括変換・カラーコードの相互変換とアルファ透過の合成・MD5/SHA-1/SHA-256/SHA-384/SHA-512のハッシュ生成と照合・JWTのデコードと有効期限/署名の検証・User-Agent文字列の解析とデバイス判定・UUID v4/ULIDの一括生成・アスペクト比の計算とレスポンシブサイズの算出・TSV/CSVからMarkdownテーブルへの整形と相互変換・SQLクエリの整形と予約語の大文字化・URL/テキストからのQRコード生成・UNIXタイムスタンプと日時表記の相互変換・robots.txtの生成(AIクローラーの許可プリセット付き)・文字列のケース変換(camelCase/snake_case/kebab-case など11形式)・CSV/TSVとJSON配列の相互変換(区切りの自動判定・a.b 列と入れ子の相互展開)・全角⇄半角の変換とテキストの掃除(文字種ごとの向き指定・半角カナの合成/分解・空白と空行の整理)・IPアドレス/CIDRの計算(ネットワーク・ブロードキャスト・ホスト範囲とホスト数・IPv4/IPv6・サブネット分割・包含判定・IP範囲→最小CIDR集合の逆算)・日数/営業日の計算(2日付間の日数と営業日数・起点日+N日/N営業日の期日・締め日と支払サイトからの支払日・土日と日本の祝日を内蔵)・HTML→Markdownの変換(見出し/リスト/表/リンク/画像/コード・script/styleや装飾タグの除去・本文だけの抽出・相対URLの絶対化)・和暦⇄西暦の変換(令和〜明治・自動判定・曜日と干支・存在しない和暦の指摘・満年齢と入学/卒業の年・元号一覧と早見表)・日本語タイトルからのURLスラッグ生成(かな→ヘボン式ローマ字・記号除去・ハイフン/アンダースコア連結・小文字化・長音の省略/表記)・Basic認証用 htpasswd の生成と照合(bcrypt / apr1-md5・パスワードの自動生成・Apache / nginx の設定スニペット)・OpenAPI/Swagger仕様書から日本語のMarkdownドキュメントとTypeScript型定義の生成(OpenAPI 3.x / Swagger 2.0・YAML/JSON・$ref/allOf/oneOf 対応・エンドポイントごとの引数/レスポンス型・外部 $ref は読みに行かない)・FAQ構造化データ(FAQPage の JSON-LD・Markdown・details/summary の HTML を同時生成・回答のリンク/箇条書きを HTML 化・「Q: / A:」形式の一括貼り付けの解析)・テキストの行操作(重複行の削除・数値を認識する並べ替え・シード付きシャッフル・行番号・空行除去・前後トリム・接頭辞/接尾辞)・印刷サイズとDPIの計算(用紙×解像度×塗り足しから必要なピクセル数・手持ちの画像の実効dpiと判定・早見表・mm/inch/px/pt/級の換算)・SERPのメタタグ文字数チェック(title / description が検索結果に収まるかをピクセル幅で判定・切り詰め位置と表示行・パンくず表示・https や階層の指摘)・Flexbox / CSS GridのCSS生成(既定値を省いた宣言・repeat()への畳み込み・grid-template-areasの検証・効かない組み合わせの指摘・定番プリセット)・社内文書の点検(Notion・Confluence などから書き出した Markdown/HTML の重複ページ・孤立ページ・表記ゆれや旧称・リンク切れの検出と修正案)・記入欄に収める字の大きさと改行位置(中袋〔ご祝儀袋・香典袋〕の住所欄などの幅・高さmmから1字の大きさ・行数・改行位置・縦書きの漢数字・金額の大字)・AIが書いた返信案と届いたメールの照合(原文に無い日付・曜日・時刻・金額・数量・電話・宛名を赤、消し忘れの仮の文字を黄)・ComfyUI画像(PNG)の埋め込みデータに残ったAPIキーの形の点検(ノードIDと入力欄で場所を示し値は伏せる・持ち主へのお知らせ文・文字のチャンクを抜いたコピー)・GA4「トラフィック獲得」のCSVから AI Assistant と Organic Search の訪問をエンゲージメント率・平均エンゲージメント時間・キーイベント率で比べる集計(倍率・総計行との突き合わせ・除外した行の行番号・要約)・メールアドレス候補の読み上げ文と拍数(記号・同じ文字の連続・数字の桁数などの数え上げと欧文通話表の1文字ずつの表)・PNG/JPEG の画像の終端(IEND・本体の EOI)より後ろに付いたデータの有無とバイト数・パスポートの氏名と航空券・ESTA などのつづりの1文字ずつの照合〔違いの位置と種類〕)をMCPツールとして提供するサーバー。あわせて apps.first-ch.com のWebアプリ43本(GEO・メタタグ・セキュリティヘッダー・SSL・DNS・リダイレクト・リンク切れ・構造化データ・AIクローラー許可・和文可読性・ビジネス文面チェック等)の JSON API を呼ぶ app_* ツールも提供する(こちらは入力を apps.first-ch.com へ送るため既定では無効・FIRSTCH_ENABLE_APPS=1 で有効)",
3
+ "version": "0.62.0",
4
+ "description": "First CH Tools の計算ロジック(WCAGコントラスト比・文字数/Xウェイト・WebP変換・JSON-LD生成・llms.txt生成・文字コード/改行コード変換・Marp Markdown→スライド レンダリング・テストデータ生成・テキスト/コード差分・Cron式の解説・Base64/Data URI変換・URLパラメータの分解/再構築・HTML特殊文字のエスケープ/エンティティのデコード・JSON⇄YAMLの相互変換・px⇄rem/emの単位換算とCSSの一括変換・カラーコードの相互変換とアルファ透過の合成・MD5/SHA-1/SHA-256/SHA-384/SHA-512のハッシュ生成と照合・JWTのデコードと有効期限/署名の検証・User-Agent文字列の解析とデバイス判定・UUID v4/ULIDの一括生成・アスペクト比の計算とレスポンシブサイズの算出・TSV/CSVからMarkdownテーブルへの整形と相互変換・SQLクエリの整形と予約語の大文字化・URL/テキストからのQRコード生成・UNIXタイムスタンプと日時表記の相互変換・robots.txtの生成(AIクローラーの許可プリセット付き)・文字列のケース変換(camelCase/snake_case/kebab-case など11形式)・CSV/TSVとJSON配列の相互変換(区切りの自動判定・a.b 列と入れ子の相互展開)・全角⇄半角の変換とテキストの掃除(文字種ごとの向き指定・半角カナの合成/分解・空白と空行の整理)・IPアドレス/CIDRの計算(ネットワーク・ブロードキャスト・ホスト範囲とホスト数・IPv4/IPv6・サブネット分割・包含判定・IP範囲→最小CIDR集合の逆算)・日数/営業日の計算(2日付間の日数と営業日数・起点日+N日/N営業日の期日・締め日と支払サイトからの支払日・土日と日本の祝日を内蔵)・HTML→Markdownの変換(見出し/リスト/表/リンク/画像/コード・script/styleや装飾タグの除去・本文だけの抽出・相対URLの絶対化)・和暦⇄西暦の変換(令和〜明治・自動判定・曜日と干支・存在しない和暦の指摘・満年齢と入学/卒業の年・元号一覧と早見表)・日本語タイトルからのURLスラッグ生成(かな→ヘボン式ローマ字・記号除去・ハイフン/アンダースコア連結・小文字化・長音の省略/表記)・Basic認証用 htpasswd の生成と照合(bcrypt / apr1-md5・パスワードの自動生成・Apache / nginx の設定スニペット)・OpenAPI/Swagger仕様書から日本語のMarkdownドキュメントとTypeScript型定義の生成(OpenAPI 3.x / Swagger 2.0・YAML/JSON・$ref/allOf/oneOf 対応・エンドポイントごとの引数/レスポンス型・外部 $ref は読みに行かない)・FAQ構造化データ(FAQPage の JSON-LD・Markdown・details/summary の HTML を同時生成・回答のリンク/箇条書きを HTML 化・「Q: / A:」形式の一括貼り付けの解析)・テキストの行操作(重複行の削除・数値を認識する並べ替え・シード付きシャッフル・行番号・空行除去・前後トリム・接頭辞/接尾辞)・印刷サイズとDPIの計算(用紙×解像度×塗り足しから必要なピクセル数・手持ちの画像の実効dpiと判定・早見表・mm/inch/px/pt/級の換算)・SERPのメタタグ文字数チェック(title / description が検索結果に収まるかをピクセル幅で判定・切り詰め位置と表示行・パンくず表示・https や階層の指摘)・Flexbox / CSS GridのCSS生成(既定値を省いた宣言・repeat()への畳み込み・grid-template-areasの検証・効かない組み合わせの指摘・定番プリセット)・社内文書の点検(Notion・Confluence などから書き出した Markdown/HTML の重複ページ・孤立ページ・表記ゆれや旧称・リンク切れの検出と修正案)・記入欄に収める字の大きさと改行位置(中袋〔ご祝儀袋・香典袋〕の住所欄などの幅・高さmmから1字の大きさ・行数・改行位置・縦書きの漢数字・金額の大字)・AIが書いた返信案と届いたメールの照合(原文に無い日付・曜日・時刻・金額・数量・電話・宛名を赤、消し忘れの仮の文字を黄)・ComfyUI画像(PNG)の埋め込みデータに残ったAPIキーの形の点検(ノードIDと入力欄で場所を示し値は伏せる・持ち主へのお知らせ文・文字のチャンクを抜いたコピー)・GA4「トラフィック獲得」のCSVから AI Assistant と Organic Search の訪問をエンゲージメント率・平均エンゲージメント時間・キーイベント率で比べる集計(倍率・総計行との突き合わせ・除外した行の行番号・要約)・メールアドレス候補の読み上げ文と拍数(記号・同じ文字の連続・数字の桁数などの数え上げと欧文通話表の1文字ずつの表)・PNG/JPEG の画像の終端(IEND・本体の EOI)より後ろに付いたデータの有無とバイト数・パスポートの氏名と航空券・ESTA などのつづりの1文字ずつの照合〔違いの位置と種類〕)をMCPツールとして提供するサーバー。あわせて apps.first-ch.com のWebアプリ45本(GEO・メタタグ・セキュリティヘッダー・SSL・DNS・リダイレクト・リンク切れ・構造化データ・AIクローラー許可・和文可読性・ビジネス文面チェック等)の JSON API を呼ぶ app_* ツールも提供する(こちらは入力を apps.first-ch.com へ送るため既定では無効・FIRSTCH_ENABLE_APPS=1 で有効)",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "firstch-tools-mcp": "server.mjs"