divination-chart-mcp
Click on "Deploy 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., "@divination-chart-mcp generate a bazi chart for 1990-03-15 14:00"
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
这是一个用于生成占卜排盘(当前主要实现:六爻(Six-line)和八字(Bazi))的 MCP Server。
使用
依赖
Python 3.12+
uv
本地运行
1. Clone the repository
git clone https://github.com/wangsquirrel/divination-chart-mcp.git
cd divination-chart-mcp2. 安装依赖
uv sync3. 启动 stdio MCP server
uv run --with . divination-chart-mcp也可以显式指定 transport:
uv run --with . divination-chart-mcp --transport stdio
uv run --with . divination-chart-mcp --transport sse
uv run --with . divination-chart-mcp --transport streamable-http用 uvx 启动
本地仓库:
uvx --from . divination-chart-mcp直接从 GitHub:
uvx --from git+https://github.com/wangsquirrel/divination-chart-mcp divination-chart-mcpMCP 配置
{
"mcpServers": {
"divination-chart-mcp": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/wangsquirrel/divination-chart-mcp",
"divination-chart-mcp"
]
}
}
}测试MCP服务
uvx fastmcp list --command 'uv run --with . divination-chart-mcp' --json部署服务
使用 ASGI 服务器启动 SSE 服务:
uvicorn api.index:app --host 0.0.0.0 --port 3000api/index.py导出了同一个 ASGI app,可用于云平台部署也可以直接在 Vercel 上部署这个项目,使用的是
vercel.json配置文件
Available Tools
2 toolsdivination_baziB
八字排盘工具 - 根据年月日时及性别,进行八字排盘,返回八字盘面的详细信息和启发性的分析。
Inputs: input_data (required). Returns: personal_info, natal_chart, luck_cycles, target_flow, +1 more
divination_liu_yaoB
六爻排盘工具 - 根据年月日时进行六爻占卜排盘,返回六爻盘面的详细信息。
Inputs: input_data (required). Returns: 六爻排盘的完整结果
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
Two tools cover distinct divination methods (bazi vs liuyao); descriptions clarify their differences, so no confusion.
Both tools follow the same 'divination_' prefix plus descriptive type name in snake_case, ensuring predictable pattern.
Two tools is appropriate for a niche domain focused on specific chart types; slightly low but not unreasonable.
Covers two major Chinese divination methods; could include others like ziwei but current scope is coherent and sufficient.
Maintenance
Related MCP Connectors
Hosted remote MCP server for BaZi (Four Pillars) charts and the Chinese almanac. No install.
Free Qimen Dunjia and BaZi charts via MCP - deterministic engine, nine palaces and four pillars.
MCP server for China public holidays and lunar calendar: solar-lunar conversion and yearly schedule.
MCP server for Chinese dictionary lookup: character definitions, pinyin, stroke order and word
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server for accurate Bazi calculations, enabling personality analysis, destiny forecasting, and Chinese calendar queries via AI agents.ISC
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server for Chinese traditional calendar functions, including BaZi calculation, calendar conversion, Huangli query, daily fortune, solar terms, and Wu Xing analysis.5MIT
- AlicenseAqualityDmaintenanceA fortune-telling MCP server that generates traditional Chinese-style HTML reports for Ba Zi, Liu Yao, fortune sticks, naming, and a programmer's almanac.64MIT
- AlicenseAqualityCmaintenanceMCP server for ai-divination-skills that provides tools for tarot draws, I Ching casts, Xiao Liu Ren casts, and Bazi chart generation, returning auditable JSON results for AI interpretation.56MIT