This server provides comprehensive Chinese metaphysics services combining I Ching (易经) divination and BaZi (八字) astrology analysis.
I Ching (易经)
Generate Hexagrams: Cast hexagrams using number, time, plum blossom, or random methods based on a question
Interpret Hexagrams: Multi-layered readings focused on overall meaning, specific lines, or changing hexagrams across contexts (career, relationships, health, finance)
Decision Advising: Actionable guidance based on hexagram results, with short/long-term timeframes and multiple options
BaZi (八字)
Generate Birth Chart: Create a natal chart from birth date/time, gender, and optional location
Analyze Chart: Examine personality, career, wealth, relationships, and health at configurable detail levels
Forecast Fortune: Predict future luck across life aspects for a given date range with year/month/day resolution
Combined Analysis & Consultation
Combined Analysis: Integrate I Ching and BaZi insights for a unified metaphysical answer to a specific question
Destiny Consultation: Full consultations (guidance, analysis, prediction, or suggestion) using a user's metaphysical profile
Learning & Research
Knowledge Learning: Study I Ching and/or BaZi concepts at beginner, intermediate, or advanced levels
Case Studies: Explore and analyze historical or modern I Ching/BaZi cases, including famous figures
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Yijing Bazi MCP Serveranalyze my bazi chart for career prospects based on my birth date 1990-05-15"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
易经八字分析 MCP 服务器
基于 MCP(Model Context Protocol)的易经与八字分析服务,提供起卦/解读、八字排盘/分析与综合咨询等能力。
快速开始
本地运行
npm install
npm start开发模式
npm run devNPM/NPX 运行
npx yijing-bazi-mcp@latest客户端配置
Claude Desktop
{
"mcpServers": {
"yijing-bazi": {
"command": "npx",
"args": ["yijing-bazi-mcp@latest"],
"env": {
"LOG_LEVEL": "info",
"NODE_ENV": "production"
}
}
}
}如果使用本地项目:
{
"mcpServers": {
"yijing-bazi": {
"command": "node",
"args": ["src/index.js"],
"cwd": "项目完整路径",
"env": {
"LOG_LEVEL": "info",
"NODE_ENV": "development"
}
}
}
}配置文件位置:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
其他 MCP 客户端(Trae/Cursor/Cherry Studio)
推荐用 npm exec:
{
"mcpServers": {
"yijing-bazi": {
"command": "npm",
"args": ["exec", "yijing-bazi-mcp"],
"cwd": "项目完整路径",
"env": {
"NODE_ENV": "development"
}
}
}
}可用工具(概览)
易经:
yijing_generate_hexagram,yijing_interpret,yijing_advise八字:
bazi_generate_chart,bazi_analyze,bazi_forecast综合:
combined_analysis,destiny_consult学习:
knowledge_learn,case_study
使用示例
易经起卦
{
"tool": "yijing_generate_hexagram",
"params": {
"question": "今年是否适合创业?",
"method": "coin",
"context": "目前在大公司工作,考虑自主创业"
}
}八字分析
{
"tool": "bazi_generate_chart",
"params": {
"birth_time": "1990-05-15T10:30:00+08:00",
"gender": "male",
"is_lunar": false,
"timezone": "Asia/Shanghai"
}
}环境变量
支持 .env:
LOG_LEVEL=info
NODE_ENV=production
SERVER_NAME=yijing-bazi-mcp-server
ENABLE_CACHE=true目录结构(简版)
src/
engines/ # 易经/八字/综合/知识引擎
data/ # 静态数据与表
utils/ # 工具/日志/校验/缓存
config/ # 运行时配置
index.js # 入口免责声明
本项目仅供学习研究使用,分析结果仅供参考,不构成任何决策建议。
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.