@first-ch/tools-mcp 0.43.0 → 0.45.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.
- package/README.md +6 -4
- package/apps.mjs +44 -7
- 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
|
|
5
|
+
It also ships **`app_*` tools** for the 38 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
|
|
|
@@ -100,7 +100,7 @@ Each `app_*` tool calls one app's public JSON API (`POST https://apps.first-ch.c
|
|
|
100
100
|
| Tool | App and what it does | Main input |
|
|
101
101
|
| --- | --- | --- |
|
|
102
102
|
| `app_geo` | [GEO Checker](https://apps.first-ch.com/en/geo/) — Enter a URL and get a six-axis, 100-point diagnosis of how citable your site is for AI search. | `url` |
|
|
103
|
-
| `app_meta_check` | [Meta Tag & SEO Basics Check](https://apps.first-ch.com/en/meta-check/) — Enter a URL to grade its title, meta description, canonical, robots, h1, OGP, lang and viewport. Character counts and robots.txt crawlability are checked too. | `url` |
|
|
103
|
+
| `app_meta_check` | [Meta Tag & SEO Basics Check](https://apps.first-ch.com/en/meta-check/) — Enter a URL to grade its title, meta description, canonical, robots, h1, OGP, lang and viewport. Character counts and robots.txt crawlability are checked too. Pass `expected` (title / description / h1) to compare them with the served HTML. | `url`, `expected` |
|
|
104
104
|
| `app_headers` | [Security Header Grader](https://apps.first-ch.com/en/headers/) — Enter a URL to grade CSP, HSTS, X-Content-Type-Options, X-Frame-Options, Referrer-Policy and Permissions-Policy out of 100, with an A–F verdict, plain-language explanations and recommended values. | `url` |
|
|
105
105
|
| `app_ssl` | [SSL/TLS Certificate Checker](https://apps.first-ch.com/en/ssl/) — Enter a hostname and we run a real TLS handshake to read the certificate being served: expiry, days remaining, issuer, SAN and the intermediate chain, with a warning under 30 days. | `host` |
|
|
106
106
|
| `app_redirect_trace` | [Redirect Chain Tracer](https://apps.first-ch.com/en/redirect-trace/) — Enter a URL and we follow 301, 302, 307, 308 and meta refresh redirects one hop at a time, listing the status, URL and timing of each step, the final destination, and an SEO warning at three or more hops. | `url` |
|
|
@@ -117,6 +117,7 @@ Each `app_*` tool calls one app's public JSON API (`POST https://apps.first-ch.c
|
|
|
117
117
|
| `app_mixed_content` | [Mixed Content Checker](https://apps.first-ch.com/en/mixed-content/) — Enter a URL to list every http:// reference left inside an https page (img, script, link, iframe, video, source and CSS url()), with its line number, the offending tag and how to fix it. References browsers block are separated from the ones they auto-upgrade. | `url` |
|
|
118
118
|
| `app_image_audit` | [Page Image Audit](https://apps.first-ch.com/en/image-audit/) — Enter a URL to audit every img / picture on the page: format (WebP / AVIF adoption), loading=lazy, width/height attributes and alt text. For the first 30 images the real file size and served format are measured with a HEAD request. | `url` |
|
|
119
119
|
| `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?` |
|
|
120
|
+
| `app_shashin_sozai_moto` | [Photo License Check Before Switching Web Agencies](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?` |
|
|
120
121
|
| `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` |
|
|
121
122
|
| `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` |
|
|
122
123
|
| `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` |
|
|
@@ -191,7 +192,7 @@ Release rule: a push to `main` automatically publishes a new package version thr
|
|
|
191
192
|
|
|
192
193
|
`@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ツールとして提供するサーバーです。これらは全て端末内で処理します。
|
|
193
194
|
|
|
194
|
-
あわせて、[apps.first-ch.com](https://apps.first-ch.com) のWebアプリ
|
|
195
|
+
あわせて、[apps.first-ch.com](https://apps.first-ch.com) のWebアプリ38本(GEO・メタタグ・セキュリティヘッダー・SSL証明書・DNS/メールDNS・リダイレクト・リンク切れ・構造化データ・AIクローラー許可・和文可読性・AIによるビジネス文面/LP文言のチェックなど)を呼ぶ **`app_*` ツール**も提供します。**`app_*` ツールは入力(URL・ドメイン名・文面)を apps.first-ch.com のサーバーへ送り**、アプリの API が返した JSON を返します(端末内で完結する他のツールとはここが違います)。詳しくは [通信・ファイル・プライバシー](#通信ファイルプライバシー) を参照してください。
|
|
195
196
|
|
|
196
197
|
### インストール
|
|
197
198
|
|
|
@@ -287,7 +288,7 @@ claude mcp add firstch-tools -- npx -y @first-ch/tools-mcp
|
|
|
287
288
|
| ツール | アプリと内容 | 主な入力 |
|
|
288
289
|
| --- | --- | --- |
|
|
289
290
|
| `app_geo` | [GEO簡易チェッカー](https://apps.first-ch.com/geo/) — URLのページが AI検索(ChatGPT・Perplexity・Gemini・AI Overviews)に引用されやすい構造かを6軸100点で診断し、軸ごとの点数・グレード・見つかった JSON-LD の型・AIクローラーの拒否状況・改善点を返す。 | `url` |
|
|
290
|
-
| `app_meta_check` | [メタタグ・SEO基本診断](https://apps.first-ch.com/meta-check/) — URLのページの title・meta description・canonical・robots・h1・OGP・lang・viewport を取得して合否つきで返す。文字数(title 全角32字・description 100〜170字)と robots.txt
|
|
291
|
+
| `app_meta_check` | [メタタグ・SEO基本診断](https://apps.first-ch.com/meta-check/) — URLのページの title・meta description・canonical・robots・h1・OGP・lang・viewport を取得して合否つきで返す。文字数(title 全角32字・description 100〜170字)と robots.txt のクロール可否も判定する。`expected`(title・description・h1)を渡すと配信 HTML と照合する。 | `url`, `expected` |
|
|
291
292
|
| `app_headers` | [セキュリティヘッダー採点](https://apps.first-ch.com/headers/) — URLの応答の CSP・HSTS・X-Content-Type-Options・X-Frame-Options・Referrer-Policy・Permissions-Policy を100点満点で採点し、A〜Fの評価・各ヘッダーの値・解説と推奨設定例を返す。 | `url` |
|
|
292
293
|
| `app_ssl` | [SSL/TLS証明書チェッカー](https://apps.first-ch.com/ssl/) — ホスト名へサーバー側から実際に TLS 接続し、配信中の証明書の有効期限・残り日数・発行者・SAN・中間証明書のチェーンを返す(期限30日切れで警告)。接続できないときは CT ログの記録から読む。 | `host` |
|
|
293
294
|
| `app_redirect_trace` | [リダイレクトチェーン追跡](https://apps.first-ch.com/redirect-trace/) — URLから 301・302・307・308・meta refresh の転送を1ホップずつ追跡し(最大5回)、各ステップのステータス・URL・所要時間と最終到達URLを返す。3回以上の転送には SEO 上の警告を付ける。 | `url` |
|
|
@@ -304,6 +305,7 @@ claude mcp add firstch-tools -- npx -y @first-ch/tools-mcp
|
|
|
304
305
|
| `app_mixed_content` | [混在コンテンツチェッカー](https://apps.first-ch.com/mixed-content/) — https のページに残った http:// の参照(img・script・link・iframe・video・source・CSS の url())を抽出し、行番号・タグ・直し方と、ブラウザがブロックするか自動で https 化されるかを返す。見つかった http:// のURLへはアクセスしない。 | `url` |
|
|
305
306
|
| `app_image_audit` | [ページ内画像診断](https://apps.first-ch.com/image-audit/) — URLのページ内の img / picture を抽出し、フォーマット(WebP・AVIF 対応)・loading=lazy・width/height の指定・alt を診断する。先頭30枚は HEAD リクエストで実際のファイルサイズと形式まで測る。 | `url` |
|
|
306
307
|
| `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?` |
|
|
308
|
+
| `app_shashin_sozai_moto` | [HP乗り換え前の写真名義チェック](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?` |
|
|
307
309
|
| `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` |
|
|
308
310
|
| `app_tech_detect` | [技術スタック検出](https://apps.first-ch.com/tech-detect/) — URLのページの HTML と応答ヘッダーのシグネチャから、CMS(WordPress・Shopify・Wix・STUDIO 等)・フレームワーク・CDN・解析タグ(GA4/GTM)・Webフォントを推定し、そう判断した根拠(どこで何に合致したか)と一緒に返す。 | `url` |
|
|
309
311
|
| `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` |
|
package/apps.mjs
CHANGED
|
@@ -66,12 +66,27 @@ const DEFS = [
|
|
|
66
66
|
'GEO簡易チェッカー(AI検索に引用されやすいか)',
|
|
67
67
|
'URLのページが AI検索(ChatGPT・Perplexity・Gemini・AI Overviews)に引用されやすい構造かを6軸100点で診断し、軸ごとの点数・グレード・見つかった JSON-LD の型・AIクローラーの拒否状況・改善点を返す。',
|
|
68
68
|
),
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
69
|
+
{
|
|
70
|
+
...urlApp(
|
|
71
|
+
'meta-check',
|
|
72
|
+
'/meta-check/api/inspect',
|
|
73
|
+
'メタタグ・SEO基本診断',
|
|
74
|
+
'URLのページの title・meta description・canonical・robots・h1・OGP・lang・viewport を取得して合否つきで返す。文字数(title 全角32字・description 100〜170字)と robots.txt のクロール可否も判定する。' +
|
|
75
|
+
'expected に期待する title・meta description・最初の h1 を渡すと、配信中の HTML と照合した結果(一致・不一致・未検出・比較不能)を expectedComparison に返す(保存の成功や検索エンジンへの反映は判定しない)。',
|
|
76
|
+
),
|
|
77
|
+
inputSchema: {
|
|
78
|
+
url: URL_PARAM(),
|
|
79
|
+
expected: z
|
|
80
|
+
.object({
|
|
81
|
+
title: z.string().max(500).optional().describe('期待する title(500字まで)'),
|
|
82
|
+
description: z.string().max(500).optional().describe('期待する meta description(500字まで)'),
|
|
83
|
+
h1: z.string().max(500).optional().describe('期待する最初の h1(500字まで)'),
|
|
84
|
+
})
|
|
85
|
+
.optional()
|
|
86
|
+
.describe('CMS で保存したつもりの値が配信 HTML に出ているかを照合する期待値(任意・3項目の合計1500字まで)。渡さなければ従来の診断だけを返す'),
|
|
87
|
+
lang: LANG,
|
|
88
|
+
},
|
|
89
|
+
},
|
|
75
90
|
urlApp(
|
|
76
91
|
'headers',
|
|
77
92
|
'/headers/api/inspect',
|
|
@@ -130,7 +145,7 @@ const DEFS = [
|
|
|
130
145
|
'link-check',
|
|
131
146
|
'/link-check/api/inspect',
|
|
132
147
|
'リンク切れ・alt属性チェック',
|
|
133
|
-
'URLのページ内のリンク(a href)を抽出して最大40件の生死を確認し、404などのリンク切れ・空のリンク文字・target=_blank の危険な指定を返す。画像の alt の欠落・ファイル名のままの alt
|
|
148
|
+
'URLのページ内のリンク(a href)を抽出して最大40件の生死を確認し、404などのリンク切れ・空のリンク文字・target=_blank の危険な指定を返す。画像の alt の欠落・ファイル名のままの alt も一覧する。同じページを指す # リンクの行き先(id)が取得した HTML にあるかも fragments に返す。対象は渡した1ページだけ(サイト全体はクロールしない)。',
|
|
134
149
|
{ slow: true },
|
|
135
150
|
),
|
|
136
151
|
urlApp(
|
|
@@ -218,6 +233,28 @@ const DEFS = [
|
|
|
218
233
|
lang: LANG,
|
|
219
234
|
},
|
|
220
235
|
},
|
|
236
|
+
{
|
|
237
|
+
slug: 'shashin-sozai-moto',
|
|
238
|
+
apiPath: '/shashin-sozai-moto/api/check',
|
|
239
|
+
title: 'HP乗り換え前の写真名義チェック(素材サイト形式の名前・撮影者や権利者の記載)',
|
|
240
|
+
summary:
|
|
241
|
+
'URLのページの HTML にある img・srcset・picture の写真を最大30枚拾い、①ファイル名が素材サイト形式(現在は AdobeStock_数字 のみ)か(stock)、' +
|
|
242
|
+
'②JPEG だけ先頭128KBの XMP・IPTC にある撮影者・クレジット・著作権表記(credits。各60字まで・URL も文字列のまま)を返す。' +
|
|
243
|
+
'1回の呼び出しで offset から10枚を判定し、写真の一覧(ファイル名・URL・形式・stock)・各写真の状態(found=記載あり/none=JPEG を読み切って記載なし/unsupported=JPEG 以外/unknown=取得や解析が完了しない)と理由・次に呼ぶ offset(next)を返す。' +
|
|
244
|
+
'30枚すべてを調べるには next が null になるまで offset を 0・10・20 と変えて呼ぶ。31件目以降は一覧だけで未検査。CSS の背景画像と JavaScript で後から足される画像は対象外。' +
|
|
245
|
+
'画像のバイト列とページの原文は返さない。権利関係や違法性は判定しない(制作会社へ名義・譲渡・乗り換え後の利用を確かめる手がかり)。同じIPから10分に30回まで(超えると HTTP 429)。',
|
|
246
|
+
sends: '入力したURL',
|
|
247
|
+
fetches: true,
|
|
248
|
+
slow: true,
|
|
249
|
+
inputSchema: {
|
|
250
|
+
url: URL_PARAM('写真を載せているページのURL'),
|
|
251
|
+
offset: z
|
|
252
|
+
.union([z.literal(0), z.literal(10), z.literal(20)])
|
|
253
|
+
.optional()
|
|
254
|
+
.describe('何枚目から10枚を調べるか(0・10・20。既定 0)。前回の応答の next を渡す'),
|
|
255
|
+
lang: LANG,
|
|
256
|
+
},
|
|
257
|
+
},
|
|
221
258
|
{
|
|
222
259
|
slug: 'hp-sumaho-check',
|
|
223
260
|
apiPath: '/hp-sumaho-check/api/check',
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@first-ch/tools-mcp",
|
|
3
|
-
"version": "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字の大きさ・行数・改行位置・縦書きの漢数字・金額の大字))をMCPツールとして提供するサーバー。あわせて apps.first-ch.com のWebアプリ
|
|
3
|
+
"version": "0.45.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字の大きさ・行数・改行位置・縦書きの漢数字・金額の大字))をMCPツールとして提供するサーバー。あわせて apps.first-ch.com のWebアプリ38本(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"
|