Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Check if Chinese, Japanese and Korean page titles fit Google results by pixel width, not char count
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"serp-title-width": {
"command": "npx",
"args": [
"-y",
"mcp-server-serp-title-width"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add serp-title-width -- npx -y mcp-server-serp-title-widthวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"serp-title-width": {
"command": "npx",
"args": [
"-y",
"mcp-server-serp-title-width"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"serp-title-width": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-server-serp-title-width"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub adsandcode ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.0) เข้า registry 15 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Rystic
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Start, seed, clock, inspect and diff Rystic API simulators from your agent.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Check whether Chinese, Japanese and Korean page titles fit in Google search results, measured by rendered pixel width instead of character count. Ships as an MCP server (for AI agents) and a CLI (for builds and CI).
Documentation and background: adsandcode.com/en/open-source/serp-title-width
Site auditors and SEO plugins usually judge title length by counting characters, with limits around 60. That rule of thumb comes from Latin text. In the font Google uses for result titles, a CJK ideograph, a kana or a Hangul syllable is 22px wide, roughly twice an average Latin letter. Sixty of them come to 1320px, about twice the 652px desktop result column. A character-count check passes CJK titles that Google will cut in half.
Google says only that the title link is truncated as needed; its documentation gives no length in characters or pixels:
"the title link is truncated in Google Search results as needed"
(Google Search Central, "Influencing your title links in search results")
So the width has to be measured.
Measured on 2026-09-18 on google.com with the zh-TW (Traditional Chinese, Taiwan) interface, Chrome on Windows, by reading the computed style of a result title and measuring glyph advances with a canvas in the same page.
| Item | Value |
|---|---|
| Result title font | Arial 22px, line-height 28px |
| Desktop result column | 652px, the same at 1366px and 1920px viewport widths |
| Desktop truncation | done by Google's server (text cut, ... appended), not by CSS |
| Mobile | two lines, 343px per line |
| Full-width character | 22.0px (1em). Full width means East Asian Width W or F (UAX #11): ideographs, kana, Hangul, full-width punctuation, most emoji |
| Printable ASCII (U+0020-U+007E) | Arial's own advance widths, all 95 characters: for example W 20.76px, O 17.11px, A 14.67px, digits 12.24px, i 4.89px, space 6.11px |
| Other half-width characters | 12.2px (estimate, not measured) |
| Zero-width characters | 0px: U+200B-U+200D, U+2060, U+FEFF, variation selectors, emoji skin-tone modifiers |
| Emoji sequences | each grapheme cluster counts once: a family emoji, a flag or a letter with combining accents is one character |
Thresholds:
| Tier | Width | Result | Why |
|---|---|---|---|
safe | up to 572px (26 full-width characters) | pass | Conservative line. Leaves room for narrow screens and for differences between your and the title Google displays |
long | over 572px | warning | Over the conservative line, below the edge zone |
edge | over 630px | fail | Near the measured single-line limit on desktop |
cut | over 648px | fail | Wider than the desktop column: desktop results truncate it |
A digit costs about 0.56 of a full-width character, so "2026" takes the space of 2.2 ideographs. Capital letters are much wider than digits: an all-caps product name can push a title over the line that a character count, or a model that treats every Latin letter alike, says it fits.
The ASCII widths come from the font file (Arial Version 7.01 on Windows), in font units, measured with scripts/measure-arial.py and cross-checked three ways: Pillow at 2048px, the font's advance-width table read with fontTools, and measureText() on a Chrome canvas set to 22px arial. All 95 agree to within 0.0001px.
If Google changes the title font size, every number above is wrong. Open a google.com results page in the interface language you care about and run this in the browser console:
(() => { const h = document.querySelector('a h3'), s = getComputedStyle(h);
const c = document.createElement('canvas').getContext('2d'); c.font = s.fontSize + ' ' + s.fontFamily; return { font: s.fontSize + ' ' + s.fontFamily, col: h.closest('div[data-hveid],div').getBoundingClientRect().width, cjk: c.measureText('貓').width, digit: c.measureText('0').width }; })()
If cjk is no longer 22, update EM and the thresholds in src/width.ts. If the font changes, regenerate the ASCII table with python scripts/measure-arial.py path/to/font.ttf. Do not measure with Pillow at 22px directly: hinting rounds each advance to a whole pixel (W becomes 21), while browsers use the unhinted widths.
Requires Node.js 18 or later. No API keys, no network access.
{
"mcpServers": { "serp-title-width": { "command": "npx", "args": ["-y", "mcp-server-serp-title-width"] } } }
npx -y -p mcp-server-serp-title-width serp-title-width ./public
or install it once with npm install -g mcp-server-serp-title-width and run serp-title-width.
serp-title-width <file|dir> ... check <title> in .html/.htm files (directories are recursive)
serp-title-width --titles "t1" "t2" ... check title strings serp-title-width ... --json machine-readable output serp-title-width --selftest run the ruler's positive and negative controls (use alone)
Example:
$ serp-title-width --titles "家常料理食譜站|滷肉飯做法・便當菜色・120道快速晚餐" \
"旗艦手機開箱|SAMSUNG GALAXY S26 ULTRA VS GOOGLE PIXEL" "京都三天兩夜行程" Checked 3 title(s). Safe <= 572px / edge > 630px / cut > 648px (Arial 22px, measured 2026-09-18).
[FAIL] (input 2) 旗艦手機開箱|SAMSUNG GALAXY S26 ULTRA VS GOOGLE PIXEL 688.3px / 31.3 full-width characters / cut [FAIL] Cut: 688px (31.3 full-width characters), 40px over the 648px line. Desktop results will truncate it. [warn] Keyword zone (text before the first ?:、,) is 688px, wider than the 343px first line on mobile, so the line breaks inside it.
[warn] (input 1) 家常料理食譜站|滷肉飯做法・便當菜色・120道快速晚餐 564.7px / 25.7 full-width characters / safe [warn] Keyword zone (text before the first ?:、,) is 565px, wider than the 343px first line on mobile, so the line breaks inside it.
[ok] (input 3) 京都三天兩夜行程 176.0px / 8.0 full-width characters / safe
Passed 2 / must fix 1
The second title is 47 characters, under a typical 60-character limit, and 688px wide. When scanning files, only titles with a finding are listed, each with its path under the folder you gave. Check a whole site at once so boilerplate tails across pages are detected.
What is read from disk:
.html and .htm files. node_modules and anything starting with . (such as .git) are skipped, and symbolic links to folders are not followed.serp-title-width page.php.txt works. in the document head counts. Titles inside comments, , , , , and , or after the head has ended, are ignored.| Code | Meaning |
|---|---|
| 0 | Every title passes (warnings allowed) |
| 1 | At least one title must be fixed |
| 2 | The ruler failed its own controls, or bad input: unknown option, path not found, path or subfolder not readable, more than 20,000 HTML files, no found, --selftest combined with anything else |
The selftest runs before every verdict. If the ruler cannot show that it still flags known-bad titles and passes known-good ones, it gives no verdict.
| Tool | Input | What it does |
|---|---|---|
measure_titles | titles: string[] | Measures each title and checks the whole set together |
check_title_files | paths: string[] | Reads the head from local files or directories (recursive, same rules as the CLI), then runs the same checks. Read-only |
Each result has px, full_width_units (px / 22), tier, fails and warns (each finding is {rule, message}), plus boilerplate_tails for the set and a verdict of pass or fix. The server runs the selftest at startup and refuses to start if it fails.
| Rule | Level | Condition | Reason |
|---|---|---|---|
length_cut | fail | wider than 648px | Wider than the desktop column |
length_edge | fail | wider than 630px | Near the measured desktop single-line limit |
length_long | warn | wider than 572px | Over the conservative safe line |
separators | warn within 572px, fail over 572px | more than 2 of 、 , combined | In the sample behind this model, where Google cut a long zh-TW title, the cut fell on one of these marks. Small sample: treat as a heuristic. A title within the safe line is rarely shortened, so there it only warns |
question_marks | fail | more than 1 full-width ? | Editorial rule: one title, one question. Not from Google's documentation |
boilerplate_tail | fail | the phrase after the last 、 or , (4+ characters) ends more than 2 titles in the set | Google's title link documentation names boilerplate titles as a problem. Text after a colon is not counted: the same documentation suggests putting the site name at the start or end of each title, separated by a hyphen, colon or pipe, so …:Site Name on every page is the recommended pattern |
keyword_zone | warn | text before the first ? : 、 , is wider than 343px | On mobile the first line breaks inside the main keyword |
empty | fail | title is empty or whitespace | |
stuffing | fail | the same run of 2-4 CJK ideographs appears 3 or more times | Google's title link documentation advises against keyword stuffing. Runs are split greedily, so this catches literal repeats such as A|A|A, not variations |
é and – are 12.24px, “ 7.33px, ‘ 4.89px, Æ and ™ 22px.① ※ …) are counted as half width. Depending on the fallback font they can render wider. , including headings, og:title, anchor text and WebSite structured data (which carries the site name), may replace a title it considers boilerplate or inaccurate, and may omit a site name that repeats the one already shown. Text that is not in your can therefore appear in the result. A passing title is not a guarantee of what is shown. is found with patterns, not a full HTML parser. & < > " ' and numeric references are decoded; other named referตัดมาแค่ช่วงต้น อ่านต่อใน repo