# ZiWeiHome — Zi Wei Dou Shu Chart Calculator

> ZiWeiHome — Zi Wei Dou Shu Chart Calculator is a paid MCP server for fortune telling. Calculates Zi Wei Dou Shu natal charts, decadal luck and yearly forecasts via MCP. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** Web, API
- **Website:** https://ziweihome.com
- **MCP Registry name:** com.ziweihome/ziwei-chart
- **Categories:** [fortune telling](https://ai-powered.com/categories/fortune-telling)
- **Listing updated:** 2026-11-27

## About

ZiWeiHome is a Zi Wei Dou Shu chart calculator that turns a birth date, birth time, birthplace and gender into a twelve-palace natal chart. Birthplace longitude is used to convert clock time to true solar time before the hour is assigned, so the city matters as much as the date. The chart then shows stars, the Four Transformations and the current decadal period, with the yearly palace marked on the same diagram.

The same calculation is exposed through a remote Model Context Protocol endpoint over streamable HTTP, so an MCP-capable assistant can request charts, stars, transformations and luck periods directly. The site also offers an interpretive reading that walks through each palace and the current ten-year cycle, plus compatibility and date-selection readings.

It suits people who already use traditional Chinese astrology and want a quick, accurate chart, and developers who want to add Zi Wei Dou Shu calculations to an AI assistant or application.

## Features

- **Natal chart calculation:** Builds a twelve-palace chart from birth year, month, day, hour, gender and birthplace.
- **True solar time correction:** Adjusts clock time by birthplace longitude before assigning the birth hour.
- **Four Transformations:** Shows the birth-year, decadal and yearly transformation stars on the chart.
- **Decadal and yearly luck:** Marks the current ten-year period and the palace activated in the current lunar year.
- **MCP endpoint:** Exposes chart calculation to AI clients over streamable HTTP.

## Good for

- Generate a natal chart for a client or family member from birth details
- Let an AI assistant answer questions about palace and star meanings
- Check which ten-year luck period someone is in and what palace it emphasises
- Build a Zi Wei Dou Shu feature into an astrology app

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http ziwei-chart https://ziweihome.com/api/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "ziwei-chart": {
      "type": "http",
      "url": "https://ziweihome.com/api/mcp"
    }
  }
}
```

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

```text
https://ziweihome.com/api/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

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

```json
{
  "mcpServers": {
    "ziwei-chart": {
      "url": "https://ziweihome.com/api/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "ziwei-chart": {
      "type": "http",
      "url": "https://ziweihome.com/api/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://ziweihome.com/api/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add ziwei-chart --url https://ziweihome.com/api/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.ziwei-chart]
url = "https://ziweihome.com/api/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "ziwei-chart": {
      "httpUrl": "https://ziweihome.com/api/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http ziwei-chart https://ziweihome.com/api/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "ziwei-chart": {
      "serverUrl": "https://ziweihome.com/api/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "ziwei-chart": {
      "url": "https://ziweihome.com/api/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "ziwei-chart": {
      "type": "streamableHttp",
      "url": "https://ziweihome.com/api/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "ziwei-chart": {
      "url": "https://ziweihome.com/api/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "ziwei-chart": {
      "url": "https://ziweihome.com/api/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "ziwei-chart": {
      "url": "https://ziweihome.com/api/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "ziwei-chart": {
      "url": "https://ziweihome.com/api/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

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

```sh
https://ziweihome.com/api/mcp
```

Enter a Name (for example "ZiWeiHome — Zi Wei Dou Shu Chart Calculator"), 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": {
    "ziwei-chart": {
      "type": "http",
      "url": "https://ziweihome.com/api/mcp"
    }
  }
}
```

## Tools

The server marks all 2 tools read-only. From the server's own tool labels and tool names; not verified by us.

- `calculate_ziwei_chart` (says read-only): Compute a complete Zi Wei Dou Shu (紫微斗數) natal chart from birth date, birth time or shichen index, and gender. Returns Ming Palace (命宮), Body Palace (身宮), Five Elements Bureau (五行局), Soul/Body Masters, BaZi pillars, Ming Palace San Fang Si Zheng (三方四正), all 12 palaces with stars/brightness/Four Transformations (四化), and all 12 Decadal Luck periods (十年大限).
- `calculate_ziwei_horoscope` (says read-only): Compute Zi Wei Dou Shu time-layer overlays — Decadal (大限), Yearly (流年), Monthly (流月), and Daily (流日) luck palaces, heavenly stems, earthly branches, and Four Transformations (四化) — for a natal chart on a target date (defaults to today in UTC+8).

## FAQ

### What inputs does the chart need?

Calendar type (solar or lunar), year, month, day, gender and birthplace are used, and birth hour can be left unknown, in which case the site lists the hours to compare.

### Why does birthplace matter?

The site uses the birthplace longitude to convert clock time into true solar time before choosing the hour, so the chart can shift if the hour is near a boundary.

### How do I connect to the MCP server?

The remote endpoint is https://ziweihome.com/api/mcp using the streamable-http transport.

### What is the difference between the Zi Wei and Zi Wei spellings?

Both spellings refer to the same system and produce the same chart; the site uses 紫微 following classical texts.

### Is ZiWeiHome — Zi Wei Dou Shu Chart Calculator free?

No. ZiWeiHome — Zi Wei Dou Shu Chart Calculator is a paid product.

### How do I add ZiWeiHome — Zi Wei Dou Shu Chart Calculator to Claude Code?

Run this command in your terminal: claude mcp add --transport http ziwei-chart https://ziweihome.com/api/mcp

### What are the best alternatives to ZiWeiHome — Zi Wei Dou Shu Chart Calculator?

The closest alternatives to ZiWeiHome — Zi Wei Dou Shu Chart Calculator are BaziChart, FateStar Ziwei, FateStar · Zi Wei Dou Shu (紫微斗数), BaziChart and Auspice BaZi — Four Pillars Chart.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 29 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [BaziChart](https://ai-powered.com/mcp/bazichart-2): BaziChart is a free MCP server for astrology.
- [FateStar Ziwei](https://ai-powered.com/mcp/fatestar-ziwei): FateStar Ziwei is a freemium MCP server for agent tooling.
- [FateStar · Zi Wei Dou Shu (紫微斗数)](https://ai-powered.com/mcp/fatestar-zi-wei-dou-shu): FateStar · Zi Wei Dou Shu (紫微斗数) is a freemium MCP server for astrology.
- [BaziChart](https://ai-powered.com/mcp/bazichart): BaziChart is a free MCP server for astrology.
- [Auspice BaZi — Four Pillars Chart](https://ai-powered.com/mcp/auspice-bazi-four-pillars-chart): Auspice BaZi — Four Pillars Chart is a free MCP server for astrology.
- [Chinese Astrology MCP Server by RoxyAPI](https://ai-powered.com/mcp/chinese-astrology-mcp-server-by-roxyapi): Chinese Astrology MCP Server by RoxyAPI is an MCP server for astrology.
- [Fengshui Calculator](https://ai-powered.com/mcp/fengshui-calculator): Fengshui Calculator is an MCP server for fortune telling.
- [Curanz Sounds](https://ai-powered.com/mcp/curanz-sounds): Curanz Sounds is an MCP server for fortune telling.

---
Source: https://ai-powered.com/mcp/ziweihome-zi-wei-dou-shu-chart-calculator
