ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

日本の給与・社会保険・労働法

โดย kishida-devilรุ่น 0.4.5i★ –iบนเครื่องหรือคลาวด์
ชื่อใน registryio.github.kishida-devil/jp-payroll-mcp

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Japan payroll & social insurance. 日本の給与計算・社会保険。47都道府県の料率、源泉所得税、割増賃金、有給、標準報酬月額の改定、最低賃金。根拠の条文つき。

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: บนเครื่องหรือคลาวด์
  • ช่องทาง (transport): stdio, Streamable HTTP
  • หมวด: อื่น ๆ

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ต้องเตรียมก่อน

  • รันบนคลาวด์ไม่ต้องลงโปรแกรมเพิ่ม ต่อผ่านอินเทอร์เน็ตได้เลย
  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

ใช้ได้ทั้ง Claude บนเว็บ แอปคอมพิวเตอร์ และมือถือ:

  1. เปิด Settings → Connectors
  2. กด Add custom connector
  3. วางที่อยู่ด้านล่างแล้วกด Add
  4. ถ้าให้ล็อกอิน ให้ล็อกอินกับผู้ทำ
SettingsConnectors1+ Add2https://…3
https://japan-payroll-api.tsumugi.workers.dev/mcp

หรือรันในเครื่องคุณ

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "jp-payroll": {
      "command": "npx",
      "args": [
        "-y",
        "jp-payroll-mcp"
      ]
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add --transport http jp-payroll https://japan-payroll-api.tsumugi.workers.dev/mcp

หรือรันในเครื่องคุณ

claude mcp add jp-payroll -- npx -y jp-payroll-mcp

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "jp-payroll": {
      "url": "https://japan-payroll-api.tsumugi.workers.dev/mcp"
    }
  }
}

หรือรันในเครื่องคุณ

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "jp-payroll": {
      "command": "npx",
      "args": [
        "-y",
        "jp-payroll-mcp"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "jp-payroll": {
      "type": "http",
      "url": "https://japan-payroll-api.tsumugi.workers.dev/mcp"
    }
  }
}

หรือรันในเครื่องคุณ

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "jp-payroll": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "jp-payroll-mcp"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ChatGPT ต่อได้เฉพาะ server ที่อยู่บนอินเทอร์เน็ต:

  1. เปิด ChatGPT บนเว็บ → Settings → Connectors (Apps)
  2. กด Create หรือ Add (บางแพ็กเกจต้องเปิด Developer mode ใน Advanced ก่อน)
  3. วางที่อยู่ด้านล่าง ตั้งชื่อ แล้วบันทึก
  4. ถ้าให้ล็อกอิน ให้ล็อกอินกับผู้ทำ
SettingsConnectors1+ Create2https://…3
https://japan-payroll-api.tsumugi.workers.dev/mcp

ชื่อเมนูอาจต่างกันเล็กน้อยตามแพ็กเกจและรุ่นของแอป

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

ยังไม่ได้อ่านรายการเครื่องมือของตัวนี้ เราตรวจ endpoint ทีละชุดวนไป

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub kishida-devil ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    endpoint ตอบ

    ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป

  • … ยังไม่ตรวจ

    ล็อกอินแบบ OAuth

    ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    ยังไม่ได้ตรวจ เราอ่านรายการเครื่องมือตอนตรวจ endpoint

เทียบกับตัวอื่นในหมวด อื่น ๆi

  • ดาวมากกว่า 0% ของอีก 32589 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 32% ของอีก 32589 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 32589 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

日本の給与・社会保険・労働法 ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

ได้ทั้งสองแบบ จะลงในเครื่องหรือต่อผ่านคลาวด์ก็ได้

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.4.5) เข้า registry 2 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT ที่เปิดโหมดนักพัฒนา

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Detailing Manager

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Spec Driven Development

โดย formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

รันบนเครื่อง★ 440MITอัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

Remote Desktop Commander

โดย desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

