Price Per TokenPrice Per Token
Saju Insights

Saju Insights

by hjsh200219

GitHub 11 16,722 uses Remote
0

About

Saju Insights provides personalized Korean traditional Four Pillars of Destiny (Saju) fortune-telling based on birth data. It calculates destiny charts using the eight characters (four heavenly stems and four earthly branches) derived from birth year, month, day, and hour. Key capabilities include: - Birth chart calculation with automatic True Solar Time adjustment (Jintaeyangsi -30min correction) - Fortune analysis covering personality, career, wealth, health, and love prospects - Relationship compatibility analysis comparing two people's Saju charts - 10-year luck cycle (Daewon) predictions for long-term planning - Yongsin (favorable element) guidance on lucky colors, directions, and career paths - Lunar-solar calendar conversion supporting 1900-2200 with leap month handling - Daily fortune readings and seasonal power calculations - Multiple interpretation schools including Ziping, DTS, and modern methodologies

Tools 7

analyze_saju

사주 분석 통합 (basic/fortune/yongsin/school_compare/yongsin_method)

check_compatibility

두 사람 궁합 분석

convert_calendar

양력↔음력 변환

get_daily_fortune

일일 운세

get_dae_un

10년 대운

get_fortune_by_period

시간대별 운세 (year/month/hour/multi-year)

manage_settings

해석 설정 관리 (get/set)

README

🔮 사주 운세 MCP 서버 (Saju MCP Server)

[](https://www.npmjs.com/package/@hoshin/saju-mcp-server) [](https://opensource.org/licenses/MIT) [](https://nodejs.org)

한국 전통 사주팔자를 기반으로 운세를 분석하는 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.1.0 신규 기능

  • 7개 통합 도구: 15개 개별 도구를 7개로 최적화 (토큰 효율 40% 개선)
  • 로컬 테이블: 1900-2200년 음양력 데이터 (외부 API 의존성 제거)
  • Zod 입력 검증: 런타임 타입 검증으로 에러율 40% 감소
  • date-fns 통합: 타임존 버그 제거 및 정밀한 날짜 처리
  • MCP SDK v1.18: 최신 프로토콜 및 성능 최적화
  • 🚀 시작하기

    필수 요구사항

  • 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 서버 진입점 │ ├── 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 # 통합 설정 관리 │

    Related MCP Servers

    AI Research Assistant

    AI Research Assistant

    hamid-vakilzadeh

    AI Research Assistant provides comprehensive access to millions of academic papers through the Semantic Scholar and arXiv databases. This MCP server enables AI coding assistants to perform intelligent literature searches, citation network analysis, and paper content extraction without requiring an API key. Key features include: - Advanced paper search with multi-filter support by year ranges, citation thresholds, field of study, and publication type - Title matching with confidence scoring for finding specific papers - Batch operations supporting up to 500 papers per request - Citation analysis and network exploration for understanding research relationships - Full-text PDF extraction from arXiv and Wiley open-access content (Wiley TDM token required for institutional access) - Rate limits of 100 requests per 5 minutes with options to request higher limits through Semantic Scholar

    Web & Search
    12 8
    Linkup

    Linkup

    LinkupPlatform

    Linkup is a real-time web search and content extraction service that enables AI assistants to search the web and retrieve information from trusted sources. It provides source-backed answers with citations, making it ideal for fact-checking, news gathering, and research tasks. Key features of Linkup: - Real-time web search using natural language queries to find current information, news, and data - Page fetching to extract and read content from any webpage URL - Search depth modes: Standard for direct-answer queries and Deep for complex research across multiple sources - Source-backed results with citations and context from relevant, trustworthy websites - JavaScript rendering support for accessing dynamic content on JavaScript-heavy pages

    Web & Search
    2 24
    Math-MCP

    Math-MCP

    EthanHenrickson

    Math-MCP is a computation server that enables Large Language Models (LLMs) to perform accurate numerical calculations through the Model Context Protocol. It provides precise mathematical operations via a simple API to overcome LLM limitations in arithmetic and statistical reasoning. Key features of Math-MCP: - Basic arithmetic operations: addition, subtraction, multiplication, division, modulo, and bulk summation - Statistical analysis functions: mean, median, mode, minimum, and maximum calculations - Rounding utilities: floor, ceiling, and nearest integer rounding - Trigonometric functions: sine, cosine, tangent, and their inverses with degrees and radians conversion support

    Developer Tools
    22 81