Skip to content
MCP ThesaurusMCP Thesaurus

cafe mcp

CommunityExcellent81/100Claim

npm @dangamsoft/cafe-mcpstdioApache-2.0updated 2mo ago

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.

SourceWebsite

What can you do with cafe mcp?

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 License W3C OWL 2 Ontology Version

โœ… 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 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:

{
  "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/ 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


Built by

Dangamsoft (๋‹จ๊ฐ์†Œํ”„ํŠธ) โ€” 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/): CC BY 4.0

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


๋” ๊นŠ์€ ๋ถ„์„(AI ์„ ์ • ์šฉ์‹  ยท ์ „์ฒด ๋ฆฌํฌํŠธ)์€ https://24plus.ai.kr