Skip to main content
Glama
molpass

sajuMCP

by molpass

mcp-saju

ssaju 만세력 엔진을 래핑한 stdio MCP 서버. MCP 클라이언트(Claude Desktop·Claude Code 등)가 생년월일시로 사주·만세력을 계산하도록 calculate_saju 도구를 노출한다.

  • 엔진: ssaju (MIT · TypeScript · 의존성 0 · 원국·십성·12운성·합충형파해·신살·격국·용신·대운·세운·월운·공망 한 번에 산출)

  • 트랜스포트: stdio (클라이언트가 서브프로세스로 실행)

  • 라이선스: MIT

설치 / 빌드

npm install
npm run build      # tsc → dist/index.js

git 필요: 엔진 의존성 ssajumolpass/ssaju 포크에서 git으로 가져온다(serializeSaju 포함, 커밋 핀 고정). 따라서 npm installgit이 설치돼 있어야 하며, 설치 과정에서 포크를 clone해 자동 빌드한다(빌드 devDependencies를 잠시 내려받음).

Related MCP server: Saju MCP Server

MCP 클라이언트 등록

클라이언트의 MCP 서버 설정에 stdio 명령으로 추가한다.

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

도구: calculate_saju

생년월일시로 사주·만세력을 계산한다.

입력

파라미터

타입

기본값

설명

year

number

(필수)

연도

month

number

(필수)

월 1–12

day

number

(필수)

일 1–31

hour

number

12

시 0–23

minute

number

0

분 0–59

gender

"남" | "여"

(없음)

대운 방향에 영향 → 정확한 결과 위해 제공 권장

calendar

"solar" | "lunar"

"solar"

입력 달력 종류

leap

boolean

false

음력 윤달 여부

timezone

string

"Asia/Seoul"

IANA 시간대

longitude

number

(없음)

진태양시 보정용 경도

applyLocalMeanTime

boolean

(없음)

진태양시 보정 적용

format

"compact" | "markdown" | "json"

"compact"

출력 형식 (compact=LLM용 압축, markdown=사람용 상세, json=구조화 데이터)

출력

format에 따라 ssaju의 toCompact()(기본, ~950토큰) 또는 toMarkdown()(~2,170토큰) 문자열을, json이면 serializeSaju()로 직렬화한 구조화 JSON(함수 필드 제외)을 텍스트로 반환한다.

예시

입력:

{ "year": 2001, "month": 11, "day": 3, "hour": 14, "minute": 20, "gender": "남" }

출력(첫 줄):

일간 庚(경)금+  강약: 강(78)  격: 인수격  용신: 己, 丙, 癸

검증

npm test

test/smoke.test.js — 빌드된 서버에 stdio JSON-RPC 1왕복(initializetools/call)을 보내 위 예시 입력의 결과에 일간 庚 · 인수격 · 용신 己·丙·癸가 그대로 나오는지 확인하는 회귀 테스트.

MCP Inspector로 수동 검증:

npx @modelcontextprotocol/inspector node dist/index.js

GUI에서 calculate_saju를 위 예시 입력으로 호출하면 동일 결과를 확인할 수 있다.

About / 제작

Hermes Agent용 MCP — molpass의 바이브 코딩(vibe coding) 프로젝트.

  • 아이디어·방향: molpass (이정훈) · https://zeolinex.com

  • 기획: Claude (Chat)

  • 개발: Claude Code

자가 호스팅 Hermes Agent에 도구로 붙여 쓰는 MCP 서버입니다.

같은 모음:

Available Tools

1 tool
calculate_saju사주/만세력 계산A

생년월일시로 사주·만세력을 계산한다. 원국(사주팔자)·십성·12운성·합충형파해·신살·격국·용신·대운·세운·월운·공망을 한 번에 산출한다. gender는 대운 방향에 영향을 주므로 정확한 결과를 위해 제공을 권장한다.

