# Ziwei & Bazi Astrology

Generate Ziwei Doushu and Bazi charts with insights into palaces, stars, and the five elements. Explore fortunes across decades, years, months, days, and hours to time decisions and plan ahead. Compa…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add spyfree/mingli-mcp

# Browse available tools
npx -y @smithery/cli@latest tool list spyfree/mingli-mcp

# Get full schema for a tool
npx -y @smithery/cli@latest tool get spyfree/mingli-mcp get_ziwei_chart

# Call a tool
npx -y @smithery/cli@latest tool call spyfree/mingli-mcp get_ziwei_chart '{}'
```

## Direct MCP Connection

Endpoint: `https://mingli-mcp--spyfree.run.tools`

## Tools (7)

- `get_ziwei_chart` — 获取紫微斗数排盘信息，包含命盘十二宫、主星、辅星、四化等详细信息
- `get_ziwei_fortune` — 获取紫微斗数运势信息，包含大限、流年、流月、流日、流时的运势详情
- `analyze_ziwei_palace` — 分析紫微斗数特定宫位的详细信息
- `list_fortune_systems` — 列出所有可用的命理系统（紫微斗数、八字、占星等）
- `get_bazi_chart` — 获取八字（四柱）排盘信息，包含年月日时四柱、十神、五行、地支藏干等详细信息
- `get_bazi_fortune` — 获取八字运势信息，包含大运、流年等详情
- `analyze_bazi_element` — 分析八字五行强弱，包含五行分数、平衡度、缺失五行等

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get spyfree/mingli-mcp <tool-name>
```

## Prompts (3)

- `ziwei_basic_reading` — 你是一位经验丰富的紫微斗数命理师，擅长解读紫微斗数命盘。
- `bazi_fortune_analysis` — 你是一位精通八字命理的分析师，能够根据四柱八字进行全面的人生分析。
- `fortune_consultation_guide` — 你是一位专业且富有同情心的命理咨询师，为来访者提供人生指导和建议。

---

Source: https://github.com/spyfree/mingli-mcp
