About 易象乾坤 · 六爻起卦排盘解读 MCP
An MCP server for Liuyao divination based on the Huozhulin method and the Zengshan Buyi system, for people using AI assistants to cast and interpret hexagrams. It automates casting, produces a full chart, and identifies special configurations.
Key features
- 01Simulate Liuyao casting
- 02Generate complete hexagram charts
- 03Identify special configurations
- 04Provide expert interpretation instructions
- 05Support multiple MCP clients
- 06Run chart calculations remotely
Use cases
- 01Cast and chart a hexagram from a question
- 02Review primary, changed, and Najia details
- 03Identify patterns such as Six Clash and Three Harmony
- 04Generate readings through an AI assistant
MCP support
The service provides Liuyao casting, charting, and pattern analysis to MCP clients, including Claude Desktop, Cline, and LobeChat. Chart calculations run on a remote server.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
1Saved tool list · updated 3w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| question | string | Yes | What the user wants to ask about, such as "check my financial luck" or "ask about relationship development" |
| method | enum | No | Divination method: auto=system automatically casts a hexagram, manual=user manually enters the line patternauto | manual |
| lines | array | No | Results of six coin tosses, 1=yang line, 0=yin line, from the first line to the top line |
| old_lines | array | No | Moving-line markers for the six coin tosses: 1 = moving line, 0 = static line |
| manual_lines | array | No | Line descriptions in manual input mode, e.g. ["阳","阴","老阳","老阴","阳","阴"] |
| gender | enum | No | User's gender (required for relationship questions)male | female |
Details
From the project README易象乾坤 · 六爻排盘 MCP 服务
基于火珠林法六爻理论和《增删卜易》体系的智能排盘工具,为 AI 助手提供专业的六爻占卜排盘能力。
📖 目录
✨ 功能特点
| 功能 | 说明 |
|---|---|
| 自动起卦 | 系统自动模拟六爻摇卦,用户只需说出问题 |
| 完整排盘 | 本卦、变卦、世应、六亲、六兽、纳甲等完整信息 |
| 格局分析 | 自动识别三合局、六冲、六合、游魂、归魂、反吟、伏吟等特殊格局 |
| 专业解读 | 内置六爻专家级解读指令,AI 可直接生成专业解读 |
| 多平台支持 | 兼容 Claude Desktop、Cline、LobeChat 等主流 MCP 客户端 |
| 远程计算 | 排盘算法在云端服务器运行,用户端无需安装 PHP 环境 |
🌐 在线体验
访问 易象乾坤六爻排盘工具 在线体验排盘功能。
🚀 快速开始
前置要求
| 要求 | 说明 |
|---|---|
| Node.js | 18.0 或更高版本 |
| 网络 | 需要能够访问 www.yixiangqiankun.com |
| API Key | 从 易象乾坤 获取 |
安装步骤
# 1. 克隆仓库
git clone https://github.com/你的用户名/yixiangqiankun-mcp.git
cd yixiangqiankun-mcp
# 2. 安装依赖(无需额外依赖,但建议初始化)
npm install
# 3. 配置环境变量
cp .env.example .env
# 编辑 .env 文件,填入你的 API Key
Comments
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.