Mingai MCP logo

Mingai MCP

Runs reproducible divination and calendar calculations through MCP, including BaZi, tarot, astrology, almanac, and other systems.

Install Mingai MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mingai-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "taibu-mcp"
      ],
      "env": {
        "TAIBU_MCP_TOOLS": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y taibu-mcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

@mingai/mcp exposes MingAI's taibu-core calculation engine through MCP for reproducible divination, charting, and calendar results. Its 26 tools cover 11 charting systems plus detailed follow-up operations such as luck cycles, palace analysis, date selection, compatibility, and birth-hour estimation. Use the local stdio package for offline execution with Node.js, or connect to the public streamable HTTP endpoint without authentication. It is suited to AI clients that need computed chart data to interpret rather than asking the model to calculate it manually.

Use cases

  • Generate BaZi and Zi Wei Dou Shu charts for AI-assisted interpretation
  • Inspect luck cycles, palace details, flying stars, or divination lines
  • Select suitable dates using almanac criteria and生肖 conflicts
  • Run tarot, astrology, Qimen, Liuyao, or Meihua calculations
  • Estimate possible birth hours from known BaZi pillars

Key features

  • 26 MCP tools for charting and detailed analysis
  • Offline stdio execution with Node.js
  • Streamable HTTP endpoint
  • BaZi, Zi Wei, divination, tarot, astrology, and almanac support
  • Reduced core tool mode
  • Structured text and canonical JSON calculation output

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

4/4 checks healthy over the last 8d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 8d ago via OSV.dev · taibu-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars824Stargazers on the source repository.
npm downloads1.4kPackage downloads in the last 30 days.
Last commit18d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.

How Mingai MCP works

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:

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

The local configuration is:

config.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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Mingai MCP

@mingai/mcp is an MCP server that connects AI clients to MingAI’s taibu-core calculation engine. Its main tools generate BaZi, Zi Wei Dou Shu, Liuyao, Qimen, tarot, astrology, almanac, and other divination results, plus detailed follow-up analyses such as luck cycles, palace inspection, compatibility, and date selection.

Run it through `npx -y taibu-mcp` in an MCP client configuration. The local server uses stdio and runs offline with Node.js, so no separate database or API key is needed for this mode.

Yes. The public streamable HTTP endpoint requires no OAuth, API key, or session header, and the local stdio server runs offline without credentials.

Set `TAIBU_MCP_TOOLS` to `core` for the local stdio server. This exposes the 11 primary charting tools instead of the full set; the remote equivalent is `https://mcp.mingai.fun/mcp/core`.

Yes. Cursor is named as a supported MCP client, and the server can be configured there using either the stdio command or the streamable HTTP endpoint.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMingai MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mingai-mcp?style=directory)](https://allmcps.com/mcp/mingai-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/mingai-mcp"><img src="https://allmcps.com/api/badge/mingai-mcp?style=directory" alt="Mingai MCP on AllMCPs" /></a>