Skip to main content
Glama
Saroday MCP Server

Saroday MCP Server

@saroday/mcp-server

MCP (Model Context Protocol) server for Saroday — Korean Saju (사주) calculation and myeongni-hak (命理學) glossary lookup.

This MCP server lets Claude Desktop, Cline, Cursor, and any other MCP-compatible AI client perform accurate Korean Saju (Four Pillars of Destiny) calculation by calling the public Saroday API under the hood.


What it does

When connected, the AI client gains access to four tools:

Tool

Description

calculate_saju

Compute full Saju analysis (8 characters, sipseong, sinsal, hapchung, 12-unseong, yongshin, daeun) from birth date / time / gender.

lookup_glossary

Look up any of 80+ myeongni-hak terms (도화살, 천을귀인, 식신, 육합, etc.) with full Korean explanation.

get_daily_fortune

Today's fortune for one of 12 Western zodiac signs or 12 Chinese zodiac signs. Cached server-side, fast response.

discover_saroday_api

List available Saroday API endpoints and metadata.

Why this matters: ChatGPT, Claude, and other LLMs frequently miscalculate Saju when asked directly because manse-ryeok (萬歲曆) lookup and 절기 (jeolgi) boundary handling require precise data. This MCP delegates the math to a verified server while letting the AI focus on the interpretation.


Related MCP server: 命盘 Mingpan

Installation

Option A — npx (no install)

npx @saroday/mcp-server

Option B — global install

npm install -g @saroday/mcp-server
saroday-mcp

Option C — clone and run

git clone https://github.com/saroday/mcp-server.git
cd mcp-server
npm install
node index.js

Requires Node.js 18 or newer.


Configure Claude Desktop

Edit your Claude Desktop config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Add (or merge) the following:

{
  "mcpServers": {
    "saroday": {
      "command": "npx",
      "args": ["-y", "@saroday/mcp-server"]
    }
  }
}

Restart Claude Desktop. You should see "saroday" listed in the MCP servers panel (the plug icon in the input area).

Local development (running from cloned repo)

{
  "mcpServers": {
    "saroday": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-server/index.js"]
    }
  }
}

Configure Cline / Cursor / other MCP clients

Any MCP client that supports stdio transport works. Point it at the saroday-mcp binary or node index.js. See your client's docs for the exact config format.


Try it out

After connecting, ask Claude things like:

  • "My birthday is March 15, 1992 at 10am. Calculate my Korean Saju."

  • "What does 도화살 (dohwa-sal) mean in Korean fortune-telling?"

  • "내 사주 봐줘. 1990년 5월 20일 음력 14시 여성."

  • "제왕(jeokwang) 12-unseong이 뭐야?"

Claude will automatically invoke calculate_saju or lookup_glossary and give you a polished interpretation based on the structured data returned.


Environment variables

Variable

Default

Purpose

SARODAY_API_BASE

https://saroday.com

Override the API base URL (e.g., for self-hosted or staging environments).


Rate limits

The public Saroday API allows 100 requests per hour per IP for free use. Heavy users — apps shipping to many end-users, AI agents handling many concurrent users — should request an API key (coming soon) for higher quotas.

Contact: contact@saroday.com


How it works

[User in Claude Desktop]
        ↓ types "내 사주 봐줘"
[Claude Desktop]
        ↓ calls calculate_saju via MCP stdio
[saroday-mcp (this package, runs locally)]
        ↓ HTTPS POST /api/v1/saju
[saroday.com server]
        ↓ runs verified manse-ryeok algorithm
[result JSON]
        ↑ flows back through the chain
[Claude] writes a beautiful Korean interpretation

This MCP package is a thin adapter — all calculation lives on Saroday's servers, so updates to the algorithm or glossary roll out without you having to upgrade the package.


