npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@oiyonet/kr-payroll

v1.0.0

Published

Zero-dependency deterministic 2026 Korean payroll, 4-major insurances, severance, and labor statutory calculation engine & MCP server.

Downloads

294

Readme

🇰🇷 @oiyo/kr-payroll & korea-rules-mcp

2026 대한민국 최신 노동법·급여·4대보험·세무 확정 계산 엔진 & Model Context Protocol (MCP) 서버
Zero-dependency, 100% Deterministic (Zero LLM Hallucination), Pure TypeScript/JavaScript.

License: MIT Node: >=18 Zero Dependencies 2026 Verified


💡 왜 필요한가요? (Why This Matters)

LLM(ChatGPT, Claude, Cursor)에게 한국 급여나 세무를 물어보면 100% 확률로 숫자를 지어내거나(Hallucination), 지난 연도 법령을 인용합니다. 2026년에는:

  • 최저임금: 시간당 10,320원 (고용노동부고시 제2025-47호)
  • 국민연금: 요율 9.5% 인상 (근로자 4.75%, 국민연금법 제88조)
  • 건강보험: 7.19% (근로자 3.595%, 시행령 제44조)
  • 장기요양보험: 건강보험의 13.14% (0.9448%)
  • 비과세 식대: 월 200,000원 한도

@oiyo/kr-payroll은 외부 API 통신 없이, 대한민국 공포 법령 산식을 순수 수학 알고리즘으로 1ms 만에 확정 계산합니다.


🤖 1. AI 에이전트 연동 (Claude Desktop & Cursor MCP)

Claude Desktop이나 Cursor에서 한국 노무/급여를 오차 없이 계산하도록 MCP 도구로 연결합니다.

Claude Desktop 설정 (claude_desktop_config.json)

{
  "mcpServers": {
    "korea-rules": {
      "command": "npx",
      "args": ["-y", "@oiyo/kr-payroll", "mcp"]
    }
  }
}

이제 Claude에게 *"연봉 6,000만원의 2026년 실수령액과 4대보험 공제액 계산해줘"*라고 물어보면, Claude가 calculate_salary 툴을 호출하여 1원 단위까지 정확한 결과를 반환합니다.

제공되는 MCP 도구 목록

  1. calculate_salary: 2026 연봉 기준 월 실수령액 및 4대보험, 소득세, 지방소득세 계산.
  2. calculate_severance: 법정 퇴직금 일할 계산 (근속 365일 요건 검증).
  3. calculate_weekly_holiday_pay: 주휴수당 및 주급/월급 환산.
  4. calculate_unemployment_benefit: 2026 고용보험 실업급여(구직급여) 일액 및 수급일수/총액.
  5. get_statutory_rates: 2026 최저임금 및 4대보험 최신 요율표.

💻 2. CLI 빠른 사용법

별도 설치 없이 npx로 즉시 터미널에서 계산할 수 있습니다:

# 1. 연봉 5,000만원 2026년 실수령액 계산
npx @oiyo/kr-payroll salary 50000000

# 2. 퇴직금 계산 (1일 평균임금 150,000원, 근속 730일)
npx @oiyo/kr-payroll severance 150000 730

# 3. 주휴수당 계산 (시급 10,320원, 주 40시간)
npx @oiyo/kr-payroll holiday 10320 40

# 4. 실업급여 계산 (1일 평균임금 100,000원, 가입 24개월, 만 35세)
npx @oiyo/kr-payroll unemployment 100000 24 35

# 5. 2026 법정 요율표 조회
npx @oiyo/kr-payroll rates

📦 3. TypeScript / JavaScript 라이브러리 사용법

import { calculateSalary, calculateWeeklyHolidayPay } from '@oiyo/kr-payroll';

// 2026년 실수령액 계산
const salary = calculateSalary({
  annualSalary: 50_000_000,
  monthlyNonTaxable: 200_000, // 식대 비과세
  dependentsCount: 1,
});

console.log(`월 기본급: ${salary.grossMonthlySalary}원`);
console.log(`국민연금: ${salary.nationalPension}원`);
console.log(`건강보험: ${salary.healthInsurance}원`);
console.log(`실수령액: ${salary.netMonthlySalary}원`);

// 주휴수당 계산
const holiday = calculateWeeklyHolidayPay(10_320, 40);
console.log(`주휴수당: ${holiday.weeklyHolidayPay}원`);
console.log(`총 주급: ${holiday.totalWeeklyPay}원`);

📜 라이선스 (License)

MIT License © OIYO Lab