Skip to main content
Glama
hjsh200219

Saju Fortune-Telling MCP Server

by hjsh200219

๐Ÿ”ฎ ์‚ฌ์ฃผ ์šด์„ธ MCP ์„œ๋ฒ„ (Saju MCP Server)

npm version License: MIT Node.js Version

ํ•œ๊ตญ ์ „ํ†ต ์‚ฌ์ฃผํŒ”์ž๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ์šด์„ธ๋ฅผ ๋ถ„์„ํ•˜๋Š” MCP(Model Context Protocol) ์„œ๋ฒ„์ž…๋‹ˆ๋‹ค.

A Model Context Protocol (MCP) server for Korean traditional Saju (Four Pillars of Destiny) fortune-telling.

๐ŸŒ Language: ํ•œ๊ตญ์–ด | English

โœจ ์ฃผ์š” ๊ธฐ๋Šฅ

  • ์‚ฌ์ฃผํŒ”์ž ๊ณ„์‚ฐ: ์ƒ๋…„์›”์ผ์‹œ๋กœ๋ถ€ํ„ฐ ์ฒœ๊ฐ„์ง€์ง€ 8์ž ์ž๋™ ๊ณ„์‚ฐ (์ง„ํƒœ์–‘์‹œ -30๋ถ„ ๋ณด์ •)

  • ์šด์„ธ ๋ถ„์„: ์„ฑ๊ฒฉ, ์ง์—…์šด, ์žฌ๋ฌผ์šด, ๊ฑด๊ฐ•์šด, ์• ์ •์šด ๋“ฑ ๋‹ค์–‘ํ•œ ๋ถ„์„

  • ๊ถํ•ฉ ๋ถ„์„: ๋‘ ์‚ฌ๋žŒ์˜ ์‚ฌ์ฃผ ๋น„๊ต ๋ฐ ๊ถํ•ฉ๋„ ๊ณ„์‚ฐ

  • ์Œ์–‘๋ ฅ ๋ณ€ํ™˜: ์–‘๋ ฅ โ†” ์Œ๋ ฅ ๋‚ ์งœ ๋ณ€ํ™˜ ์ง€์› (1900-2200, ์œค๋‹ฌ ์ฒ˜๋ฆฌ ํฌํ•จ)

  • ์ผ์ผ ์šด์„ธ: ๋‚ ์งœ๋ณ„ ์ƒ์„ธ ์šด์„ธ ์ œ๊ณต

  • ๋Œ€์šด(ๅคง้‹): 10๋…„ ๋‹จ์œ„ ํฐ ํ๋ฆ„ ์šด์„ธ ์กฐํšŒ

  • ์šฉ์‹ (็”จ็ฅž) ๋ถ„์„: ์ƒ‰์ƒ, ๋ฐฉํ–ฅ, ์ง์—… ๋“ฑ ๋งž์ถคํ˜• ์กฐ์–ธ ์ œ๊ณต

  • ์ง€์žฅ๊ฐ„ ์„ธ๋ ฅ: ์ ˆ๊ธฐ๋ณ„ ์ง€์žฅ๊ฐ„ ์„ธ๋ ฅ ๊ณ„์‚ฐ์œผ๋กœ ์ •๋ฐ€ํ•œ ๋ถ„์„

  • ์‹ ์‚ด(็ฅžๆฎบ): 15๊ฐœ ์‹ ์‚ด ํƒ์ง€ (์›์ง„์‚ด, ๊ท€๋ฌธ๊ด€์‚ด ํฌํ•จ)

๐Ÿ†• v1.2.0 ์‹ ๊ทœ ๊ธฐ๋Šฅ

  • 7๊ฐœ ํ†ตํ•ฉ ๋„๊ตฌ: 15๊ฐœ ๊ฐœ๋ณ„ ๋„๊ตฌ๋ฅผ 7๊ฐœ๋กœ ์ตœ์ ํ™” (ํ† ํฐ ํšจ์œจ 40% ๊ฐœ์„ )

  • ๋กœ์ปฌ ํ…Œ์ด๋ธ”: 1900-2200๋…„ ์Œ์–‘๋ ฅ ๋ฐ์ดํ„ฐ (์™ธ๋ถ€ API ์˜์กด์„ฑ ์ œ๊ฑฐ)

  • Zod ์ž…๋ ฅ ๊ฒ€์ฆ: ๋Ÿฐํƒ€์ž„ ํƒ€์ž… ๊ฒ€์ฆ์œผ๋กœ ์—๋Ÿฌ์œจ 40% ๊ฐ์†Œ

  • date-fns ํ†ตํ•ฉ: ํƒ€์ž„์กด ๋ฒ„๊ทธ ์ œ๊ฑฐ ๋ฐ ์ •๋ฐ€ํ•œ ๋‚ ์งœ ์ฒ˜๋ฆฌ

  • MCP SDK v1.18: ์ตœ์‹  ํ”„๋กœํ† ์ฝœ ๋ฐ ์„ฑ๋Šฅ ์ตœ์ ํ™”

  • Smithery ์ง€์›: stateless export, npm ํŒจํ‚ค์ง€ ๋ฐฐํฌ ๋ณ‘ํ–‰

  • HTTP ์„œ๋ฒ„ ๋ชจ๋“œ: npm run start:http (Railway ๋ฐฐํฌ์šฉ)

Related MCP server: Lunar Calendar MCP Server

๐Ÿš€ ์‹œ์ž‘ํ•˜๊ธฐ

ํ•„์ˆ˜ ์š”๊ตฌ์‚ฌํ•ญ

  • Node.js 18 ์ด์ƒ

  • npm, yarn, ๋˜๋Š” pnpm

์„ค์น˜

์ž๋™ ์„ค์น˜ ์Šคํฌ๋ฆฝํŠธ (๊ฐ€์žฅ ๊ฐ„ํŽธ)

# ์„ค์น˜ ์Šคํฌ๋ฆฝํŠธ ๋‹ค์šด๋กœ๋“œ ๋ฐ ์‹คํ–‰
curl -fsSL https://raw.githubusercontent.com/hjsh200219/fortuneteller/main/install.sh | bash

