# Qimen Dunjia & BaZi Charts

> Qimen Dunjia & BaZi Charts is a free MCP server for astrology. Free deterministic Qimen Dunjia and BaZi chart calculations for your AI assistant. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** Web, API
- **Website:** https://qimenseek.aicreditsapi.com/mcp.html
- **Repository:** https://github.com/wyl743405571-cpu/qimen-dunjia-engine
- **MCP Registry name:** io.github.wyl743405571-cpu/qimen-dunjia-engine
- **Categories:** [astrology](https://ai-powered.com/categories/astrology)
- **Listing updated:** 2026-11-14

## About

Two calculators are exposed here, both running the same rules engine as the QiMenSeek website. The Qimen tool takes a date and time and returns the nine-palace layout with stars, doors, gods and the earth and heaven plates, the duty star and door, void branches and horse stars, detected formations and a rule-based reading. The BaZi tool takes a birth date and time and returns the four pillars with hidden stems and ten gods, an evidence trail for day-master strength, the chart pattern with a rating, favourable elements and the current luck cycle. Both support Chinese and English output.

The engine is deterministic: it makes no AI calls, so the same input always gives the same chart. The repository describes a classical rule set, with Zhirun, Chaibu and Shen Jie Qi methods and 41 detected formations, and reports a 44,064-chart sweep with no crashes and no invariant violations, with scripts to reproduce it. Its scope is chart calculation, not interpretation.

The endpoint is stateless, needs no sign-in or key, and allows 60 requests per IP per hour. The site says charts are computed in memory and birth data is not stored. AI-written interpretation is not yet available over MCP.

## Features

- **Qimen nine-palace charts:** Returns palaces, stars, doors, gods, plates, duty star and door, void branches and formations.
- **BaZi four pillars:** Gives pillars with hidden stems and ten gods, favourable elements and the current luck cycle.
- **Deterministic engine:** No AI is involved, so identical input yields an identical chart.
- **Bilingual output:** Results are available in Chinese and English.
- **Public verification:** Engine source and validation scripts are published for checking.
- **No quota use:** Both tools are free and consume no quota.

## Good for

- Generate a BaZi chart from a birth date and time
- Produce a Qimen chart for a given moment
- Feed a chart into an assistant for discussion
- Compare Zhirun and Chaibu results
- Check chart output against a reproducible engine

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http qimen-dunjia-engine https://qimenseek.aicreditsapi.com/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://qimenseek.aicreditsapi.com/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "qimen-dunjia-engine": {
      "url": "https://qimenseek.aicreditsapi.com/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "qimen-dunjia-engine": {
      "type": "http",
      "url": "https://qimenseek.aicreditsapi.com/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "qimen-dunjia-engine": {
      "serverUrl": "https://qimenseek.aicreditsapi.com/mcp"
    }
  }
}
```

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://qimenseek.aicreditsapi.com/mcp
```

Enter a Name (for example "Qimen Dunjia & BaZi Charts"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "qimen-dunjia-engine": {
      "type": "http",
      "url": "https://qimenseek.aicreditsapi.com/mcp"
    }
  }
}
```

## Tools

- `qimen_pan`: Qimen Dunjia chart for a date and time: nine palaces, stars, doors, gods, formations and rule-based reading.
- `bazi_chart`: BaZi chart for a birth date and time: four pillars, day-master strength evidence, pattern, favourable elements and current luck cycle.

## FAQ

### Do I need an account or API key?

No. The site says no registration or key is needed.

### What are the limits?

60 requests per IP per hour.

### Is birth data stored?

The site says charts are computed in memory and not stored.

### Does it interpret the charts?

The tools return rule-based readings, but AI-written deep interpretation is not yet offered over MCP.

### Is Qimen Dunjia & BaZi Charts free?

Yes. Qimen Dunjia & BaZi Charts is free to use.

### How do I add Qimen Dunjia & BaZi Charts to Claude Code?

Run this command in your terminal: claude mcp add --transport http qimen-dunjia-engine https://qimenseek.aicreditsapi.com/mcp

### What are the best alternatives to Qimen Dunjia & BaZi Charts?

The closest alternatives to Qimen Dunjia & BaZi Charts are Qimena Qi Men Dun Jia & BaZi, 小道 Xiaodao, 九玄宫奇门遁甲排盘, Multifate chart calculator and Ancient Echoes.

## Where this comes from

- Description: written from the project's README and the project's website.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Qimena Qi Men Dun Jia & BaZi](https://ai-powered.com/mcp/qimena-qi-men-dun-jia-and-bazi): Qimena Qi Men Dun Jia & BaZi is a free MCP server for astrology.
- [小道 Xiaodao](https://ai-powered.com/mcp/xiaodao): 小道 Xiaodao is a free MCP server for astrology.
- [九玄宫奇门遁甲排盘](https://ai-powered.com/mcp/listing-mwfa8ysi): 九玄宫奇门遁甲排盘 is a free MCP server for astrology.
- [Multifate chart calculator](https://ai-powered.com/mcp/multifate-chart-calculator): Multifate chart calculator is a freemium MCP server for astrology.
- [Ancient Echoes](https://ai-powered.com/mcp/ancient-echoes): Ancient Echoes is a freemium MCP server for astrology.
- [Get Chinese Astrology](https://ai-powered.com/mcp/get-chinese-astrology): Get Chinese Astrology is a free MCP server for astrology.
- [InsightBaZi](https://ai-powered.com/mcp/insightbazi): InsightBaZi is a freemium MCP server for astrology.
- [Wenbu · 问卜](https://ai-powered.com/mcp/wenbu): Wenbu · 问卜 is an open-source MCP server for astrology.

---
Source: https://ai-powered.com/mcp/qimen-dunjia-and-bazi-charts
