sajuMCP
This server calculates Korean Four Pillars of Destiny (사주/만세력) via the calculate_saju tool. Input a birth date and time to receive:
원국 (Four Pillars): 사주팔자, 일간 strength
십성 (Ten Gods), 12운성 (12 Life Stages), 합충형파해 (combinations/clashes)
신살 (Special Stars), 격국 (Chart Pattern), 용신 (Favorable Elements)
대운/세운/월운 (Major/Annual/Monthly Luck Cycles), 공망 (Void Spaces)
Required inputs: year, month, day
Optional inputs: hour, minute, gender (affects 대운 direction), calendar type (solar/lunar), lunar leap month, timezone (default: Asia/Seoul), longitude, local mean time correction
Output formats:
compact– LLM-optimized (~950 tokens)markdown– human-readable (~2,170 tokens)json– structured data
Connects to MCP clients (e.g., Claude Desktop) via stdio protocol.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@sajuMCP Calculate my saju: born 1990-06-15 14:30, male"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.jsgit 필요: 엔진 의존성
ssaju를molpass/ssaju포크에서 git으로 가져온다(serializeSaju포함, 커밋 핀 고정). 따라서npm install시 git이 설치돼 있어야 하며, 설치 과정에서 포크를 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
생년월일시로 사주·만세력을 계산한다.
입력
파라미터 | 타입 | 기본값 | 설명 |
| number | (필수) | 연도 |
| number | (필수) | 월 1–12 |
| number | (필수) | 일 1–31 |
| number | 12 | 시 0–23 |
| number | 0 | 분 0–59 |
|
| (없음) | 대운 방향에 영향 → 정확한 결과 위해 제공 권장 |
|
|
| 입력 달력 종류 |
| boolean | false | 음력 윤달 여부 |
| string |
| IANA 시간대 |
| number | (없음) | 진태양시 보정용 경도 |
| boolean | (없음) | 진태양시 보정 적용 |
|
|
| 출력 형식 (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 testtest/smoke.test.js — 빌드된 서버에 stdio JSON-RPC 1왕복(initialize → tools/call)을 보내 위 예시 입력의 결과에 일간 庚 · 인수격 · 용신 己·丙·癸가 그대로 나오는지 확인하는 회귀 테스트.
MCP Inspector로 수동 검증:
npx @modelcontextprotocol/inspector node dist/index.jsGUI에서 calculate_saju를 위 예시 입력으로 호출하면 동일 결과를 확인할 수 있다.
About / 제작
Hermes Agent용 MCP — molpass의 바이브 코딩(vibe coding) 프로젝트.
아이디어·방향: molpass (이정훈) · https://zeolinex.com
기획: Claude (Chat)
개발: Claude Code
자가 호스팅 Hermes Agent에 도구로 붙여 쓰는 MCP 서버입니다.
같은 모음:
mcp-saju — 사주명리 만세력
mcp-qr — QR 코드 생성
mcp-biorhythm — 바이오리듬
mcp-astrology — 서양 점성술 네이탈 차트
mcp-ziwei — 자미두수 명반
mcp-numerology — 수비학
mcp-liuren — 대육임
mcp-qimen — 기문둔갑
mcp-taiyi — 태을신수
mcp-weather — 한국 날씨·미세먼지
mcp-newsfeed — 한국 주요뉴스
Available Tools
1 toolcalculate_saju사주/만세력 계산A
생년월일시로 사주·만세력을 계산한다. 원국(사주팔자)·십성·12운성·합충형파해·신살·격국·용신·대운·세운·월운·공망을 한 번에 산출한다. gender는 대운 방향에 영향을 주므로 정확한 결과를 위해 제공을 권장한다.
Inputs: year (required), month (required), day (required), hour, +8 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
Only one tool exists, so there is no ambiguity. The single tool has a clear and specific purpose.
With a single tool, naming is inherently consistent. The name 'calculate_saju' clearly indicates its function.
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.
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
Related MCP Connectors
Korean Four Pillars (Saju/BaZi) calculator: pillars, elements, ten gods, sinsal, luck cycles.
Korean saju fortune MCP: natal chart, today/daily/yearly luck, compatibility, and saved profiles.
Korean Saju (Four Pillars) calculator: birth chart, day pillar, luck flow, monthly fortune
Saju & BaZi (Four Pillars) charts, luck cycles, manseryeok and classics. Free with sign-in.
Related MCP Servers
- AlicenseAqualityBmaintenanceKorean Saju and Chinese BaZi (Four Pillars) computed by the CAFE engine: natal chart with Day Master and Ten Gods, Five Elements balance, chart structure (格局), yin-yang and climate, favorable-element candidates, and a manseryeok calendar with exact solar-term times. 6 read-only tools, no API key. Remote: https://mcp.24plus.ai.kr/mcp or npx -y @dangamsoft/cafe-mcp6520 npmApache 2.0
- FlicenseAqualityCmaintenanceEnables MCP clients to compute and interpret Korean Four Pillars of Destiny (Saju) through natural language, including calculation, interpretation, compatibility analysis, and daily fortune.442 npm-
- AlicenseAqualityDmaintenanceCalculates 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.1MIT
- AlicenseAqualityDmaintenanceCalculates Korean traditional Dangsaju 12 stars based on birth date and time, returning deterministic structured data with star attributes and period readings.2MIT