Skip to main content
ClaudeWave

Korean Saju (Four Pillars) MCP server for Claude, ChatGPT, and AI agents

MCP ServersOfficial Registry0 stars1 forksJavaScriptApache-2.0Updated today
ClaudeWave Trust Score
87/100
Trusted
Passed
  • Open-source license (Apache-2.0)
  • Actively maintained (<30d)
  • Clear description
  • Topics declared
Last scanned: 6/11/2026
Install in Claude Code / Claude Desktop
Method: Manual
Claude Code CLI
git clone https://github.com/dangamsoft/cafe-mcp
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "cafe-mcp": {
      "command": "node",
      "args": ["/path/to/cafe-mcp/dist/index.js"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
💡 Clone https://github.com/dangamsoft/cafe-mcp and follow its README for install instructions.
Use cases

MCP Servers overview

# cafe-mcp

<!-- mcp-name: io.github.dangamsoft/cafe-mcp -->

> **CAFE = Cross-weighted Analysis of the Five Elements**
>
> Public OWL ontology for Korean Saju (사주명리학),
> with live MCP integration (v0.6.0) via the CAFE engine.

[![MCP](https://img.shields.io/badge/MCP-live%20v0.6.3-brightgreen.svg)](https://modelcontextprotocol.io)
[![License](https://img.shields.io/badge/License-Apache%202.0-green.svg)](LICENSE)
[![W3C OWL 2](https://img.shields.io/badge/W3C-OWL%202-orange.svg)](https://www.w3.org/TR/owl2-overview/)
[![Ontology](https://img.shields.io/badge/Ontology-1%2C711%20triples-brightgreen.svg)](./ontology/)
[![Version](https://img.shields.io/badge/Version-0.6.3-green.svg)](#)

> ✅ **v0.6.0** — The MCP server is live. A local (stdio) server exposing
> **5 free birth-chart tools** — `saju_chart`, `ohaeng_balance`, `gyeokguk`,
> `eumyang_johu`, `yongshin_candidates` — alongside the public W3C OWL
> ontology. See **[Install](#install-mcp-server)** below.

---

## What this is

A formal W3C OWL 2 ontology for Korean Saju (사주명리학), grounded in
classical Myeongli theory and six canonical treatises. Released under
CC BY 4.0 for academic use, system integration, and downstream development.

The ontology is the public layer of the **CAFE engine** — a deterministic
Saju analysis system combining classical theory with ML-based yongshin
classification.

W3C OWL 2 온톨로지 형태로 공개된 한국 사주명리학 도메인 모델입니다.
6대 고전(적천수·자평진전·난강망·궁통보감·연해자평·삼명통회)에 근거하며,
CC BY 4.0으로 학술·시스템 통합·후속 개발에 자유롭게 사용할 수 있습니다.

이 온톨로지는 **CAFE 엔진**의 공개 레이어입니다 — 결정적(deterministic)
사주 분석 시스템으로, 명리학 고전 이론과 ML 기반 용신 분류를 결합합니다.

---

## Install (MCP server)

The server runs locally over stdio and talks to the hosted CAFE backend —
**no API key, no local engine, no database** required.

**Claude Desktop** — add to `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "cafe-mcp": {
      "command": "npx",
      "args": ["-y", "@dangamsoft/cafe-mcp"]
    }
  }
}
```

**Cursor** — add the same `mcpServers` entry to `~/.cursor/mcp.json`.

Then ask, e.g. *"Show my saju for 1990-01-15 10:30, male."*

### Tools (5, free)

| Tool | Returns |
|------|---------|
| `saju_chart` | Four Pillars chart — stems/branches, Ten Gods, Spirit Stars |
| `ohaeng_balance` | Five Elements (五行) distribution |
| `gyeokguk` | Chart structure/pattern (格局) |
| `eumyang_johu` | Yin-Yang & Climate (陰陽·調候) balance |
| `yongshin_candidates` | Classical 5-type Yongshin (用神) candidates |

All tools take `birth` (`YYYYMMDDHHMM`) and `gender` (0 = female, 1 = male);
`name` and `is_lunar` are optional.

> The AI-selected final Yongshin (91.1%-accuracy classifier), full Yongshin
> report, NCODE personality profile and AI naming are part of the
> 24Plus service and are **not** exposed here.

**Custom backend:** set `CAFE_MCP_API_URL` (the server POSTs to
`${CAFE_MCP_API_URL}/try/panels`; default `https://24plus.ai.kr/api`).

---

## Ontology

- **1,711 RDF triples** · SPARQL-queryable · W3C OWL 2 conformant
- Models:
  - 60갑자 (Sexagenary cycle)
  - 75 sinsal (special-star annotations)
  - **18 patterns** — 정격 10 + 특수격 8
  - 5 yongshin types — 격국·억부·병약·조후·통관
  - 12 life stages (12운성)
- Grounded in 6 classical treatises:
  - 적천수 (Diqianshui)
  - 자평진전 (Zipingzhenquan)
  - 난강망 (Lanjiangwang)
  - 궁통보감 (Qiongtongbaojian)
  - 연해자평 (Yuanhaiziping)
  - 삼명통회 (Sanmingtonghui)

See [`ontology/`](./ontology/) for module structure, SPARQL examples, and
the integrated turtle file (`cafe-ontology.ttl`).

---

## CAFE engine performance

The CAFE engine — the inference system this ontology models — operates
inside the 24Plus platform. Validated performance on 5-class yongshin
classification (목/화/토/금/수, 5-fold cross-validated):

| Metric                  | Result   |
|-------------------------|----------|
| Accuracy                | 91.10%   |
| F1-Score (Macro)        | 91.08%   |
| Precision (Macro)       | 91.16%   |
| Recall (Macro)          | 91.10%   |
| ROC AUC (Macro)         | 97.76%   |

Random baseline = 20% (5 classes). 4.56× better than random. ML ensemble
with weighted voting and probability calibration.

The engine itself remains proprietary; the ontology models the domain
structure it operates on.

---

## Note on East Asian Myeongli traditions

This MCP focuses on the Korean Myeongli (사주명리학) tradition, which
shares its classical roots — 子平眞詮 (Zipingzhenquan), 滴天髓 (Diqianshui),
窮通寶鑑 (Qiongtongbaojian), 淵海子平 (Yuanhaiziping), 三命通會 (Sanmingtonghui),
欄江網 (Lanjiangwang) — with the Chinese Bazi (八字) tradition.

Romanization uses Korean Revised Romanization (e.g., Yongshin, Sinsal).
Hanja (정자) is preserved throughout the ontology.

본 MCP는 한국 명리학(사주명리학) 전통에 기반하며, 중국 八字 전통과
6대 고전(자평진전·적천수·궁통보감·연해자평·삼명통회·난강망)을 공유합니다.

---

## Documentation

- 📖 [Ontology specification](./ontology/) — formal OWL ontology with SPARQL examples

---

## Built by

[Dangamsoft (단감소프트)](https://24plus.ai.kr) — Korean AI company
specializing in classical East Asian knowledge systems.

🌐 https://24plus.ai.kr

---

## License

- **Code** (live since v0.6.0): Apache 2.0
- **Public OWL ontology** ([`ontology/`](./ontology/)): CC BY 4.0

The CAFE inference engine, scoring algorithms, ML model weights, and
interpretation templates remain proprietary.

---

> 더 깊은 분석(AI 선정 용신 · 전체 리포트)은 https://24plus.ai.kr
ai-agentchatgptclaudecursorfour-pillarskoreanmcpmcp-serversaju

What people ask about cafe-mcp

What is dangamsoft/cafe-mcp?

+

dangamsoft/cafe-mcp is mcp servers for the Claude AI ecosystem. Korean Saju (Four Pillars) MCP server for Claude, ChatGPT, and AI agents It has 0 GitHub stars and was last updated today.

How do I install cafe-mcp?

+

You can install cafe-mcp by cloning the repository (https://github.com/dangamsoft/cafe-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is dangamsoft/cafe-mcp safe to use?

+

Our security agent has analyzed dangamsoft/cafe-mcp and assigned a Trust Score of 87/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.

Who maintains dangamsoft/cafe-mcp?

+

dangamsoft/cafe-mcp is maintained by dangamsoft. The last recorded GitHub activity is from today, with 1 open issues.

Are there alternatives to cafe-mcp?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy cafe-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.

Featured on ClaudeWave: dangamsoft/cafe-mcp
[![Featured on ClaudeWave](https://claudewave.com/api/badge/dangamsoft-cafe-mcp)](https://claudewave.com/repo/dangamsoft-cafe-mcp)
<a href="https://claudewave.com/repo/dangamsoft-cafe-mcp"><img src="https://claudewave.com/api/badge/dangamsoft-cafe-mcp" alt="Featured on ClaudeWave: dangamsoft/cafe-mcp" width="320" height="64" /></a>

More MCP Servers

cafe-mcp alternatives