รันบนคลาวด์★ 211อัปเดต เมื่อวาน
ติดตั้ง

Detailing Manager

โดย RadoslavMoshev

Connect your auto detailing studio's tasks, cars, clients and revenue to Claude or ChatGPT.

รันบนเครื่องอัปเดต วันนี้
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

jp-payroll-mcp

日本の給与計算・社会保険・労務を、表を引くのではなく計算して返すAPIとMCPサーバーです。 47都道府県の保険料率、源泉所得税、標準報酬月額の決定と改定、休業中の保険料免除、 割増賃金、年次有給休暇、最低賃金、営業日計算、令和8年分の年末調整、住民税の見込み額まで。答えには根拠の条文または通知が付きます。

公表されている料額表・税額表と1セルずつ突き合わせ、変更のたびに 4,689件 の検証を実行します。

使いかたは2通り

MCPサーバー — AIアシスタントに日本語で聞く。30ツール、無料、APIキー不要。 URL を貼るだけ(remote MCP)か、npx で入れるか:

claude mcp add --transport http jp-payroll https://japan-payroll-api.tsumugi.workers.dev/mcp
claude mcp add jp-payroll -- npx -y jp-payroll-mcp

Claude.ai のカスタムコネクタ、ChatGPT、Cursor には https://japan-payroll-api.tsumugi.workers.dev/mcp を貼ります。

HTTP API — ソフトウェアに組み込む。45エンドポイント、OpenAPI 3.0、一括処理:

curl "https://japan-payroll-api.tsumugi.workers.dev/v1/payroll?prefecture=Tokyo&monthly_salary=350000&birth_date=1986-04-01"

MCPサーバーはAPIの薄い層なので、どちらも同じ答えを返します。 人が聞くのか、プログラムが聞くのかの違いです。

なぜ要るのか