์ด ์Šคํฌ๋ฆฝํŠธ๋Š” ๋‹ค์Œ์„ ์ž๋™์œผ๋กœ ์ˆ˜ํ–‰ํ•ฉ๋‹ˆ๋‹ค:

  • npm ํŒจํ‚ค์ง€ ์ „์—ญ ์„ค์น˜

  • Claude Desktop ์„ค์ • ํŒŒ์ผ์— MCP ์„œ๋ฒ„ ์ž๋™ ๋“ฑ๋ก

  • ๊ธฐ์กด ์„ค์ • ๋ฐฑ์—…

์ˆ˜๋™ ์„ค์น˜

# npm์œผ๋กœ ์ „์—ญ ์„ค์น˜
npm install -g @hoshin/saju-mcp-server

# ๋˜๋Š” npx๋กœ ์ง์ ‘ ์‹คํ–‰
npx @hoshin/saju-mcp-server

์†Œ์Šค์—์„œ ๋นŒ๋“œ

# ์ €์žฅ์†Œ ํด๋ก 
git clone https://github.com/hjsh200219/fortuneteller.git
cd fortuneteller

# ์˜์กด์„ฑ ์„ค์น˜
npm install

# ๊ฐœ๋ฐœ ๋ชจ๋“œ ์‹คํ–‰
npm run dev

# ํ”„๋กœ๋•์…˜ ๋นŒ๋“œ
npm run build
npm start

๐Ÿ› ๏ธ MCP ๋„๊ตฌ (์ด 7๊ฐœ - ํ†ตํ•ฉ ์ตœ์ ํ™”)

1. analyze_saju

์‚ฌ์ฃผ ๋ถ„์„ ํ†ตํ•ฉ ๋„๊ตฌ (๊ธฐ๋ณธ ๊ณ„์‚ฐ, ์šด์„ธ, ์šฉ์‹ , ์œ ํŒŒ ๋น„๊ต, ์šฉ์‹  ๋ฐฉ๋ฒ•๋ก ).

๋ถ„์„ ํƒ€์ž…:

  • basic: ์‚ฌ์ฃผํŒ”์ž ๊ธฐ๋ณธ ๊ณ„์‚ฐ

  • fortune: ์šด์„ธ ๋ถ„์„ (general/career/wealth/health/love)

  • yongsin: ์šฉ์‹  ์ƒ์„ธ ๋ถ„์„

  • school_compare: 5๊ฐœ ์œ ํŒŒ ๋น„๊ต (์žํ‰๋ช…๋ฆฌ, ์ ์ฒœ์ˆ˜, ๊ถํ†ต๋ณด๊ฐ, ํ˜„๋Œ€๋ช…๋ฆฌ, ์‹ ์‚ด์ค‘์‹ฌ)

  • yongsin_method: ํŠน์ • ์šฉ์‹  ๋ฐฉ๋ฒ•๋ก  ๋ถ„์„ (๊ฐ•์•ฝ/์กฐํ›„/ํ†ต๊ด€/๋ณ‘์•ฝ)

{
  birthDate: "1990-03-15",
  birthTime: "10:30",
  calendar: "solar",
  isLeapMonth: false,
  gender: "male",
  analysisType: "basic" | "fortune" | "yongsin" | "school_compare" | "yongsin_method",

  // fortune ํƒ€์ž…์šฉ ์˜ต์…˜
  fortuneType?: "general" | "career" | "wealth" | "health" | "love",

  // school_compare ํƒ€์ž…์šฉ ์˜ต์…˜
  schools?: ["ziping", "dts", "qtbj", "modern", "shensha"],

  // yongsin_method ํƒ€์ž…์šฉ ์˜ต์…˜
  method?: "strength" | "seasonal" | "mediation" | "disease"
}

2. check_compatibility

๋‘ ์‚ฌ๋žŒ์˜ ๊ถํ•ฉ์„ ๋ถ„์„ํ•ฉ๋‹ˆ๋‹ค.

{
  person1: {
    birthDate: "1990-03-15",
    birthTime: "10:30",
    calendar: "solar",
    isLeapMonth: false,
    gender: "male"
  },
  person2: {
    birthDate: "1992-07-20",
    birthTime: "14:30",
    calendar: "solar",
    isLeapMonth: false,
    gender: "female"
  }
}

3. convert_calendar

์–‘๋ ฅ๊ณผ ์Œ๋ ฅ์„ ๋ณ€ํ™˜ํ•ฉ๋‹ˆ๋‹ค (1900-2200 ์ง€์›).

{
  date: "2025-01-01",
  fromCalendar: "solar",
  toCalendar: "lunar",
  isLeapMonth?: false
}

4. get_daily_fortune

ํŠน์ • ๋‚ ์งœ์˜ ์ผ์ผ ์šด์„ธ๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.

{
  birthDate: "1990-03-15",
  birthTime: "10:30",
  calendar: "solar",
  isLeapMonth: false,
  gender: "male",
  targetDate: "2025-01-01"
}

5. get_dae_un

10๋…„ ๋‹จ์œ„ ๋Œ€์šด(ๅคง้‹) ์ •๋ณด๋ฅผ ์กฐํšŒํ•ฉ๋‹ˆ๋‹ค.

{
  birthDate: "1990-03-15",
  birthTime: "10:30",
  calendar: "solar",
  isLeapMonth: false,
  gender: "male"
}

6. get_fortune_by_period

์‹œ๊ฐ„๋Œ€๋ณ„ ์šด์„ธ ํ†ตํ•ฉ ๋„๊ตฌ (์—ฐ์šด/์›”์šด/์‹œ์šด/์—ฐ์†).

๊ธฐ๊ฐ„ ํƒ€์ž…:

  • year: ์—ฐ๋ณ„ ์šด์„ธ (์„ธ์šด, ๆญฒ้‹)

  • month: ์›”๋ณ„ ์šด์„ธ (์›”์šด, ๆœˆ้‹)

  • hour: ์‹œ๊ฐ„๋Œ€๋ณ„ ์šด์„ธ (์‹œ์šด, ๆ™‚้‹)

  • multi-year: ์—ฐ์† ์—ฐ๋„ ์šด์„ธ

