Back to MCP Directory
Bazi
Model Context Protocol moderate risk

Bazi

The Bazi MCP provides accurate Bazi (八字) calculations for personality analysis and destiny forecasting, integrating with AI agents and offering both solar and lunar calendar support.

Connections & Capabilities

Connects To

GitHub

Capabilities

read

Quickstart

Install

npx -y @smithery/cli install @cantian-ai/bazi-mcp --client claude

Config

{
  "mcpServers": {
    "Bazi": {
      "command": "npx",
      "args": ["bazi-mcp"]
    }
  }
}

Exposed MCP Tools (3)

safe
getBaziDetail

Calculates detailed Bazi information based on a given solar or lunar datetime.

Primarily a read operation, performing calculations based on provided input.

safe
getSolarTimes

Returns a list of possible solar calendar datetimes based on a given Bazi.

Read-only operation that returns possible datetimes.

safe
getChineseCalendar

Retrieves Chinese calendar information for a specified solar calendar date.

Read-only operation that retrieves calendar information.

Safety Assessment

The Bazi MCP is relatively safe for general use, as it primarily focuses on calculations and data retrieval. However, careful input validation and secure deployment practices are necessary to mitigate potential risks associated with data injection and external dependencies. Stdio transport is safer than HTTP.

  • Primarily read-only operations.
  • No direct execution of system commands.
  • Limited write operations, focused on data retrieval and calculation.
  • No apparent access to sensitive system resources or secrets.
  • Potential for data injection if input validation is insufficient.
  • Reliance on external libraries for date/time calculations could introduce vulnerabilities.
  • Exposure via HTTP or Stdio could be exploited if not properly secured.
  • Incorrect Bazi calculations could lead to misinformed decisions.