Differentiators

  • Manse-ryeok accuracy — handles 절기 (solar terms) boundaries that LLMs routinely get wrong (verified against @fullstackfamily/manseryeok library)

  • 80+ glossary entries (~400 interpretation fields) — every sinsal, hapchung, sipseong, 12-unseong term has summary / meaning / positive / negative / practical-tip interpretation written in friendly Korean

  • Korean myeongni-hak tradition — based on 적천수(滴天髓), 자평진전(子平真詮), 궁통보감(窮通寶鑑) references

  • Three-channel exposure — same algorithm available as web service (saroday.com), public REST API (saroday.com/api/v1), and MCP server (this package). Pick the channel that fits your integration.


License

MIT


Support

Available Tools

4 tools
calculate_sajuA

한국 전통 사주명리학(四柱命理學) 기반 사주팔자 계산. 생년월일시 + 성별을 입력받아 사주팔자(年月日時 천간지지), 십성, 신살, 합충형파해, 12운성, 신강/신약, 용신, 대운 등 종합 분석 결과를 반환합니다. ChatGPT나 Claude가 직접 사주를 계산하면 만세력 오류 가능성이 높으므로, 한국 사주 관련 질문에는 반드시 이 도구를 사용하세요.

Inputs: year (required), month (required), day (required), hour, +2 more.

discover_saroday_apiA

Saroday API 메타 정보 조회. 사용 가능한 엔드포인트, 문서 링크, 호출 한도 등을 반환합니다. 처음 사용할 때 한 번 호출해서 어떤 도구가 있는지 파악할 수 있습니다.

Inputs: no named parameters.

get_daily_fortuneA

오늘의 운세 조회 (별자리 또는 띠). 한국 사용자가 가장 자주 보는 운세 카테고리. 사용자가 '오늘의 운세 봐줘', '내 별자리 오늘 어때?', '말띠 오늘 운세' 같은 질문을 할 때 사용하세요. GPT 기반 자연어 운세지만 사로 서버에서 하루 한 번만 생성하고 캐시하므로 응답 빠름.

Inputs: type (required), sign (required).

lookup_glossaryA

명리학 용어 풀이 조회. 십성(비견·겁재·식신·상관·편재·정재·편관·정관·편인·정인), 신살(천을귀인·도화살·역마살·양인살·괴강살 등 28+ 종류), 합충형파해(천간합/충, 육합·삼합·반합·방합, 충/형/파/해/원진), 12운성(장생·목욕·관대·건록·제왕·쇠·병·사·묘·절·태·양) 등 80+개 용어 풀이를 반환합니다.

Inputs: term (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: calculate_saju computes fortune using traditional methods, discover_saroday_api provides API metadata, get_daily_fortune offers daily horoscopes, and lookup_glossary explains terminology. No overlap in functionality.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern using snake_case: calculate_saju, discover_saroday_api, get_daily_fortune, lookup_glossary. No deviation in style.

    Tool Count5/5

    With 4 tools, the server is well-scoped for its domain of Korean fortune telling. Each tool serves an essential function without redundancy or unnecessary complexity.

    Completeness5/5

    The tool set covers the core aspects of the domain: personal fortune calculation (saju), daily fortune, glossary reference, and API discovery. No obvious gaps for the stated purpose.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables traditional Chinese metaphysics tools like Bazi, Ziwei, and Qimen via MCP, integrating AI analysis for divination and fortune-telling.
      788
      AGPL 3.0
    • A
      license
      A
      quality
      B
      maintenance
      Provides traditional Chinese astrology (Bazi, Ziwei) and divination (Liuyao, Meihua, Qimen, etc.) calculations as MCP tools for AI assistants.
      18
      299 npm
      133
      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
      33 npm
      -
    • A
      license
      A
      quality
      D
      maintenance
      Provides MCP tools for Chinese metaphysics, including BaZi (Four Pillars) charting, Liu Yao hexagram casting, lunar conversion, and AI-powered destiny analysis.
      10
      18 npm
      MIT