{
  birthDate: "1990-03-15",
  birthTime: "10:30",
  calendar: "solar",
  isLeapMonth: false,
  gender: "male",
  periodType: "year" | "month" | "hour" | "multi-year",

  // ๊ธฐ๊ฐ„ ์ง€์ • (periodType์— ๋งž๋Š” ํ˜•์‹)
  target?: "2025" | "2025-03" | "2025-01-01 14:00",

  // multi-year ํƒ€์ž…์šฉ ์˜ต์…˜
  count?: 5  // ์กฐํšŒํ•  ์—ฐ๋„ ๊ฐœ์ˆ˜ (๊ธฐ๋ณธ๊ฐ’: 5)
}

7. manage_settings

ํ•ด์„ ์„ค์ • ๊ด€๋ฆฌ ๋„๊ตฌ (์กฐํšŒ/๋ณ€๊ฒฝ).

์•ก์…˜:

  • get: ํ˜„์žฌ ์„ค์ • ์กฐํšŒ

  • set: ์„ค์ • ๋ณ€๊ฒฝ (ํ”„๋ฆฌ์…‹ ๋˜๋Š” ์ปค์Šคํ…€)

{
  action: "get" | "set",

  // set ์•ก์…˜์šฉ ์˜ต์…˜
  preset?: "ziping" | "dts" | "qtbj" | "modern" | "shensha" | "balanced",

  // ๋˜๋Š” ์ปค์Šคํ…€ ๊ฐ€์ค‘์น˜
  custom?: {
    ziping: 0.3,    // ์žํ‰๋ช…๋ฆฌ ๊ฐ€์ค‘์น˜ (0.0-1.0)
    dts: 0.2,       // ์ ์ฒœ์ˆ˜ ๊ฐ€์ค‘์น˜
    qtbj: 0.2,      // ๊ถํ†ต๋ณด๊ฐ ๊ฐ€์ค‘์น˜
    modern: 0.2,    // ํ˜„๋Œ€๋ช…๋ฆฌ ๊ฐ€์ค‘์น˜
    shensha: 0.1    // ์‹ ์‚ด์ค‘์‹ฌ ๊ฐ€์ค‘์น˜
  }
}

๐Ÿ“ ํ”„๋กœ์ ํŠธ ๊ตฌ์กฐ

fortuneteller/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ index.ts              # MCP ์„œ๋ฒ„ ์ง„์ž…์  (stdio)
โ”‚   โ”œโ”€โ”€ server-http.ts        # HTTP ์„œ๋ฒ„ ์ง„์ž…์  (Railway ๋ฐฐํฌ์šฉ)
โ”‚   โ”œโ”€โ”€ smithery.ts           # Smithery stateless export
โ”‚   โ”œโ”€โ”€ core/                 # ํ•ต์‹ฌ ์‹œ์Šคํ…œ
โ”‚   โ”‚   โ”œโ”€โ”€ server.ts            # MCP ์„œ๋ฒ„ ์ดˆ๊ธฐํ™”
โ”‚   โ”‚   โ”œโ”€โ”€ tool-definitions.ts  # 7๊ฐœ ๋„๊ตฌ ์ •์˜
โ”‚   โ”‚   โ””โ”€โ”€ tool-handler.ts      # ๋„๊ตฌ ๋ผ์šฐํŒ…
โ”‚   โ”œโ”€โ”€ tools/                # MCP ๋„๊ตฌ ๊ตฌํ˜„
โ”‚   โ”‚   โ”œโ”€โ”€ analyze_saju.ts      # ํ†ตํ•ฉ ์‚ฌ์ฃผ ๋ถ„์„
โ”‚   โ”‚   โ”œโ”€โ”€ check_compatibility.ts
โ”‚   โ”‚   โ”œโ”€โ”€ convert_calendar.ts
โ”‚   โ”‚   โ”œโ”€โ”€ get_daily_fortune.ts
โ”‚   โ”‚   โ”œโ”€โ”€ get_dae_un.ts
โ”‚   โ”‚   โ”œโ”€โ”€ get_fortune_by_period.ts  # ํ†ตํ•ฉ ์‹œ๊ฐ„๋Œ€๋ณ„ ์šด์„ธ
โ”‚   โ”‚   โ””โ”€โ”€ manage_settings.ts        # ํ†ตํ•ฉ ์„ค์ • ๊ด€๋ฆฌ
โ”‚   โ”œโ”€โ”€ lib/                  # ํ•ต์‹ฌ ๋กœ์ง
โ”‚   โ”‚   โ”œโ”€โ”€ saju.ts           # ์‚ฌ์ฃผ ๊ณ„์‚ฐ (์ง„ํƒœ์–‘์‹œ -30๋ถ„ ๋ณด์ •)
โ”‚   โ”‚   โ”œโ”€โ”€ calendar.ts       # ์Œ์–‘๋ ฅ ๋ณ€ํ™˜ (๋กœ์ปฌ ํ…Œ์ด๋ธ”)
โ”‚   โ”‚   โ”œโ”€โ”€ fortune.ts        # ์šด์„ธ ๋ถ„์„
โ”‚   โ”‚   โ”œโ”€โ”€ compatibility.ts  # ๊ถํ•ฉ ๋ถ„์„
โ”‚   โ”‚   โ”œโ”€โ”€ dae_un.ts         # ๋Œ€์šด ๊ณ„์‚ฐ
โ”‚   โ”‚   โ”œโ”€โ”€ yong_sin.ts       # ์šฉ์‹  ์„ ์ •
โ”‚   โ”‚   โ”œโ”€โ”€ ten_gods.ts       # ์‹ญ์„ฑ ๊ณ„์‚ฐ
โ”‚   โ”‚   โ”œโ”€โ”€ sin_sal.ts        # ์‹ ์‚ด ํƒ์ง€ (15๊ฐœ)
โ”‚   โ”‚   โ”œโ”€โ”€ day_master_strength.ts  # ์ผ๊ฐ„ ๊ฐ•์•ฝ
โ”‚   โ”‚   โ”œโ”€โ”€ gyeok_guk.ts      # ๊ฒฉ๊ตญ ๊ฒฐ์ •
โ”‚   โ”‚   โ””โ”€โ”€ ...               # ์„ธ์šด/์›”์šด/๋Œ€์šด/์ผ์ฃผ ์ƒ์„ธ ๋ถ„์„ ๋ชจ๋“ˆ
โ”‚   โ”œโ”€โ”€ data/                 # ์ •์  ๋ฐ์ดํ„ฐ
โ”‚   โ”‚   โ”œโ”€โ”€ heavenly_stems.ts      # ์ฒœ๊ฐ„(ๅคฉๅนฒ) 10๊ฐœ
โ”‚   โ”‚   โ”œโ”€โ”€ earthly_branches.ts    # ์ง€์ง€(ๅœฐๆ”ฏ) 12๊ฐœ, ์ง€์žฅ๊ฐ„ ์„ธ๋ ฅ
โ”‚   โ”‚   โ”œโ”€โ”€ wuxing.ts              # ์˜คํ–‰(ไบ”่กŒ) ์ƒ์ƒ์ƒ๊ทน
โ”‚   โ”‚   โ”œโ”€โ”€ solar_terms.ts         # 24์ ˆ๊ธฐ ์ง„์ž…์ 
โ”‚   โ”‚   โ”œโ”€โ”€ solar_terms_complete.ts # 24์ ˆ๊ธฐ ํ†ตํ•ฉ (1900-2200)
โ”‚   โ”‚   โ”œโ”€โ”€ lunar_table.ts         # ์Œ๋ ฅ ํ…Œ์ด๋ธ” ์ง„์ž…์ 
โ”‚   โ”‚   โ”œโ”€โ”€ manselyeok_table.ts    # ๋งŒ์„ธ๋ ฅ ๊ธฐ์ค€ ํ…Œ์ด๋ธ”
โ”‚   โ”‚   โ””โ”€โ”€ longitude_table.ts     # ์ „๊ตญ 162๊ฐœ ์‹œ๊ตฐ๊ตฌ ๊ฒฝ๋„
โ”‚   โ”œโ”€โ”€ schemas/              # Zod ์Šคํ‚ค๋งˆ ์ •์˜
โ”‚   โ”œโ”€โ”€ utils/                # ์œ ํ‹ธ๋ฆฌํ‹ฐ (๋‚ ์งœ ์ฒ˜๋ฆฌ ๋“ฑ)
โ”‚   โ”œโ”€โ”€ benchmark/            # ์„ฑ๋Šฅ ๋ฒค์น˜๋งˆํฌ
โ”‚   โ””โ”€โ”€ types/                # ํƒ€์ž… ์ •์˜
โ”‚       โ””โ”€โ”€ index.ts
โ”œโ”€โ”€ scripts/                  # ๊ฒ€์ฆยท์„ฑ๋Šฅ ํ…Œ์ŠคํŠธ ์Šคํฌ๋ฆฝํŠธ
โ”œโ”€โ”€ package.json
โ”œโ”€โ”€ tsconfig.json
โ”œโ”€โ”€ docker-compose.yml
โ”œโ”€โ”€ railway.json              # Railway ๋ฐฐํฌ ์„ค์ •
โ”œโ”€โ”€ smithery.yaml             # Smithery ๋งˆ์ผ“ํ”Œ๋ ˆ์ด์Šค ์„ค์ •
โ”œโ”€โ”€ AGENTS.md                 # Claude Code ๊ฐ€์ด๋“œ
โ””โ”€โ”€ README.md