ParametersJSON Schema
NameRequiredDescriptionDefault
yearYes양력/음력 연도 (예: 2001)
monthYes월 1-12
dayYes일 1-31
hourNo시 0-23 (기본 12)
minuteNo분 0-59 (기본 0)
genderNo성별. 대운 방향에 영향 → 정확한 결과 위해 제공 권장
calendarNo입력 달력 종류 (기본 solar)solar
leapNo음력 윤달 여부 (calendar=lunar일 때만 의미)
timezoneNoIANA 시간대 (기본 Asia/Seoul)Asia/Seoul
longitudeNo경도. 진태양시 보정용
applyLocalMeanTimeNo진태양시(지방평균시) 보정 적용 여부
formatNo출력 형식. compact=LLM용 압축(기본), markdown=사람용 상세compact

TDQS

A4/5.0
Behavior3/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. It describes the tool as a computation that outputs various saju components, but it does not explicitly state that the tool is read-only or has no side effects. Given the nature of the tool (calculation), the lack of explicit safety guarantees is a minor gap. The description does mention how gender affects Daewoon direction, which adds some behavioral context.

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, consisting of only two sentences. It front-loads the core purpose and output components, then adds a specific usage guideline. Every sentence earns its place, with no redundant or filler content.

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

Completeness4/5

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

For a complex tool with 12 parameters and no output schema, the description provides a comprehensive list of output components (원국, 십성, etc.), which gives the agent a clear understanding of what the tool returns. It also includes guidance on the gender parameter. However, it could mention the expected date format or input validation, but the schema covers some of that. Overall, it is quite complete given the tool's nature.

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 input schema provides descriptions for all 12 parameters (100% coverage), so the description adds little additional meaning for parameters. The description reiterates the importance of gender (similar to schema) and lists output components, but does not clarify parameter semantics beyond what the schema already offers. Baseline 3 is appropriate due to high schema coverage.

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

Purpose5/5

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

The description clearly states the tool's purpose: calculating saju/manse (사주/만세력) from birth details. It lists the specific components output (e.g., 원국, 십성, 12운성 etc.), making the tool's function unmistakable. The title and name align, and there are no sibling tools to differentiate from.

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

Usage Guidelines4/5

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

The description explicitly recommends providing gender for accurate results ('gender는 대운 방향에 영향을 주므로 정확한 결과를 위해 제공을 권장한다'), which is a clear usage guideline. It also implies that hour, minute, calendar type, etc., have defaults. However, it does not explicitly state when not to use the tool or provide alternative tools, but given the absence of siblings, this is acceptable.

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. 1 tool updatev1.0.0
    • First observedcalculate_saju

TDQS

A4.2/5.0

Scored across 1 tool

Disambiguation5/5

Only one tool exists, so there is no ambiguity. The single tool has a clear and specific purpose.

Naming Consistency5/5

With a single tool, naming is inherently consistent. The name 'calculate_saju' clearly indicates its function.

Tool Count4/5

One tool for a specialized domain like saju is appropriate. The tool is comprehensive, covering many aspects in one calculation, so the count feels sufficient.

Completeness5/5

The tool appears to cover all major aspects of saju calculation: original chart, ten gods, 12 luck, harmony, gods, and various luck cycles. No obvious gaps.

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • 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
    Apache 2.0
  • F
    license
    A
    quality
    C
    maintenance
    Enables MCP clients to compute and interpret Korean Four Pillars of Destiny (Saju) through natural language, including calculation, interpretation, compatibility analysis, and daily fortune.
    4
    22
    -
  • A
    license
    A
    quality
    C
    maintenance
    Calculates and returns a Ziwei Doushu (Purple Star Astrology) chart based on birth date, time, and gender. Returns both structured text of the 12 palaces and a PNG image of the chart.
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Calculates Korean traditional Dangsaju 12 stars based on birth date and time, returning deterministic structured data with star attributes and period readings.
    2
    MIT