# bazi-chart

> bazi-chart is an open-source MCP server. Chinese BaZi Four Pillars engine: precise solar terms, true-solar-time, lunar, patterns, offline. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Website:** https://liyooh007.github.io/bazi-chart/demo.html
- **Repository:** https://github.com/liyooh007/bazi-chart
- **MCP Registry name:** io.github.liyooh007/bazi-chart
- **Listing updated:** 2026-11-13

## About

Chinese BaZi Four Pillars engine: precise solar terms, true-solar-time, lunar, patterns, offline.

## Install

### Claude Code (Terminal)

```sh
claude mcp add bazi-chart -- uvx bazi-chart
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "bazi-chart": {
      "command": "uvx",
      "args": [
        "bazi-chart"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "bazi-chart": {
      "command": "uvx",
      "args": [
        "bazi-chart"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "bazi-chart": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "bazi-chart"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "bazi-chart": {
      "command": "uvx",
      "args": [
        "bazi-chart"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "bazi-chart": {
      "command": "uvx",
      "args": [
        "bazi-chart"
      ]
    }
  }
}
```

## FAQ

### Is bazi-chart free?

Yes. bazi-chart is open source, so you can use and self-host it for free.

### How do I add bazi-chart to Claude Code?

Run this command in your terminal: claude mcp add bazi-chart -- uvx bazi-chart

---
Source: https://ai-powered.com/mcp/bazi-chart
