# Qimena Qi Men Dun Jia & BaZi

> Qimena Qi Men Dun Jia & BaZi is a free MCP server for astrology. Free Qi Men Dun Jia charts, BaZi pillars, best hours and solar terms for AI assistants. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** API
- **Website:** https://qimena.com/en/wiki/qimena-mcp/
- **Repository:** https://github.com/david-rider/qimena-mcp
- **MCP Registry name:** io.github.David-rider/qimena-mcp
- **Categories:** [astrology](https://ai-powered.com/categories/astrology)
- **Listing updated:** 2026-11-15

## About

The tools are deterministic calculations with no AI model behind them, using the same engine as the qimena.com site. The server only computes; interpretation is left to the connected assistant. Nothing sent is stored.

qimen_chart casts an hour-based Qi Men Dun Jia chart for a moment and place, with the four pillars, ju, Chief Star and Door, per-palace details, patterns, palace scores and lucky directions for a focus of general, career, wealth or love. bazi_pillars converts a birth time to true solar time, with daylight saving removed, and returns the pillars, Day Master and five-element counts. best_times ranks double-hours over the next one to seven days, and solar_terms lists the 24 terms for any year from 1900 to 2100.

Times are given in an IANA time zone, and if longitude is omitted the zone's standard meridian is used. Each address is limited to about 60 requests a minute, and results are for cultural and reference use.

## Features

- **Qi Men charts:** Casts a chart with palaces, patterns and lucky directions.
- **BaZi pillars:** Four Pillars with true solar time, Day Master and element counts.
- **Best times:** Ranks upcoming double-hours for a goal.
- **Solar terms:** 24 terms for 1900 to 2100 in UTC and Beijing time.
- **Stateless and keyless:** No authentication, and nothing is stored.

## Good for

- Cast a Qi Men chart for a meeting time and city
- Compute BaZi pillars from a birth time
- Find favourable hours over the next week
- Look up the date of Li Chun in a given year

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http qimena-mcp https://qimena.com/mcp
```

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

```sh
https://qimena.com/mcp
```

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

```json
{
  "mcpServers": {
    "qimena-mcp": {
      "url": "https://qimena.com/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "qimena-mcp": {
      "type": "http",
      "url": "https://qimena.com/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "qimena-mcp": {
      "serverUrl": "https://qimena.com/mcp"
    }
  }
}
```

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

```sh
https://qimena.com/mcp
```

Enter a Name (for example "Qimena Qi Men Dun Jia & BaZi"), 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": {
    "qimena-mcp": {
      "type": "http",
      "url": "https://qimena.com/mcp"
    }
  }
}
```

## Tools

- `qimen_chart`: Cast a Qi Men Dun Jia chart for a moment and place
- `bazi_pillars`: Compute BaZi Four Pillars from a birth time
- `best_times`: Rank the best double-hours over the next 1 to 7 days for a goal
- `solar_terms`: List the 24 solar terms of a year

## FAQ

### Does it cost anything?

No. It is free and needs no key or sign-up.

### Are birth details stored?

No, results are returned in the same request.

### What are the limits?

About 60 requests a minute per address.

### Does it write readings?

No, it calculates only; the assistant interprets.

### How accurate are solar terms?

Within about a minute of the Hong Kong Observatory.

### Is Qimena Qi Men Dun Jia & BaZi free?

Yes. Qimena Qi Men Dun Jia & BaZi is free to use.

### How do I add Qimena Qi Men Dun Jia & BaZi to Claude Code?

Run this command in your terminal: claude mcp add --transport http qimena-mcp https://qimena.com/mcp

### What are the best alternatives to Qimena Qi Men Dun Jia & BaZi?

The closest alternatives to Qimena Qi Men Dun Jia & BaZi are Qimen Dunjia & BaZi Charts, 小道 Xiaodao, 九玄宫奇门遁甲排盘, BaziTools — True Solar Time BaZi Four Pillars & Classical Chinese Name Engine and BaziChart.

## 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

- [Qimen Dunjia & BaZi Charts](https://ai-powered.com/mcp/qimen-dunjia-and-bazi-charts): Qimen Dunjia & BaZi Charts 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.
- [BaziTools — True Solar Time BaZi Four Pillars & Classical Chinese Name Engine](https://ai-powered.com/mcp/bazitools-true-solar-time-bazi-four-pillars-and-classical-ch): BaziTools — True Solar Time BaZi Four Pillars & Classical Chinese Name Engine is a free MCP server for astrology.
- [BaziChart](https://ai-powered.com/mcp/bazichart): BaziChart is a free 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.
- [Ancient Echoes](https://ai-powered.com/mcp/ancient-echoes): Ancient Echoes is a freemium MCP server for astrology.

---
Source: https://ai-powered.com/mcp/qimena-qi-men-dun-jia-and-bazi
