mingli-mcp
by spyfree·★ 2·Score 38
A feature-rich fortune telling MCP server supporting Zi Wei Doushu, Bazi, and planned astrology systems with multi-language output.
Overview
The mingli-mcp server is a specialized Model Context Protocol implementation for fortune telling systems. It supports Zi Wei Doushu (Purple Star Astrology) and Bazi (Four Pillars of Destiny) with comprehensive features including birth charts, fortune analysis, and palace examinations. The server uses a modular architecture that makes it easy to extend with additional fortune-telling systems. It offers multiple transport protocols (stdio, HTTP, WebSocket) and supports 6 languages including Chinese, English, Japanese, Korean, and Vietnamese.
Try asking AI
After installing, here are 7 things you can ask your AI assistant:
When to choose this
Choose this server if you need Chinese fortune-telling integration in AI applications, especially for personal insights based on traditional systems like Ziwei or Bazi.
When NOT to choose this
Not suitable if you need Western astrology, comprehensive historical data, or analysis outside traditional Chinese metaphysical systems.
Tools this server exposes
7 tools extracted from the READMEget_ziwei_chart获取紫微斗数完整排盘信息
get_ziwei_fortune获取紫微斗数运势信息
analyze_ziwei_palace分析紫微斗数特定宫位
list_fortune_systems列出所有可用的命理系统
get_bazi_chart获取八字(四柱)排盘信息
get_bazi_fortune获取八字运势信息
analyze_bazi_element分析八字五行强弱
Comparable tools
Installation
Installation
Using uvx (Recommended)
Add to your MCP configuration:
{
"mcpServers": {
"mingli": {
"command": "uvx",
"args": ["mingli-mcp"],
"env": {
"LOG_LEVEL": "INFO"
}
}
}
}From source
git clone https://github.com/spyfree/mingli-mcp
cd mingli-mcp
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txtThen configure your MCP client to use:
{
"mcpServers": {
"mingli": {
"command": "/path/to/venv/bin/python",
"args": ["/path/to/mingli_mcp.py"]
}
}
}FAQ
- What fortune-telling systems are currently supported?
- Currently supports Zi Wei Doushu (Purple Star Astrology) and Bazi (Four Pillars of Destiny). Western astrology is planned for future releases.
- How accurate are the fortune calculations?
- The server uses the iztro-py library which implements traditional calculation methods. Accuracy depends on correct birth date/time input and proper interpretation of results.
- Can I use this with multiple AI assistants?
- Yes, the server supports standard MCP protocol and can be integrated with any MCP-compatible client like Claude Code, Cursor IDE, or custom applications.
Compare mingli-mcp with
Last updated · Auto-generated from public README + GitHub signals.