MCP server for Korean Four Pillars of Destiny (Saju / Bazi). Wraps the Saju API with 4 tools: calculate, interpret, compatibility, daily. Free tier 100 req/day.
git clone https://github.com/ghdejr11-beep/saju-mcp{
"mcpServers": {
"saju-mcp": {
"command": "node",
"args": ["/path/to/saju-mcp/dist/index.js"],
"env": {
"SAJU_API_KEY": "<saju_api_key>"
}
}
}
}SAJU_API_KEYMCP Servers overview
# Saju MCP Server
An [MCP](https://modelcontextprotocol.io) (Model Context Protocol) server that
wraps the **Saju API** — Korean Four Pillars of Destiny (사주팔자 / Bazi) — so
MCP-capable clients (Claude Desktop, Cursor, and other MCP hosts) can compute
and interpret Saju directly in a conversation.
Backed by the live API at **https://saju-api.pages.dev** (10 languages:
ko, en, ja, zh, es, pt-br, vi, id, hi, th).
## Tools
| Tool | Upstream endpoint | What it does |
|------|-------------------|--------------|
| `saju_calculate` | `POST /api/v1/calculate` | Four Pillars (stem+branch+hanja), five-element distribution, Day Master, zodiac, from a solar birthdate. |
| `saju_interpret` | `POST /api/v1/interpret` | Full reading: Ten Gods (십신), hidden stems, Yongshin (용신), Daeun (대운), localized summaries. |
| `saju_compatibility` | `POST /api/v1/compatibility` | Two-person 궁합 score (0–100) with breakdown (element balance, Day Master relation, branch harmony/clash). |
| `saju_daily` | `GET /api/v1/daily` | Daily fortune snapshot (score + advice) for a Day Master and date. |
## Prerequisites
- Node.js **18+** (uses the built-in global `fetch`).
- A **Saju API key**. The free tier is **100 requests/day, no credit card**.
### Get a free API key
```bash
curl -X POST https://saju-api.pages.dev/api/v1/keys/create \
-H "Content-Type: application/json" \
-d '{"email":"you@example.com"}'
```
The response contains an `api_key` of the form `sajuapi_free_...`. Keep it
secret — it is passed to the server via the `SAJU_API_KEY` environment variable,
never hardcoded.
## Install & build
```bash
npm install
npm run build # compiles src/index.ts -> dist/index.js
```
Quick local check (lists the 4 tools, then exits):
```bash
SAJU_API_KEY="sajuapi_free_xxx" npm start
```
## Register in Claude Desktop
Edit your `claude_desktop_config.json`:
- macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
- Windows: `%APPDATA%\Claude\claude_desktop_config.json`
Add (use the **absolute path** to the built `dist/index.js`):
```json
{
"mcpServers": {
"saju": {
"command": "node",
"args": ["D:\\kunstudio-apps\\saju-mcp\\dist\\index.js"],
"env": {
"SAJU_API_KEY": "sajuapi_free_your_key_here"
}
}
}
}
```
Restart Claude Desktop. The four `saju_*` tools appear in the tools menu.
> Other MCP hosts (Cursor, Windsurf, custom clients) use the same shape:
> `command: "node"`, `args: ["<abs path>/dist/index.js"]`, and a
> `SAJU_API_KEY` env var.
## Environment variables
| Variable | Required | Default | Notes |
|----------|----------|---------|-------|
| `SAJU_API_KEY` | yes (for real calls) | _(empty)_ | Your `sajuapi_*` key, sent as the `X-API-Key` header. Without it, every call returns `401 invalid_api_key`. |
| `SAJU_API_BASE` | no | `https://saju-api.pages.dev` | Override the upstream base URL (e.g. for a staging deploy). |
## Example tool inputs
`saju_calculate` / `saju_interpret`:
```json
{ "year": 1990, "month": 5, "day": 15, "hour": 14, "gender": "M", "lang": "en" }
```
(`hour: -1` if the birth hour is unknown.)
`saju_compatibility`:
```json
{
"person_a": { "year": 1990, "month": 5, "day": 15, "hour": 14, "gender": "M" },
"person_b": { "year": 1992, "month": 8, "day": 3, "hour": 9, "gender": "F" },
"lang": "en"
}
```
`saju_daily` (Day Master from a prior calculate/interpret call):
```json
{ "day_master": "갑", "date": "2026-06-17", "lang": "en" }
```
## License
Proprietary — KunStudio. Wraps the Saju API; subject to that API's terms.
What people ask about saju-mcp
What is ghdejr11-beep/saju-mcp?
+
ghdejr11-beep/saju-mcp is mcp servers for the Claude AI ecosystem. MCP server for Korean Four Pillars of Destiny (Saju / Bazi). Wraps the Saju API with 4 tools: calculate, interpret, compatibility, daily. Free tier 100 req/day. It has 0 GitHub stars and was last updated today.
How do I install saju-mcp?
+
You can install saju-mcp by cloning the repository (https://github.com/ghdejr11-beep/saju-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is ghdejr11-beep/saju-mcp safe to use?
+
ghdejr11-beep/saju-mcp has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.
Who maintains ghdejr11-beep/saju-mcp?
+
ghdejr11-beep/saju-mcp is maintained by ghdejr11-beep. The last recorded GitHub activity is from today, with 0 open issues.
Are there alternatives to saju-mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy saju-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/ghdejr11-beep-saju-mcp)<a href="https://claudewave.com/repo/ghdejr11-beep-saju-mcp"><img src="https://claudewave.com/api/badge/ghdejr11-beep-saju-mcp" alt="Featured on ClaudeWave: ghdejr11-beep/saju-mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。