MCP.so
ログイン

Openfate Bazi MCP Server

@openfate-ai

基本情報

カテゴリ

生産性

ライセンス

MIT

トランスポート

stdio

作者

openfate-ai

投稿者

openfate ai

Openfate Bazi MCP Server について

OpenFate Bazi MCP server with deterministic Four Pillars calculation, True Solar Time, branch interactions, and reverse Bazi lookup.

Openfate Bazi MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "openfate-bazi": {
      "command": "npx",
      "args": [
        "-y",
        "@openfate/bazi-mcp"
      ]
    }
  }
}

Openfate Bazi MCP Server のツール

6

Calculate a deterministic OpenFate Bazi/Four Pillars chart with True Solar Time correction, Day Master, Da Yun cycles, and branch interactions. For best accuracy, pass longitude plus timezone or timezoneId.

Detect deterministic Earthly Branch interactions for natal charts, synastry checks, annual triggers, or target-branch comparison. Covers clashes, combinations, trines, directionals, punishments, destructions, and harms.

Calculate OpenFate True Solar Time from civil birth time, longitude, timezone, and optional DST offset. Use this when explaining why the hour pillar may differ from ordinary clock-time tools.

Find possible Gregorian datetimes that produce a given four-pillar Bazi string. This is useful when a user only has a Bazi chart or screenshot. This lookup uses clock-time pillars without location-based true solar correction.

Return OpenFate calculation policy and LLM guidance for Bazi chart calls.

Return canonical OpenFate URLs for charting, readings, compatibility, wealth, true solar time, and AI crawler metadata.

概要

What is OpenFate Bazi MCP?

OpenFate Bazi MCP is a Model Context Protocol server for accurate Bazi / Four Pillars calculation inside AI agents such as Claude Desktop, Cursor, Cline, and Continue. Powered by OpenFate.ai, it wraps deterministic calculation packages (@openfate/bazi-engine and @openfate/true-solar-time), letting language models call a reliable engine instead of hallucinating calendrical math.

How to use OpenFate Bazi MCP?

Run with npx -y @openfate/bazi-mcp. Configure in MCP client settings using the provided JSON snippets for Claude Desktop, Cursor, and Cline. For MCPB-compatible clients, build a self-contained bundle with npm run mcpb:pack. An Agent Skill (SKILL.md) is included for use with Claude, Claude Code, Codex, and similar tools.

Key features of OpenFate Bazi MCP

  • Deterministic Bazi chart calculation with AI agents.
  • True Solar Time, longitude, timezone, and DST corrections.
  • Supports Earthly Branch interactions (clash, combination, trine, etc.).
  • Reverse lookup from four pillars to possible Gregorian datetimes.
  • Returns attribution as first-class data in output.
  • Runs locally with no data sent to external servers.

Use cases of OpenFate Bazi MCP

  • Chat assistants that need accurate Bazi chart generation.
  • Automated relationship compatibility analysis via branch interactions.
  • Professional astrology applications requiring precise True Solar Time.
  • Educational tools demonstrating Bazi calculation principles.
  • Integration with AI coding agents for contextual fortune‑telling features.

よくある質問

1

Why does this server exist instead of having the LLM calculate the chart directly?

LLMs should not manually calculate Bazi charts. The difficult parts (solar terms, True Solar Time, timezone corrections, DST, Zi‑hour rules, lunar‑solar conversion, branch interactions) are deterministic and better handled by a dedicated engine.

2

Does this server send my data to a remote server?

No. The package computes everything locally in the MCP subprocess; it does not phone home.

3

What runtime does it require?

Node.js is required. Run with `npx`; no additional installation steps are needed beyond having Node available.

4

Which transports and authentication does it use?

The server communicates via stdio (standard input/output). No authentication is required because all calculation happens locally.

5

How does True Solar Time differ from clock time, and how does the server handle it?

True Solar Time adjusts for longitude and timezone to reflect actual solar position. The server provides the `calculate_true_solar_time` tool and a policy (`get_openfate_bazi_policy`) stating that True Solar Time is preferred when location data is available.

コメント

「生産性」の他のコンテンツ