Skip to main content
Glama
somyung-saju-mcp

somyung-saju-mcp

by ers123

somyung-saju-mcp

MCP (Model Context Protocol) server for Korean Saju (사주팔자) child temperament analysis.

Lets AI assistants such as Claude calculate a child's Four Pillars of Destiny and return their innate temperament, learning style, and parenting guidance — as a framework for understanding a child, not a prediction of their future.

No API key. No network calls. All calculation runs locally.

Built by SoMyung, created by SungHa — a certified Myeongri Psychology Counselor (명리심리상담사 1급) with an MS in Decision Making and Applied Analytics, and a parent of three.

Tools

Tool

Description

analyze_child_temperament

Four Pillars + Five Element balance + personality traits + learning style + parenting tips

compare_siblings

Compare two children's temperaments, how they clash, and how to mediate

explain_five_elements

Detailed explanation of any element (wood / fire / earth / metal / water)

Related MCP server: OpenFate Bazi MCP

Install

npm install -g somyung-saju-mcp

Or run it without installing (see the npx config below).

Configure with Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json on macOS (%APPDATA%\Claude\claude_desktop_config.json on Windows).

Using npx — no install:

{
  "mcpServers": {
    "somyung-saju": {
      "command": "npx",
      "args": ["-y", "somyung-saju-mcp"]
    }
  }
}

If installed globally:

{
  "mcpServers": {
    "somyung-saju": {
      "command": "somyung-mcp"
    }
  }
}

Restart Claude Desktop after editing the config.

Configure with Claude Code

claude mcp add somyung-saju -- npx -y somyung-saju-mcp

Usage

Once configured, just ask:

  • "My daughter was born on 2020-05-15 at 14:30. What's her temperament?"

  • "Compare my two kids: son born 2018-03-20 10:00 and daughter born 2021-07-08 15:30"

  • "What does the Fire element mean for a child?"

  • "My son was born 2019-11-22, I don't know the time. What's his personality like?"

The assistant calls the right tool and interprets the structured result conversationally.

How it works

  1. Birth data is parsed (date, optional time, gender).

  2. Four Pillars (년주 / 월주 / 일주 / 시주) are calculated using solar terms (절기), so the month pillar is correct rather than approximated from the calendar month.

  3. Five Element balance is computed across all eight characters — four heavenly stems (천간) and four earthly branches (지지).

  4. A temperament profile is assembled: dominant and weakest elements, personality traits, learning style, social style, emotional patterns, and parenting tips.

  5. The AI host receives structured data and gives a natural interpretation.

Four pillars, each drawn from the 60-term sexagenary cycle, yield 518,400 distinct profiles — about 32,400 times more granular than MBTI's 16 types.

Without a birth time, noon is used as an estimate and the response says so. Three pillars still give roughly 70% of the analysis: core temperament and element balance.

The five elements

Element

Korean

Traits

Learning style

Wood

목 / 木

Creative, independent, growth-oriented

Self-paced, autonomous

Fire

화 / 火

Passionate, expressive, warm

Short bursts, active, social

Earth

토 / 土

Stable, nurturing, reliable

Routine, familiar environment

Metal

금 / 金

Precise, principled, focused

Structured, step-by-step

Water

수 / 水

Intuitive, sensitive, adaptable

Quiet, flexible timing

Scope

This server describes innate temperament tendencies. It does not provide medical, psychiatric, or educational diagnosis, and does not predict future events.

Development

git clone https://github.com/ers123/somyung-saju-mcp.git
cd somyung-saju-mcp
npm install
npm run dev      # run with tsx (hot reload)
npm run build    # compile TypeScript
npm start        # run the compiled server

Publishing to Smithery

Smithery's web form takes a remote HTTP endpoint. This is a stdio server, so it is published as an MCPB bundle instead:

node scripts/build-mcpb.mjs
npx @smithery/cli mcp publish ./somyung-saju.mcpb -n <namespace>/somyung-saju

The build script exists because the two specs disagree: the MCPB manifest schema rejects inputSchema inside tools, while Smithery's registry requires it — publishing without it fails once per tool, and publishing with tools removed fails with "No values to set". So the script packs a spec-compliant manifest and then patches the tool schemas into the archive, reading them from the running server so they cannot drift.

The bundle carries production node_modules, since the host runs it standalone rather than resolving dependencies itself.

Releasing

Publishing runs on GitHub Actions via npm trusted publishing (OIDC) — no token is stored anywhere and no 2FA prompt is involved.

npm version patch      # bumps package.json and creates the vX.Y.Z tag
git push --follow-tags

The workflow refuses to publish if the tag disagrees with package.json, and runs a stdio smoke test against the built server before publishing.

Full 8-section premium reports, in ten languages, are at somyung.cc — including a free preview.

License

MIT — see LICENSE.

Available Tools

3 tools
analyze_child_temperamentA

Calculate a child's Four Pillars of Destiny (사주팔자) and return their temperament profile including dominant element, personality traits, learning style, and parenting tips based on Korean Saju astrology.

Inputs: gender (required), birthDate (required), birthTime, childName.

compare_siblingsA

Compare the Saju temperament profiles of two siblings to understand their differences, compatibilities, and how to parent each child differently.

Inputs: child1 (required), child2 (required).

explain_five_elementsA

Explain what a specific Five Element (오행) means for a child's personality, learning, and development in Korean Saju astrology.

Inputs: element (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clear, distinct purpose: one analyzes a single child, one compares two siblings, and one explains a specific five-element concept. There is no overlap in functionality that would cause an agent to select the wrong tool.

    Naming Consistency5/5

    All tool names follow the same verb_noun pattern in snake_case (analyze_child_temperament, compare_siblings, explain_five_elements). Verb choice and object structure are uniform, making the set predictable and easy to navigate.

    Tool Count4/5

    Three tools is at the lower bound of the well-scoped range. The narrow domain of Korean Saju child temperament analysis is served adequately, but the set feels slightly thin compared to typical MCP servers, though not incomplete.

    Completeness4/5

    The tools cover the main workflows: analyzing a child, comparing siblings, and explaining element meanings. Missing a tool for retrieving raw Saju chart details or parent-child compatibility, but these are not explicitly required by the server's stated scope.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to perform Chinese metaphysics calculations including BaZi charts, Tong Shu indicators, solar terms, and more, using a verified engine with 740+ tests.
      8
      8
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to calculate deterministic Bazi (Four Pillars) charts with True Solar Time and Earthly Branch interactions, avoiding LLM hallucination of calendrical math.
      6
      161 npm
      162
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables Chinese metaphysics Ba Zi (Four Pillars) birth chart calculation and Huangli (almanac) queries via natural language, with lightweight offline setup.
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to cast deterministic BaZi, Zi Wei Dou Shu, and Western astrology natal charts from birth details, with no setup or API key.
      1
      57 npm
      MIT