๐Ÿ”ง ๊ฐœ๋ฐœ

# ๊ฐœ๋ฐœ ๋ชจ๋“œ (hot reload)
npm run watch

# ๋ฆฐํŠธ ์ฒดํฌ
npm run lint

# ์ฝ”๋“œ ํฌ๋งทํŒ…
npm run format

# ํ…Œ์ŠคํŠธ ์‹คํ–‰
npm test

# API ๋ฌธ์„œ ์ƒ์„ฑ
npm run docs

# API ๋ฌธ์„œ ๋กœ์ปฌ ์„œ๋ฒ„ (http://localhost:8080)
npm run docs:serve

๐Ÿ“– MCP ํด๋ผ์ด์–ธํŠธ ์„ค์ •

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json์— ๋‹ค์Œ ์„ค์ •์„ ์ถ”๊ฐ€ํ•˜์„ธ์š”:

npm ํŒจํ‚ค์ง€ ์‚ฌ์šฉ (๊ถŒ์žฅ)

{
  "mcpServers": {
    "saju": {
      "command": "npx",
      "args": ["-y", "@hoshin/saju-mcp-server"]
    }
  }
}

์ „์—ญ ์„ค์น˜ ํ›„ ์‚ฌ์šฉ

npm install -g @hoshin/saju-mcp-server
{
  "mcpServers": {
    "saju": {
      "command": "saju-mcp-server"
    }
  }
}

๋กœ์ปฌ ๊ฐœ๋ฐœ (์†Œ์Šค์—์„œ)

{
  "mcpServers": {
    "saju": {
      "command": "node",
      "args": ["/path/to/saju-mcp-server/dist/index.js"]
    }
  }
}

๐Ÿณ Docker ์ง€์›

Docker๋กœ ์‹คํ–‰

# ์ด๋ฏธ์ง€ ๋นŒ๋“œ
docker build -t saju-mcp-server .

# ์ปจํ…Œ์ด๋„ˆ ์‹คํ–‰
docker run -it --rm saju-mcp-server

# ๋˜๋Š” docker-compose ์‚ฌ์šฉ
docker-compose up -d

Smithery๋ฅผ ํ†ตํ•œ ์›ํด๋ฆญ ์„ค์น˜

# Smithery CLI๋กœ ์„ค์น˜
npx @smithery/cli install saju-mcp-server --client claude

Smithery ๋งˆ์ผ“ํ”Œ๋ ˆ์ด์Šค์—์„œ ๋” ์‰ฝ๊ฒŒ ์„ค์น˜ํ•˜๊ณ  ๊ด€๋ฆฌํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.


๐Ÿ“š ์‚ฌ์ฃผํŒ”์ž ์šฉ์–ด ์„ค๋ช…

