# Mingai MCP [Health: Active]

**Category:** 🔮 Spirituality & Esoterica  
**Repository:** https://github.com/hhszzzz/MingAI  
**GitHub Stars:** 824  
**npm Downloads (last month):** 1426  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mingai-mcp

## Description
命理分析 Agent，涵盖八字、紫微、六爻、梅花、奇门、大/小六壬、占星术、太乙神数、塔罗、MBTI、面/手相、合盘、每日/每月运势、周公解梦等。支持MCP和Skills

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "mingai-mcp": {
    "command": "npx",
    "args": ["-y","taibu-mcp"],
    "env": {
      "TAIBU_MCP_TOOLS": ""
    }
  }
}
```

**Requires environment variables:** `TAIBU_MCP_TOOLS` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What @mingai/mcp does

@mingai/mcp connects MCP-compatible AI clients to the MingAI taibu-core engine for traditional Chinese and Western divination calculations. The engine produces structured text and canonical JSON for reproducible results, leaving interpretation to the consuming model or application.

Supported systems include BaZi, Zi Wei Dou Shu, Liuyao, Meihua Yishu, Qimen Dunjia, Da Liu Ren, Xiao Liu Ren, Taiyi, tarot, Western astrology, and almanac calculations. The broader platform also covers relationship charts, MBTI, face and palm image interpretation, dream interpretation, daily and monthly readings, and annual reports; the listed MCP tools focus on the calculation and analysis operations.

## How it works

The package exposes 26 tools: 11 primary charting tools and 15 lower-frequency tools for detailed inspection, luck cycles, compatibility, date selection, and related calculations. Results are intended to provide a factual computational basis for an AI response. For example, a client can request a BaZi chart, then inspect its five-element balance or scan relationships across future years.

The local transport uses MCP over stdio and can run fully offline. The public deployment uses streamable HTTP at `https://mcp.mingai.fun/mcp`; it accepts requests without OAuth, an API key, or a session header. A reduced HTTP path, `/mcp/core`, exposes only the 11 primary charting tools for clients that cannot load tools on demand.

## Setup and configuration

For local use, configure an MCP client to run `npx -y taibu-mcp`. Node.js is the only runtime requirement stated for the local server. The optional `TAIBU_MCP_TOOLS` environment variable can be set to `core` to expose the same reduced tool set as the `/mcp/core` endpoint.

A remote client can use this configuration:

```json
{
  "mcpServers": {
    "taibu": {
      "type": "streamable-http",
      "url": "https://mcp.mingai.fun/mcp"
    }
  }
}
```

The local configuration is:

```json
{
  "mcpServers": {
    "taibu": {
      "command": "npx",
      "args": ["-y", "taibu-mcp"]
    }
  }
}
```

## Tools and capabilities

The primary tools cover:

- BaZi, Zi Wei Dou Shu, Liuyao, Meihua Yishu, Qimen Dunjia, Da Liu Ren, Xiao Liu Ren, Taiyi, tarot, Western astrology, and almanac calculations.
- BaZi pillar reverse lookup, dayun and liunian analysis, relationship analysis, five-element inspection, compatibility, and birth-hour candidates.
- Zi Wei luck periods, flying stars, and palace details.
- Liuyao line inspection, Qimen palace details, astrology point analysis, Da Liu Ren lesson details, and almanac date selection.

Inputs can represent Gregorian or lunar dates where supported, along with birth times, locations or time zones, divination numbers, question details, and other system-specific parameters.

## Limitations and notes

The MCP server performs calculations and returns tool results; interpretation is supplied by the AI client or another application. The reduced `core` mode omits the lower-frequency tools, which must then be accessed through the server's tool-discovery and tool-call mechanism when available. The public endpoint is unauthenticated, while the local stdio mode is the option for offline execution.

_Full upstream README: https://allmcps.com/mcp/mingai-mcp/readme_

