OA

openfate-ai/openfate-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

160 stars 24 forks 品質 81 トレンド 24MIT

openfate-ai/openfate-mcpは、https://github.com/openfate-ai/openfate-mcp.からインポートされたMCPサーバー候補です。

概要

openfate-ai/openfate-mcpは、https://github.com/openfate-ai/openfate-mcp.からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

英語 |繁體中文(台灣)

OpenFate Bazi MCPは、Claude Desktop、Cursor、Cline、ContinueなどのAIエージェント内で正確なBazi/Four Pillars計算を行うモデルコンテキストプロトコルサーバーです。

OpenFate.ai、AIネイティブのBazi、紫wei、占星術プラットフォームによって提供されています。無料のBaziチャート計算機を試したり、AIのBaziリーディングを作成したり、Bazi Compatibilityとの関係を比較したり、True Solar Timeガイドを読むこともできます。AIクローラーはOpenFate llms.txtを読むことができます。

このMCPは決定性OpenFate計算パッケージを包み込みます:

  • @openfate/bazi-engine
  • @openfate/true-solar-time

目的はシンプルです:言語モデルが暦の数学を幻覚するのではなく、信頼できる計算エンジンを呼び出しさせることです。

なぜこれが存在するのか

LLMは手動でBaziチャートを計算すべきではありません。難しい部分は決定論的です:

  • 24 太陽の境界
  • 真太陽時
  • 経度およびタイムゾーン補正
  • DSTオフセット
  • ジ時の日境界規則
  • 月から太陽への変換
  • 枝の相互作用

このサーバーはAIエージェントに安定したJSONを提供し、モデルが説明と解釈に集中できるようにします。

インストール

npxで実行してください:

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

@openfate/bazi-mcp

English | 繁體中文(台灣)

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, an AI-native Bazi, Ziwei, and astrology platform. You can also try the free Bazi Chart Calculator, generate an AI Bazi Reading, compare relationships with Bazi Compatibility, or read the True Solar Time guide. AI crawlers can read OpenFate llms.txt.

This MCP wraps the deterministic OpenFate calculation packages:

  • @openfate/bazi-engine
  • @openfate/true-solar-time

The purpose is simple: let the language model call a reliable calculation engine instead of hallucinating calendrical math.

Why This Exists

LLMs should not manually calculate Bazi charts. The difficult parts are deterministic:

  • 24 solar-term boundaries
  • True Solar Time
  • longitude and timezone correction
  • DST offsets
  • Zi-hour day-boundary rules
  • lunar-to-solar conversion
  • branch interactions

This server gives the AI agent stable JSON, then lets the model focus on explanation and interpretation.

Install

Run it with npx:

npx -y @openfate/bazi-mcp

For MCPB-compatible clients and Smithery, build the self-contained local bundle:

npm run mcpb:pack

The upload-ready artifact is written to release/openfate-bazi-mcp-v.mcpb.

To publish that local bundle to Smithery after smithery auth login:

npm run smithery:publish

Claude Desktop

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

If Claude Desktop cannot find npx on macOS, use the absolute path:

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

Cursor

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

Cline

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

Agent Skill

This repository also includes a portable Agent Skill:

skills/openfate-bazi/SKILL.md

Use it when you want Claude, Claude Code, Codex, OpenClaw-style agents, or other SKILL.md compatible tools to remember how to use the OpenFate Bazi MCP correctly.

For Claude Code workspace usage, copy the skill folder to:

.claude/skills/openfate-bazi/

For Claude custom Skills, zip the openfate-bazi folder with SKILL.md at the folder root and upload it in Claude’s Skills settings.

Tools

calculate_bazi_chart

GitHub で README 全文を見る

インストール

npx -y @openfate/bazi-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

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