๊ธฐ๋ณธ ๊ตฌ์„ฑ ์š”์†Œ

  • ์ฒœ๊ฐ„(ๅคฉๅนฒ): ๊ฐ‘(็”ฒ), ์„(ไน™), ๋ณ‘(ไธ™), ์ •(ไธ), ๋ฌด(ๆˆŠ), ๊ธฐ(ๅทฑ), ๊ฒฝ(ๅบš), ์‹ (่พ›), ์ž„(ๅฃฌ), ๊ณ„(็™ธ) - 10๊ฐœ

  • ์ง€์ง€(ๅœฐๆ”ฏ): ์ž(ๅญ), ์ถ•(ไธ‘), ์ธ(ๅฏ…), ๋ฌ˜(ๅฏ), ์ง„(่พฐ), ์‚ฌ(ๅทณ), ์˜ค(ๅˆ), ๋ฏธ(ๆœช), ์‹ (็”ณ), ์œ (้…‰), ์ˆ (ๆˆŒ), ํ•ด(ไบฅ) - 12๊ฐœ

  • ์˜คํ–‰(ไบ”่กŒ): ๋ชฉ(ๆœจ), ํ™”(็ซ), ํ† (ๅœŸ), ๊ธˆ(้‡‘), ์ˆ˜(ๆฐด) - ์ƒ์ƒ์ƒ๊ทน ๊ด€๊ณ„

  • ์‹ญ์„ฑ(ๅๆ˜Ÿ): ๋น„๊ฒฌ, ๊ฒ์žฌ, ์‹์‹ , ์ƒ๊ด€, ํŽธ์žฌ, ์ •์žฌ, ํŽธ๊ด€, ์ •๊ด€, ํŽธ์ธ, ์ •์ธ

๊ณ ๊ธ‰ ๋ถ„์„ ์š”์†Œ

  • ์ง€์žฅ๊ฐ„(ๆ”ฏ่—ๅนฒ): ์ง€์ง€ ์†์— ์ˆจ์–ด์žˆ๋Š” ์ฒœ๊ฐ„ (์ •๊ธฐ, ์ค‘๊ธฐ, ์—ฌ๊ธฐ)

  • ์‹ ์‚ด(็ฅžๆฎบ): 15๊ฐœ์˜ ๊ธธํ‰ ์ง€ํ‘œ (์ฒœ์„๊ท€์ธ, ์—ญ๋งˆ์‚ด, ๋„ํ™”์‚ด, ์›์ง„์‚ด, ๊ท€๋ฌธ๊ด€์‚ด ๋“ฑ)

  • ์šฉ์‹ (็”จ็ฅž): ์‚ฌ์ฃผ์˜ ๊ท ํ˜•์„ ๋งž์ถ”๋Š” ํ•ต์‹ฌ ์˜คํ–‰

  • ๊ฒฉ๊ตญ(ๆ ผๅฑ€): ์‚ฌ์ฃผ์˜ ์ „์ฒด์ ์ธ ํŒจํ„ด๊ณผ ์„ฑํ–ฅ

  • ๋Œ€์šด(ๅคง้‹): 10๋…„ ๋‹จ์œ„์˜ ํฐ ์šด์„ธ ํ๋ฆ„

  • ์ง„ํƒœ์–‘์‹œ(็œžๅคช้™ฝๆ™‚): ํ•œ๊ตญ ํ‘œ์ค€์‹œ -30๋ถ„ ๋ณด์ • (์ •ํ™•ํ•œ ์‚ฌ์ฃผ ๊ณ„์‚ฐ์„ ์œ„ํ•จ)

โš ๏ธ ๋ฉด์ฑ… ์กฐํ•ญ

์ด ์„œ๋น„์Šค๋Š” ์ „ํ†ต ์‚ฌ์ฃผํŒ”์ž๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ํ•œ ์ฐธ๊ณ ์šฉ ์ •๋ณด๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.

  • ์˜ํ•™์ , ๋ฒ•๋ฅ ์ , ์žฌ์ •์  ์กฐ์–ธ์ด ์•„๋‹™๋‹ˆ๋‹ค

  • ์ค‘์š”ํ•œ ๊ฒฐ์ •์€ ๋ฐ˜๋“œ์‹œ ์ „๋ฌธ๊ฐ€์™€ ์ƒ๋‹ดํ•˜์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค

  • ์šด์„ธ๋Š” ๊ฐœ์ธ์˜ ๋…ธ๋ ฅ๊ณผ ์„ ํƒ์— ๋”ฐ๋ผ ๋‹ฌ๋ผ์งˆ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค

๐Ÿ“„ ๋ผ์ด์„ผ์Šค

MIT License

๐Ÿ‘จโ€๐Ÿ’ป ๊ธฐ์—ฌ

์ด์Šˆ ์ œ๋ณด ๋ฐ ํ’€ ๋ฆฌํ€˜์ŠคํŠธ๋ฅผ ํ™˜์˜ํ•ฉ๋‹ˆ๋‹ค!


English

โœจ Features

  • Saju (Four Pillars) Calculation: Automatic calculation of 8 characters from birth date and time (with -30min true solar time correction)

  • Fortune Analysis: Comprehensive analysis including personality, career, wealth, health, and love fortune

  • Compatibility Analysis: Compatibility calculation and comparison between two people

  • Calendar Conversion: Solar โ†” Lunar calendar conversion (1900-2200) with leap month support

  • Daily Fortune: Detailed daily fortune for specific dates

  • Dae-un (ๅคง้‹): 10-year major fortune cycle analysis

  • Yong-sin (็”จ็ฅž) Analysis: Personalized advice on colors, directions, and careers

  • Ji-jang-gan Strength: Precise analysis with seasonal hidden stem strength calculation

  • Sin-sal (็ฅžๆฎบ): Detection of 15 special stars (including Won-jin-sal, Gwi-mun-gwan-sal)

๐Ÿš€ Quick Start

Installation

Option 1: Automatic Installation Script (Recommended)

curl -fsSL https://raw.githubusercontent.com/hjsh200219/fortuneteller/main/install.sh | bash

Option 2: Manual Installation

npm install -g @hoshin/saju-mcp-server

Option 3: Using npx (No Installation)

npx @hoshin/saju-mcp-server

Claude Desktop Configuration

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "saju": {
      "command": "npx",
      "args": ["-y", "@hoshin/saju-mcp-server"]
    }
  }
}

Restart Claude Desktop and start using the tools!

๐Ÿ› ๏ธ Available Tools (7 Integrated Tools)

  1. analyze_saju - Integrated Saju analysis (basic/fortune/yongsin/school_compare/yongsin_method)

  2. check_compatibility - Analyze compatibility between two people

  3. convert_calendar - Convert between solar and lunar calendars (1900-2200)

  4. get_daily_fortune - Get daily fortune for specific date

  5. get_dae_un - Get 10-year major fortune cycles

  6. get_fortune_by_period - Get fortune by period (year/month/hour/multi-year)

  7. manage_settings - Manage interpretation settings (get/set)