自前で書くと、もっともらしく見えて間違っている数字が出ます。3月31日退職と3月30日退職では 1か月分の社会保険料が動きます(東京・40歳・月給30万円で労使合計95,130円)。4月1日生まれの人は 3月31日に40歳になるので介護保険料が1か月早く始まります。随時改定の「2等級以上」は健康保険法に 書いておらず、昭和36年保発第4号にあります。

  • 解説記事: [日本の給与計算・社会保険をAPIとMCPにしました](https://zenn.dev/kishida_devil/articles/9d5a645a105c0b)
  • MCPサーバーの詳細: [mcp/README.md](mcp/README.md)
  • 大量処理の有料プラン: RapidAPI

以下は英語の詳細仕様です。


Japanese payroll, social insurance and labour law, computed rather than looked up — premiums for all 47 prefectures, withholding tax, standard remuneration decisions and revisions, leave exemptions, minimum wage — with the statute or ministerial notice each answer rests on.

Verified against the published tables cell by cell: 4,689 assertions on every change.

Two ways in

As an MCP server, for asking questions through an AI assistant. 30 tools, free, no key. Remote (paste a URL) or local (npx):

claude mcp add --transport http jp-payroll https://japan-payroll-api.tsumugi.workers.dev/mcp
claude mcp add jp-payroll -- npx -y jp-payroll-mcp

For Claude.ai custom connectors, ChatGPT and Cursor, the URL is https://japan-payroll-api.tsumugi.workers.dev/mcp.

As an HTTP API, for building it into software. 45 endpoints, OpenAPI 3.0, batch:

curl "https://japan-payroll-api.tsumugi.workers.dev/v1/payroll?prefecture=Tokyo&monthly_salary=350000&birth_date=1986-04-01"

The MCP server is a thin layer over the API, so both give the same answers. Which you want depends on whether a person or a program is asking.

  • MCP server source and its own README: mcp/ · English
  • Live API: https://japan-payroll-api.tsumugi.workers.dev
  • OpenAPI spec: /openapi.json

Related tools

Japanese statutory MCP servers mostly *retrieve* — they hand you the text of a law and leave the reasoning to you. This one *computes*, and returns the provision it relied on. They fit together rather than compete:

"What does the law say?""So what do I pay?"
labor-law-mcp45 labour and social insurance laws, MHLW and JAISH notices—
tax-law-mcp24 tax laws, 17 NTA circulars, tribunal decisions—
hourei-mcp-serverAny Japanese law, via e-Gov—
jp-payroll-mcpThe 28 provisions it cites, in fullPremiums, withholding tax, grade revisions, exemptions

If you already run one of those, add this alongside it. An assistant with both picks the right one per question.

Why this exists

  • No consolidated API exists. Developers assemble this from 協会けんぽ, 厚生労働省 and each prefectural labour bureau separately.
  • The rules are fiddly. Premiums are computed on the *standard monthly remuneration* (a 50-grade step function), not on actual salary — except employment insurance, which uses actual salary. Pension caps at grade 32. Long-term care applies only to ages 40–64. The employee share rounds *half down* (≤ 0.50 yen truncates). Getting one of these wrong produces numbers that look plausible and are wrong.

MCP server

Source in mcp/, with its own README (日本語) · English. Test it with npm run mcp:test — it drives a real stdio transport with the real MCP client, because a tool with a broken handler still lists perfectly and only fails when something calls it.

The MCP server is free and always will be. It is a distribution channel rather than a revenue one: npm pays nothing and MCP has no billing of its own. That is deliberate — the problem was never billing, which RapidAPI already handles, but discovery, and MCP is where the traffic for Japanese statutory data measurably is.

Endpoints

EndpointDescription
GET /API info and endpoint list
Payroll and insurance
GET /v1/prefecturesAll 47 prefectures with JIS codes
GET /v1/insurance-rates?prefecture=TokyoHealth, long-term care, pension, child-support rates
GET /v1/standard-remuneration?remuneration=350000Grade lookup for a monthly amount
GET /v1/standard-remuneration/tableFull 50-grade table
GET /v1/employment-insurance?business_type=generalEmployment insurance rates
GET /v1/payroll?prefecture=Tokyo&monthly_salary=350000&age=40Full deduction breakdown
Minimum wage
GET /v1/minimum-wage?prefecture=Tokyo&date=2020-01-01Rate in effect on a date
GET /v1/minimum-wage/history?prefecture=TokyoFull history since FY2002
Calendar
GET /v1/holidays?year=2026Public holidays (or from=/to= for a range)
GET /v1/holidays/check?date=2026-01-01Holiday / weekend / business-day flags
GET /v1/business-days?from=&to=Count business days in a range
GET /v1/business-days/shift?date=&days=1Move N business days forward or back
Tax
GET /v1/consumption-tax?date=&amount=&reduced=Rate in force, optionally applied to an amount
GET /v1/consumption-tax/historyEvery rate change since 1989
Identifiers
GET /v1/corporate-number/validate?number=8700110005901法人番号 check digit (Peppol ICD 0188)
GET /v1/corporate-number/check-digit?base=700110005901Check digit for a 12-digit base number
GET /v1/invoice-number/validate?number=T8700110005901Qualified invoice registration number
Withholding tax
GET /v1/withholding-tax?taxable_amount=300000&dependants=2Monthly withholding income tax (月額表)
GET /v1/withholding-tax/daily?taxable_amount=12000&column=heiDaily table (日額表), including the 丙 column
GET /v1/withholding-tax/computer?taxable_amount=400000Same, by the formula method (電算機計算の特例)
Bonuses
GET /v1/bonus-tax?bonus=500000&previous_month_pay=350000Withholding on a bonus (賞与の算出率表)
GET /v1/bonus-insurance?prefecture=Tokyo&bonus=800000&age=40Social insurance on a bonus, with both caps
Standard remuneration decisions
GET /v1/standard-remuneration/regular?months=350000:30,352000:31,349000:30定時決定 (算定基礎) from April–June
GET /v1/standard-remuneration/revision?current_remuneration=&months=&fixed_pay_change=Is a 随時改定 (月額変更) due?
GET /v1/standard-remuneration/leave-end?kind=childcare&current_remuneration=&months=Revision on returning from leave
POST /v1/standard-remuneration/annual-average年間平均による保険者算定, for seasonal work
Year-end adjustment
POST /v1/year-end-adjustment年末調整 (令和8年分): every box of the 源泉徴収簿 from ⑦ to ㉗, plus an "if filed" estimate for medical/donation/casualty deductions
Resident tax
POST /v1/resident-tax住民税の見込み額 from last year's income and the municipality: income and per-capita levies, adjustment credit, ふるさと納税, exemptions, every prefecture's surtax
Eligibility and leave
GET /v1/eligibility?month=2026-03&left_on=2026-03-30Is a premium due in a joining or leaving month?
GET /v1/leave-exemption?kind=childcare&start=&end=Which months a maternity or childcare leave exempts
GET /v1/age-milestones?birth_date=1986-04-01When 40, 65, 70 and 75 are reached, and what changes
Batch
POST /v1/payroll/batchUp to 500 payslips in one call, with run totals
Statutes
GET /v1/statute?ref=健康保険法第43条Full text of a provision this API cites
GET /v1/statute/indexEvery provision available, with its law
include=statute_textAdd to any endpoint to attach the text of whatever it cited
Meta
GET /v1/enumsEvery accepted enum value and error code
GET /v1/data-freshnessWhat each dataset covers and when it changes next

prefecture accepts an English name (Tokyo, case-insensitive), Japanese (東京 or 東京都), or a JIS code (13).

The one call that matters

Running payroll for one employee is a single request:

curl "https://japan-payroll-api.tsumugi.workers.dev/v1/payroll?prefecture=Tokyo&monthly_salary=350000&age=40&dependants=2"
gross                    350,000

social insurance -55,750


after social insurance 294,250 <- the base withholding tax is charged on withholding income tax -4,480


net pay 289,770

That middle line is the point. Income tax is charged on pay after social insurance, not on gross pay, and deriving it by hand is the mistake this endpoint exists to stop. The response also carries the grade that was resolved, every premium split into employee and employer shares, and which bracket produced the tax — so the arithmetic can be audited rather than trusted.

Resident tax (住民税) is assessed by the municipality and notified to the employer; no API can compute it. Pass resident_tax= and it will be subtracted from net pay.

Pass income_tax=false to get social insurance only.

Before you integrate
  • GET /v1/enums lists every accepted value — business_type, column, calendar — and every error code, so they can be read at build time instead of discovered from a 400.
  • Errors carry a stable code. invalid_request and missing_parameter mean fix the call; out_of_coverage means the input was valid but falls outside what is published, which needs a different branch. Do not match on the English prose — it will change.
  • GET /v1/data-freshness tells you how current each dataset is.

Data

DatasetCoverageSource
Social insurance rates47 prefectures, FY2026 (令和8年度), effective 2026-03協会けんぽ 保険料額表
Standard remuneration table50 health grades / 32 pension gradessame
Employment insurance3 business types, FY2026, effective 2026-04-01厚生労働省
Minimum wage47 prefectures × 24 years (FY2002–FY2025)厚生労働省 地域別最低賃金
Public holidays1,067 days, 1955–2027内閣府 国民の祝日について
Consumption tax4 rate periods since 1989, with reduced rate国税庁 No.6303
Corporate number check digitalgorithm, no dataset国税庁 チェックデジットの計算
Withholding tax (monthly)231 brackets + 9 high-income anchors, 令和8年分国税庁 源泉徴収税額表
Withholding tax (formula)4 statutory tables, 令和8年分以降電算機計算の特例

All figures are extracted programmatically from the official spreadsheets — not transcribed by hand. See `scrip

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx