This server brings Korean traditional Saju fortune telling into Claude through seven consolidated tools. You can calculate Four Pillars from birth data (with true solar time correction), run compatibility checks between two people, convert lunar and solar calendars from 1900 to 2200, and get daily, monthly, yearly, or 10-year fortune cycles. The analyze_saju tool handles basic calculations, fortune readings across five interpretation schools, and Yongshin analysis with practical recommendations for colors, directions, and career paths. It includes 15 Sinsal indicators and uses local lookup tables instead of external APIs. Reach for this when you need culturally specific divination tools with detailed astronomical calculations and support for different fortune telling methodologies.
한국 전통 사주팔자를 기반으로 운세를 분석하는 MCP(Model Context Protocol) 서버입니다.
A Model Context Protocol (MCP) server for Korean traditional Saju (Four Pillars of Destiny) fortune-telling.
# 설치 스크립트 다운로드 및 실행
curl -fsSL https://raw.githubusercontent.com/hjsh200219/fortuneteller/main/install.sh | bash
이 스크립트는 다음을 자동으로 수행합니다:
# 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
사주 분석 통합 도구 (기본 계산, 운세, 용신, 유파 비교, 용신 방법론).
분석 타입:
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"
}
두 사람의 궁합을 분석합니다.
{
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"
}
}
양력과 음력을 변환합니다 (1900-2200 지원).
{
date: "2025-01-01",
fromCalendar: "solar",
toCalendar: "lunar",
isLeapMonth?: false
}
특정 날짜의 일일 운세를 제공합니다.
{
birthDate: "1990-03-15",
birthTime: "10:30",
calendar: "solar",
isLeapMonth: false,
gender: "male",
targetDate: "2025-01-01"
}
10년 단위 대운(大運) 정보를 조회합니다.
{
birthDate: "1990-03-15",
birthTime: "10:30",
calendar: "solar",
isLeapMonth: false,
gender: "male"
}
시간대별 운세 통합 도구 (연운/월운/시운/연속).
기간 타입:
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)
}
해석 설정 관리 도구 (조회/변경).
액션:
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 서버 진입점
│ ├── core/ # 핵심 시스템
│ │ ├── 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절기 (1900-2200)
│ │ ├── lunar_table.ts # 음력 테이블 (1900-2200)
│ │ └── longitude_table.ts # 전국 162개 시군구 경도
│ └── types/ # 타입 정의
│ └── index.ts
├── package.json
├── tsconfig.json
├── CLAUDE.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
~/Library/Application Support/Claude/claude_desktop_config.json에 다음 설정을 추가하세요:
{
"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 build -t saju-mcp-server .
# 컨테이너 실행
docker run -it --rm saju-mcp-server
# 또는 docker-compose 사용
docker-compose up -d
# Smithery CLI로 설치
npx @smithery/cli install saju-mcp-server --client claude
Smithery 마켓플레이스에서 더 쉽게 설치하고 관리할 수 있습니다.
이 서비스는 전통 사주팔자를 기반으로 한 참고용 정보를 제공합니다.
MIT License
이슈 제보 및 풀 리퀘스트를 환영합니다!
Option 1: Automatic Installation Script (Recommended)
curl -fsSL https://raw.githubusercontent.com/hoshin/saju-mcp-server/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
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!
# 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
# Install via Smithery CLI
npx @smithery/cli install saju-mcp-server --client claude
Easier installation and management through Smithery marketplace.
Issues and pull requests are welcome!
MIT License
This service provides reference information based on traditional Saju fortune-telling.
Made with ❤️ for Korean traditional fortune-telling
com.mcparmory/google-sheets
domdomegg/google-sheets-mcp
henilcalagiya/google-sheets-mcp
cct15/war-dashboard-data
moooonad/mcp-google-sheets-full
io.github.br0ski777/csv-to-json