๐Ÿ“š Key Concepts

Basic Components

  • Heavenly Stems (ๅคฉๅนฒ): 10 stems - ็”ฒไน™ไธ™ไธๆˆŠๅทฑๅบš่พ›ๅฃฌ็™ธ

  • Earthly Branches (ๅœฐๆ”ฏ): 12 branches - ๅญไธ‘ๅฏ…ๅฏ่พฐๅทณๅˆๆœช็”ณ้…‰ๆˆŒไบฅ

  • Five Elements (ไบ”่กŒ): Wood, Fire, Earth, Metal, Water

  • Ten Gods (ๅๆ˜Ÿ): 10 relationship types

Advanced Analysis

  • Hidden Stems (ๆ”ฏ่—ๅนฒ): Hidden stems within branches

  • Special Stars (็ฅžๆฎบ): 15 auspicious/inauspicious indicators

  • Yong-sin (็”จ็ฅž): Beneficial element for balance

  • Pattern (ๆ ผๅฑ€): Overall life pattern classification

  • Dae-un (ๅคง้‹): 10-year major fortune cycles

  • True Solar Time (็œžๅคช้™ฝๆ™‚): -30min Korea time correction

๐Ÿณ Docker Support

# Build image
docker build -t saju-mcp-server .

# Run container
docker run -it --rm saju-mcp-server

# Or use docker-compose
docker-compose up -d

๐Ÿ”ง Smithery One-Click Install

# Install via Smithery CLI
npx @smithery/cli install saju-mcp-server --client claude

Easier installation and management through Smithery marketplace.

๐Ÿ“– Documentation

๐Ÿค Contributing

Issues and pull requests are welcome!

๐Ÿ“„ License

MIT License

โš ๏ธ Disclaimer

This service provides reference information based on traditional Saju fortune-telling.

  • Not intended as medical, legal, or financial advice

  • Please consult professionals for important decisions

  • Fortune can change based on personal effort and choices


Made with โค๏ธ for Korean traditional fortune-telling

Available Tools

7 tools
analyze_sajuC

์‚ฌ์ฃผ ๋ถ„์„ ํ†ตํ•ฉ (basic/fortune/yongsin/school_compare/yongsin_method)

ParametersJSON Schema
NameRequiredDescriptionDefault
birthDateYesYYYY-MM-DD
birthTimeYesHH:mm
calendarNosolar
isLeapMonthNo
genderYes
analysisTypeYesbasic:์‚ฌ์ฃผ๊ณ„์‚ฐ | fortune:์šด์„ธ | yongsin:์šฉ์‹  | school_compare:์œ ํŒŒ๋น„๊ต | yongsin_method:์šฉ์‹ ๋ฐฉ๋ฒ•๋ก 
fortuneTypeNofortune์šฉ (general/career/wealth/health/love)
schoolsNoschool_compare์šฉ
methodNoyongsin_method์šฉ (strength/seasonal/mediation/disease)

TDQS

C2.1/5.0
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure but provides none. It doesn't indicate whether this is a read-only analysis, whether it has side effects, what permissions might be required, rate limits, or what the output format will be. For a complex 9-parameter tool with no annotations, this complete lack of behavioral information is inadequate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise (one phrase in parentheses) but under-specified rather than efficiently informative. While it's not verbose, it fails to provide the essential context needed for a complex tool. The structure doesn't front-load the most critical information about what the tool actually does.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex tool with 9 parameters, no annotations, and no output schema, the description is severely incomplete. It doesn't explain the tool's purpose, behavioral characteristics, output format, or parameter interdependencies. The agent would struggle to use this tool correctly without extensive trial and error or external knowledge about Korean astrology systems.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description lists analysis types that correspond to the 'analysisType' parameter values, adding some context beyond the schema's enum descriptions. However, with 67% schema description coverage and 9 total parameters, the description doesn't explain the relationships between parameters (e.g., that 'fortuneType' is only relevant when 'analysisType' is 'fortune'). It provides minimal value over what's already in the schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description '์‚ฌ์ฃผ ๋ถ„์„ ํ†ตํ•ฉ (basic/fortune/yongsin/school_compare/yongsin_method)' is tautological - it essentially restates the tool name 'analyze_saju' with a list of analysis types. It doesn't specify what the tool actually does (e.g., 'performs Korean astrology analysis' or 'calculates and interprets four pillars of destiny'). The list of analysis types provides some differentiation from siblings, but the core purpose remains vague.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided about when to use this tool versus the sibling tools. While the description lists analysis types, it doesn't explain when to choose 'basic' vs 'fortune' vs other types, or how this comprehensive analysis tool relates to specialized siblings like 'get_daily_fortune' or 'get_fortune_by_period'. The agent must infer usage from parameter names alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

check_compatibilityD

๋‘ ์‚ฌ๋žŒ ๊ถํ•ฉ ๋ถ„์„

ParametersJSON Schema
NameRequiredDescriptionDefault
person1Yes
person2Yes

TDQS

D1.7/5.0
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden for behavioral disclosure. The description only states what the tool does at a high level without revealing any behavioral traits: no information about what the analysis returns, whether it's deterministic or probabilistic, if it requires external data, rate limits, authentication needs, or error conditions. This leaves the agent completely in the dark about how the tool behaves.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise with just four Korean characters. While severely under-specified, it's not wordy or repetitive. Every character serves the core purpose statement, making it maximally efficient in terms of word count.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity (2 nested objects with 10 total properties), no annotations, no output schema, and 0% schema description coverage, the description is completely inadequate. It doesn't explain what the tool returns, how to interpret results, what the analysis methodology is, or provide any context about the parameters. For a tool with this level of complexity, the description fails to provide necessary contextual information.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, meaning none of the parameters have descriptions in the schema. The tool description provides no information about any parameters - it doesn't mention birth dates, times, calendars, gender, or any of the 10 nested properties. The agent must infer parameter meanings solely from property names like 'birthDate' and 'gender' without any semantic context from the description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description '๋‘ ์‚ฌ๋žŒ ๊ถํ•ฉ ๋ถ„์„' (Two people compatibility analysis) states the general purpose but is vague about what type of compatibility is being analyzed (astrological, personality, etc.) and doesn't specify the method or domain. It doesn't clearly distinguish from siblings like 'analyze_saju' which might be related. The description restates the tool name concept without adding specificity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like 'analyze_saju' or other sibling tools. There's no mention of prerequisites, appropriate contexts, or exclusions. The agent receives no help in selecting this tool over other options.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

