Skip to main content
Glama
leleshen2009

yixiangqiankun-mcp

by leleshen2009

易象乾坤 · 六爻排盘 MCP 服务

基于火珠林法六爻理论和《增删卜易》体系的智能排盘工具,为 AI 助手提供专业的六爻占卜排盘能力。

MCP License Node.js

📖 目录


Related MCP server: Yijing Bazi MCP Server

✨ 功能特点

功能

说明

自动起卦

系统自动模拟六爻摇卦,用户只需说出问题

完整排盘

本卦、变卦、世应、六亲、六兽、纳甲等完整信息

格局分析

自动识别三合局、六冲、六合、游魂、归魂、反吟、伏吟等特殊格局

专业解读

内置六爻专家级解读指令,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

Available Tools

1 tool
liuyao_divinationA

【MCP 工具】六爻排盘占卜,基于火珠林法和《增删卜易》体系,提供专业的六爻排盘和智能解读。

【触发条件 - 何时调用】 当用户明确表达占卜、算命、算卦、测运势等意图时,应调用此工具。 识别关键词:测、算、占、卜、卦、运势、吉凶、摇卦、排盘。

典型用户表达:

  • "帮我测一下财运"、"测感情发展"

  • "算一卦"、"摇个卦看看"

  • "我最近的运势怎么样"、"这个事情会顺利吗"

  • "帮我排个盘"、"起一卦看看"

【不适用场景 - 何时不调用】

  • 用户只是闲聊、问路、查询信息等非占卜请求

  • 用户要求的是科学预测(如天气、股票走势分析)

  • 用户没有明确表达占卜意图,只是随口一提

【智能性别询问规则】

  • 当问题涉及感情、婚姻、恋爱、桃花时,AI 必须先询问用户性别

  • 如果用户已主动说明性别,直接调用,无需重复询问

  • 其他情况(财运、事业、学业、工作、官司、出行、失物、风水、健康等)无需询问性别

【调用参数说明】

  • question(必填):用户所求问的事情

  • method(可选):起卦方式,默认 auto(自动摇卦)

  • gender(可选):用户性别,感情类必填,其他可选

  • lines(可选):手动输入六爻结果,1=阳,0=阴

  • old_lines(可选):手动输入动爻标记,1=动,0=静

ParametersJSON Schema
NameRequiredDescriptionDefault
linesNo六次摇卦结果,1=阳爻,0=阴爻,从初爻到上爻
genderNo用户性别(感情类问题必填)
methodNo起卦方式:auto=系统自动摇卦,manual=用户手动输入爻象auto
questionYes用户所求问的事情,如"测财运"、"问感情发展"
old_linesNo六次摇卦的动爻标记,1=动爻,0=静爻
manual_linesNo手动输入模式时的爻象描述,如 ["阳","阴","老阳","老阴","阳","阴"]

TDQS

A4.8/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must disclose all behavioral traits. It explains the divination method (auto/manual), the need for gender in some cases, and the input format. However, it does not explicitly state that the tool is read-only or free of side effects, though it is implied by nature. Slight omission keeps it from a perfect score.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-organized with sections for purpose, trigger conditions, non-applicable scenarios, and parameter details. It is front-loaded with the core purpose and uses concise, informative sentences without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 6 parameters with full schema coverage and no output schema, the description provides complete guidance on invocation, including conditional rules (gender for love). It covers all necessary context for correct use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema covers all 6 parameters with descriptions in Chinese. The description further elaborates on parameter usage, such as 'gender' being required for love topics, 'method' defaulting to auto, and the meaning of 'lines' and 'old_lines'. This adds significant value beyond the schema alone.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool is for Liu Yao divination using specific systems (Huozhulin method and Zengshan Buyi). It provides a concise summary of its function, distinguishing it from potential sibling tools (though none listed). The verb '排盘' and '解读' accurately describe the action.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description includes explicit trigger conditions (e.g., keywords like '测', '算', '卦') and non-applicable scenarios (e.g., scientific predictions). It also provides a specific rule for asking gender on love-related questions. This gives clear guidance on when to invoke the tool versus alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 1 tool updatev1.0.0
    • First observedliuyao_divination

TDQS

A4.6/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is absolutely no ambiguity or risk of confusing it with other tools. The agent can always uniquely select this tool for divination tasks.

Naming Consistency5/5

There is only one tool, so naming is trivially consistent. The name 'liuyao_divination' clearly indicates its purpose and follows a single convention.

Tool Count3/5

The server has only 1 tool, which is on the low end for a potentially rich domain like divination. While it may suffice for basic needs, a typical agent might expect additional tools for different divination methods or result management.

Completeness4/5

The single tool covers the core divination workflow (arrangement and interpretation) with parameters for question, method, gender, and manual inputs. Minor gaps like history or advanced configurations are absent but not critical.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    Enables AI tools to perform Chinese fortune-telling analysis including Ziwei Doushu (Purple Star Astrology) and Bazi (Four Pillars) chart generation, fortune reading, and element analysis. Supports multiple calendar systems and output formats for comprehensive divination services.
    7
    4 npm
    6
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Provides traditional Chinese metaphysics analysis capabilities including I Ching divination (hexagram generation and interpretation) and Bazi (Four Pillars) fortune-telling with comprehensive life analysis covering career, wealth, relationships, and health predictions.
    10
    9 npm
    29
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    紫微AI,是一个紫微斗数解盘AI应用。Ziwei AI is an AI application for Ziwei Doushu chart interpretation.紫微AIは、紫微斗数のチャート解読のためのAIアプリケーションです。
    7
    -
  • F
    license
    Not graded
    quality
    B
    maintenance
    Enables traditional Chinese metaphysics tools like Bazi, Ziwei, and Qimen via MCP, integrating AI analysis for divination and fortune-telling.
    558
    -