About Nihaisha Tianji
Nihaisha Tianji is an MCP server published by jonhnsonzz in the Developer Tools category: 倪海厦天纪·命理风水知识系统 — Ni Haixia Tianji I-Ching & Ziwei Doushu Knowledge System. 基于倪海厦天纪24课完整转录,支持Hermes Skill + MCP + API三种调用方式。.
The repository has 26 stars and 4 forks, with the last commit 2 months ago. Recent commit activity is the strongest signal that reported issues will get attention.
Install
git clone https://github.com/jonhnsonzz/nihaisha-tianjiThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Nihaisha Tianji
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 6 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- ✓License declaredUsable under a stated license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- !Dependencies pinnedNo lockfile. Installs can pull different code over time.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
1 check has not been run yet.
README
🌌 倪海厦天纪 · 命理风水知识系统
Ni Haixia Tianji — I-Ching, Ziwei Doushu & Feng Shui Knowledge System
基于倪海厦天纪24课完整转录,涵盖天道(紫微斗数)· 人道(64卦)· 地道(阳宅风水) 三大系统。 天纪 = 命相卜 — 10个引用文件 + 527张截图证据。
中文 | English
🌟 Features
- 🌸 天道(紫微斗数) — 命盘十二宫、星辰、四化、大限,含全文原文(68KB)
- 📜 人道(64卦) — 易经64卦处世哲学详解,含可打印全文(315KB)
- 🏠 地道(阳宅风水) — 阳宅64局、地脉方位
- 🖼️ 527张截图证据 — 板书/命盘/风水图精确定位到课次
- 🔄 天纪-人纪联动 — 命宫→脏腑、星性→体质、化忌→养生(配合人纪项目)
- 🔥 天纪↔人纪关联图谱 — 完整的十二宫→脏腑、主星→体质对照表
📦 What's Inside
三才系统
| 系统 | 内容 | 文件 | 大小 |
|---|---|---|---|
| 天道 | 紫微斗数命盘、十四主星、四化、十二宫 | tiandao.md + tiandao-original.md |
78KB |
| 人道 | 64卦处世哲学、易经智慧 | rendao.md + rendao-64gua.md + rendao-print.md |
350KB |
| 地道 | 阳宅风水64局、地脉剖析 | dimai.md + dimai-print.md |
10KB |
目录结构
nihaisha-tianji/
├── SKILL.md # Hermes Agent Skill
├── mcp.json # MCP Server 配置
├── api_server.py # REST API 服务
├── references/ # 📚 知识库(10文件,653KB)
│ ├── index.md # 三才系统导航
│ ├── tiandao.md # 天道:紫微斗数
│ ├── tiandao-original.md # 天道全文原文
│ ├── rendao.md # 人道:64卦
│ ├── rendao-64gua.md # 64卦详解
│ ├── rendao-print.md # 人道可打印全文
│ ├── dimai.md # 地道:阳宅风水
│ ├── dimai-print.md # 地脉打印版
│ ├── study-notes.md # 学习笔记+527张截图索引
│ └── tianji-renji-link.md # 🔄 天纪-人纪关联图谱
├── compiled/ # 古文编译解读
│ ├── 64卦图解古文编译与专家解读.md
│ ├── 天机道古文编译与专家解读.md
│ ├── 人间道古文编译与专家解读.md
│ └── 地脉道古文编译与专家解读.md
├── README.md # 本文档
└── README_CN.md # 中文版
🚀 Quick Start
Option 1: REST API
pip install fastapi uvicorn
cd nihaisha-tianji
python3 -m uvicorn api_server:app --host 0.0.0.0 --port 8834
查询示例:
curl -X POST http://localhost:8834/api/query \
-H "Content-Type: application/json" \
-d '{"keyword":"紫微","module":"all","top_k":3}'
示例输出:
{
"code": 0,
"data": {
"query": "紫微",
"total": 2,
"results": [
{"module": "index", "size_kb": 3.2, "match_count": 3, "preview": [...]},
{"module": "tiandao", "size_kb": 10.1, "match_count": 5, "preview": [...]}
]
}
}
Option 2: MCP Server
{
"mcpServers": {
"nihaisha-tianji": {
"command": "python3",
"args": ["/path/to/nihaisha-tianji/api_server.py"],
"env": {"PORT": "8834"}
}
}
}
调用方式:
query_tianji(keyword="乾卦", module="rendao", top_k=5)
Option 3: Hermes Skill
cp -r nihaisha-tianji ~/.hermes/skills/nihaisha-tianji
🔗 Tianji ↔ Renji Connection
本系统与 nihaisha-renji(人纪·中医辨证系统)共享关联知识图谱:
| Tianji → | Renji → | Application |
|---|---|---|
| Ming Palace Stars | Constitutional tendency | Disease predisposition |
| Health Palace | Corresponding organ diseases | Diagnosis reference |
| Transformation Taboos | Weak organ systems | Health maintenance direction |
| Yin-Yang / Five Elements | Eight-Principle pattern ID | Philosophical foundation |
See references/tianji-renji-link.md for the complete mapping.
⚠️ Safety Notice
This system is an educational tool for studying Chinese metaphysics. All outputs are based on course materials. Does NOT constitute fortune-telling, professional divination, or decision-making advice.
📊 Project Stats
- 引用文件: 10个
- 总大小: 653 KB
- 课程数量: 24课
- 截图证据: 527张 | API价格: 开放平台定价
- 代码语言: Python 3.8+
🤝 Contributing
PRs and Issues are welcome!
📄 License
Educational use only. Content copyright belongs to the original course materials.
📬 Related Projects
- nihaisha-renji — Ni Haixia Renji: TCM Diagnosis Knowledge System
README fetched from the repository 6 days ago. The original is authoritative.