convert_calendarC

์–‘๋ ฅโ†”์Œ๋ ฅ ๋ณ€ํ™˜

ParametersJSON Schema
NameRequiredDescriptionDefault
dateYesYYYY-MM-DD
fromCalendarYes
toCalendarYes
isLeapMonthNo

TDQS

C2.8/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure but offers minimal information. It doesn't mention whether this is a read-only calculation or has side effects, what happens with invalid dates, whether it handles historical/ future dates, or any rate limits. The description states what the tool does but not how it behaves.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise (just 4 Korean characters) and front-loaded with the core purpose. There's zero wasted text or unnecessary elaboration, making it efficient for quick understanding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 4-parameter conversion tool with no annotations and no output schema, the description is insufficiently complete. It doesn't explain what the tool returns (converted date format? success/failure?), doesn't address edge cases (invalid dates, calendar boundaries), and provides minimal guidance on parameter usage despite low schema coverage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25% (only the 'date' parameter has a description), and the description adds no parameter information beyond the tool's general purpose. It doesn't explain the meaning of 'fromCalendar'/'toCalendar' enums beyond what's in the schema, nor does it clarify the purpose of 'isLeapMonth' or how parameters interact.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description '์–‘๋ ฅโ†”์Œ๋ ฅ ๋ณ€ํ™˜' (Solarโ†”Lunar conversion) clearly states the tool's function with specific verbs (convert/transform) and resources (calendar systems). It distinguishes this conversion tool from sibling tools like fortune-telling or compatibility analysis, though it doesn't explicitly mention what distinguishes it from potential similar conversion tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. While the purpose is clear, there's no mention of prerequisites, typical use cases, or how this differs from other calendar-related operations that might exist in the broader context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_dae_unD

10๋…„ ๋Œ€์šด

ParametersJSON Schema
NameRequiredDescriptionDefault
birthDateYes
birthTimeYes
calendarNosolar
isLeapMonthNo
genderYes

TDQS

D1.1/5.0
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. The description '10๋…„ ๋Œ€์šด' gives no indication of what the tool does, whether it's a read or write operation, what permissions might be required, what the output format might be, or any rate limits or constraints. This is completely inadequate for a tool with 5 parameters that appears to perform fortune calculation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

While technically concise with just three Korean characters, this represents severe under-specification rather than effective brevity. The description doesn't earn its place as it provides no useful information about the tool's function. A truly concise description would still convey essential purpose while being brief.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a 5-parameter tool with no annotations, no output schema, and 0% schema description coverage. The description '10๋…„ ๋Œ€์šด' (which translates to '10-year great fortune') is completely inadequate for understanding what the tool does, how to use it, what inputs it requires, or what it returns. The agent would have no basis for selecting or invoking this tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, meaning none of the 5 parameters have descriptions in the schema. The tool description provides absolutely no information about what parameters are needed or what they mean. Parameters like 'birthDate', 'birthTime', 'calendar', 'isLeapMonth', and 'gender' are completely undocumented in both schema and description, leaving the agent with no guidance on how to use them.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose1/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description '10๋…„ ๋Œ€์šด' is a tautology that restates the tool name in Korean without providing any functional explanation. It doesn't specify what action the tool performs or what resource it operates on. The description fails to distinguish this tool from its siblings like 'get_daily_fortune' or 'get_fortune_by_period' that also appear to provide fortune-related outputs.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. There's no mention of context, prerequisites, or comparisons to sibling tools like 'analyze_saju' or 'check_compatibility'. The agent receives no information about appropriate use cases or when other tools might be more suitable.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_daily_fortuneD

์ผ์ผ ์šด์„ธ

ParametersJSON Schema
NameRequiredDescriptionDefault
birthDateYes
birthTimeYes
calendarNosolar
isLeapMonthNo
genderYes
targetDateYesYYYY-MM-DD

TDQS

