mcpField
S
saroday-mcp-server

saroday-mcp-server

Local
saroday.comGames & Entertainment0Updated 27w ago

About saroday-mcp-server

saroday-mcp-server connects MCP clients to Saroday’s API for Korean Saju calculations and myeongni-hak glossary lookups. It also provides daily fortunes and API endpoint discovery.

Key features

  1. 01Calculate Korean Saju from birth details
  2. 02Look up 80+ glossary terms
  3. 03Get zodiac-based daily fortunes
  4. 04Discover Saroday API endpoints

Use cases

  1. 01Generate a structured Saju analysis from birth date, time and gender
  2. 02Explain a myeongni-hak term using its Korean description
  3. 03Check a daily fortune for a Western or Chinese zodiac sign

MCP support

Exposes four tools to MCP clients for Saju calculation, glossary lookup, daily fortunes and API discovery. The local server delegates calculations to the public Saroday API.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"yolstudio26-oss-saroday": {
"command": "npx",
"args": [
"-y",
"@saroday/mcp-server"
]
}
}
}
Run commandnpx -y @saroday/mcp-server

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@saroday/mcp-server0.2.0

Tools

4

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
dayintegerYesBirth day (1-31)
hourintegerNoBirth hour (24-hour format, 0-23). Use 12 if the birth time is unknown.
yearintegerYesBirth year (Gregorian or lunar calendar, range 1900-2100)
monthintegerYesBirth month (1-12)
genderenumNoGender ('male' or 'female'). Used to determine the forward or backward direction of major luck cycles.male | female
isLunarbooleanNoWhether the date is lunar (true=lunar, false=solar). The solar calendar is recommended for people born in Korea.

Details

From the project README

@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:

ToolDescription
calculate_sajuCompute full Saju analysis (8 characters, sipseong, sinsal, hapchung, 12-unseong, yongshin, daeun) from birth date / time / gender.
lookup_glossaryLook up any of 80+ myeongni-hak terms (도화살, 천을귀인, 식신, 육합, etc.) with full Korean explanation.
get_daily_fortuneToday's fortune for one of 12 Western zodiac signs or 12 Chinese zodiac signs. Cached server-side, fast response.
discover_saroday_apiList 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.


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

VariableDefaultPurpose
SARODAY_API_BASEhttps://saroday.comOverride 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: [email protected]


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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.