# BaziChart

BaziChart is an MCP server for Claude Code that calculates BaZi and Zi Wei Dou Shu charts from birth details. It applies true-solar-time corrections to chart requests.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 1 repo stars
- Author: bazichart
- License: CC-BY-4.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/bazichart/bazichart-mcp
- Updated: 2026-11-17
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/bazichart

## What it does

BaziChart sends birth details to a hosted MCP service and returns calculated BaZi or Zi Wei Dou Shu chart data. BaZi results include the four pillars and luck cycles; Zi Wei Dou Shu results contain natal-chart structure. The server does not interpret charts or make predictions.

Its time adjustment uses birthplace longitude, local time zone, the equation of time and daylight-saving changes, with the adjustments included in the response. The calculation needs a birth date and local time, gender, and birthplace longitude. BaZi supports birth years from 1900 to 2100. Connect to `https://mcp.bazichart.ai/mcp`; no API key or account is required.

## Requirements
- Remote server: `https://mcp.bazichart.ai/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http bazichart-mcp https://mcp.bazichart.ai/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add bazichart --url https://mcp.bazichart.ai/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "bazichart": {
            "url": "https://mcp.bazichart.ai/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "bazichart": {
            "type": "http",
            "url": "https://mcp.bazichart.ai/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http bazichart https://mcp.bazichart.ai/mcp
```

## When to use it
- calculate a BaZi chart from birth details
- generate a Zi Wei Dou Shu natal chart
- apply true-solar-time adjustments to a birth time
- retrieve BaZi pillars and luck-cycle data

## Example prompts
- Calculate my BaZi chart using my birth date, local time, birthplace and gender.
- Generate a Zi Wei Dou Shu chart for a birth in Taipei using local time.
- Recalculate my BaZi chart with the day boundary set to midnight.

## Similar
- [Ziwei & Bazi Astrology](https://affpapa.org/en/nevibecode/mcp/ziwei-bazi-astrology.md) — MCP server · 976 installs
- [bazi-reader-mcp](https://affpapa.org/en/nevibecode/mcp/bazi-reader-mcp.md) — MCP server · 587 installs
- [OpenFate Bazi MCP](https://affpapa.org/en/nevibecode/mcp/openfate-bazi-mcp.md) — MCP server · ★ 162 repo stars
- [AI Divination Skills](https://affpapa.org/en/nevibecode/mcp/ai-divination-skills.md) — MCP server · ★ 6 repo stars
- [mythsensus](https://affpapa.org/en/nevibecode/mcp/mythsensus.md) — MCP server · 385 installs
- [bazi-skill-chinese-astrology](https://affpapa.org/en/nevibecode/skills/bazi-skill-chinese-astrology.md) — skill · 953 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