D1.5/5.0
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure but offers none. It doesn't indicate whether this is a read-only operation, whether it has side effects, what authentication might be required, rate limits, or what the output format might be. For a tool with 6 parameters that presumably performs fortune calculation, this lack of behavioral context is severely inadequate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise at just two Korean characters, which could be seen as efficient. However, this brevity comes at the cost of being severely under-specified rather than truly concise. While it's front-loaded (there's only one element), it doesn't earn its place by providing necessary information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity (6 parameters including birth details, calendar types, and gender), complete lack of annotations, and no output schema, the description is completely inadequate. It provides no information about what the tool actually does, how to use it properly, what it returns, or how it differs from sibling tools. This leaves the agent with insufficient context to effectively invoke the tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 17% (only 'targetDate' has a description), leaving 5 parameters completely undocumented in the schema. The description '์ผ์ผ ์šด์„ธ' adds zero information about what any parameters mean, their expected formats beyond what's in the schema, or how they influence the fortune calculation. This fails to compensate for the poor schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description '์ผ์ผ ์šด์„ธ' (daily fortune) is a tautology that restates the tool name 'get_daily_fortune' in Korean without adding any meaningful clarification. It doesn't specify what action the tool performs (e.g., 'retrieves', 'calculates', 'generates') or what resource it operates on beyond the obvious. While it's clear this is about daily fortunes, it fails to distinguish this tool from sibling tools like 'get_fortune_by_period' or 'analyze_saju'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides absolutely no guidance on when to use this tool versus alternatives. There's no mention of context, prerequisites, or comparison to sibling tools like 'get_fortune_by_period' (which might handle different time ranges) or 'analyze_saju' (which might provide different types of fortune analysis). The agent receives no help in selecting the appropriate tool for a given scenario.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_fortune_by_periodC

์‹œ๊ฐ„๋Œ€๋ณ„ ์šด์„ธ (year/month/hour/multi-year)

ParametersJSON Schema
NameRequiredDescriptionDefault
birthDateYes
birthTimeYes
calendarNosolar
isLeapMonthNo
genderYes
periodTypeYesyear:YYYY | month:YYYY-MM | hour:YYYY-MM-DD HH:mm | multi-year:์—ฐ์†
targetNo๊ธฐ๊ฐ„ (periodType์— ๋งž๋Š” ํ˜•์‹)
countNomulti-year์šฉ

TDQS

C2.4/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure. It only states what the tool does (fortune by period) without explaining what the output looks like, whether there are rate limits, authentication requirements, or any side effects. For a fortune-telling tool with 8 parameters and no output schema, this leaves significant behavioral questions unanswered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise - just a single Korean phrase with English period types in parentheses. While this is efficient, it may be too brief given the tool's complexity. The information is front-loaded but lacks necessary elaboration for a tool with 8 parameters and no output schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a fortune-telling tool with 8 parameters, 38% schema coverage, no annotations, and no output schema, the description is inadequate. It doesn't explain what fortune information is returned, how to interpret results, or provide sufficient context about the cultural/astrological system being used. The description leaves too many questions unanswered for effective tool use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 38%, meaning most parameters lack documentation in the schema. The description provides no additional parameter information beyond the basic Korean phrase '์‹œ๊ฐ„๋Œ€๋ณ„ ์šด์„ธ' which translates to 'fortune by time period.' It doesn't explain what birthDate/birthTime formats are expected, what the periodType values mean in practice, or how target and count parameters interact.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description '์‹œ๊ฐ„๋Œ€๋ณ„ ์šด์„ธ (year/month/hour/multi-year)' states the tool provides fortune-telling by time period, which is a clear purpose. However, it's somewhat vague about what specific fortune information is returned and doesn't distinguish this tool from sibling fortune-related tools like 'get_daily_fortune' or 'analyze_saju' beyond the time period focus.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. There are multiple fortune-related sibling tools (analyze_saju, get_daily_fortune, check_compatibility), but the description doesn't explain what makes this period-based fortune tool distinct or when it's preferable to use daily fortune analysis or other options.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

manage_settingsC

ํ•ด์„ ์„ค์ • ๊ด€๋ฆฌ (get/set)

ParametersJSON Schema
NameRequiredDescriptionDefault
actionYes
presetNo
customNo

TDQS

C2.4/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. 'Manage (get/set)' implies both read and write operations, but it doesn't disclose behavioral traits like permission requirements, side effects, rate limits, or what happens when settings are changed. For a tool with mutation capability (set action) and no annotations, this is a significant gap in transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise - just two words in Korean plus (get/set) in parentheses. It's front-loaded with the core purpose. While efficient, it might be too brief given the tool's complexity (3 parameters with nested objects).

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 3 parameters with 0% schema description coverage, no annotations, no output schema, and manages settings that likely affect sibling analysis tools, the description is incomplete. It doesn't explain what interpretation settings are, how they affect other tools, or provide enough context for proper usage. The conciseness comes at the cost of completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. The description mentions 'get/set' which aligns with the 'action' parameter enum, but it doesn't explain the meaning of 'preset' options (ziping, dts, etc.) or the 'custom' object structure. With 3 parameters (action, preset, custom) and nested objects, the description adds minimal value beyond what the schema's enum values already imply.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'ํ•ด์„ ์„ค์ • ๊ด€๋ฆฌ (get/set)' translates to 'Interpretation settings management (get/set)' which states the tool manages interpretation settings with get/set operations. It's somewhat vague about what 'interpretation settings' specifically refer to (likely related to sibling tools like analyze_saju or get_fortune_by_period), but it does specify the verb (manage) and resource (interpretation settings). No sibling differentiation is provided.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, context, or exclusions. Given sibling tools like analyze_saju and get_fortune_by_period, there's no indication of how this settings management relates to those analysis tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 7 tool updates
    • First observedanalyze_saju
    • First observedcheck_compatibility
    • First observedconvert_calendar
    • First observedget_dae_un
    • First observedget_daily_fortune
    • First observedget_fortune_by_period
    • First observedmanage_settings

TDQS

C2.5/5.0

Scored across 7 tools

Disambiguation4/5

Most tools have distinct purposes: analyze_saju for comprehensive birth chart analysis, check_compatibility for relationship matching, convert_calendar for date conversion, get_dae_un for 10-year cycles, get_daily_fortune for daily predictions, get_fortune_by_period for time-based fortunes, and manage_settings for configuration. However, get_daily_fortune and get_fortune_by_period could potentially overlap in some use cases (e.g., daily vs. hourly fortunes), but their descriptions clarify the scope.

Naming Consistency5/5

All tools follow a consistent snake_case naming convention with clear verb_noun patterns: analyze_saju, check_compatibility, convert_calendar, get_dae_un, get_daily_fortune, get_fortune_by_period, and manage_settings. The naming is predictable and readable throughout the set.

Tool Count5/5

With 7 tools, this server is well-scoped for fortune-telling and Saju analysis. Each tool serves a specific function in the domain, from core analysis (analyze_saju) to utilities (convert_calendar) and configuration (manage_settings). The count is neither too sparse nor bloated, fitting the purpose effectively.

Completeness4/5

The tool set covers key aspects of Saju fortune-telling: birth chart analysis, compatibility checks, calendar conversion, fortune predictions (daily, time-based, and long-term cycles), and settings management. A minor gap might be the lack of tools for historical data or advanced customization beyond basic settings, but core workflows are well-supported.

Maintenance

ActivityInactive
ResponsivenessUnresponsive

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables traditional Chinese fortune-telling through BaZi (Four Pillars) analysis, including solar/lunar date conversion, Five Element balance calculations, Ten Gods deduction, and destiny interpretation for metaphysics applications.
    34 npm
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides Chinese traditional calendar functions including BaZi calculation, solar-lunar calendar conversion, Huangli almanac queries, daily fortune readings, 24 solar terms, and Wu Xing (Five Elements) analysis.
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables Korean Saju (Four Pillars of Destiny) calculation and myeongni-hak glossary lookup via MCP, allowing AI clients to compute accurate saju analysis and look up fortune-telling terms.
    4
    28 npm
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Korean Saju (Four Pillars / ์‚ฌ์ฃผ๋ช…๋ฆฌ) birth-chart analysis โ€” 5 free tools: chart, five elements, gyeokguk, yin-yang/climate balance, and classical yongshin candidates. Local stdio server via npx, no API key required.
    5
    53 npm
    Apache 2.0