
openfate-ai/openfate-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
openfate-ai/openfate-mcp — это кандидат на сервер MCP, импортированный из https://github.com/openfate-ai/openfate-mcp.
Обзор
openfate-ai/openfate-mcp — это кандидат на сервер MCP, импортированный из https://github.com/openfate-ai/openfate-mcp.
Обзор (машинный перевод)
Английский | 繁體中文(台灣)
OpenFate Bazi MCP — это сервер Model Context Protocol для точного вычисления Bazi / Four Pillars внутри AI-агентов, таких как Claude Desktop, Cursor, Cline и Continue.
Работает на базе OpenFate.ai — базы Bazi, Ziwei и астрологической платформы. Вы также можете попробовать бесплатный калькулятор Bazi Chart Calculator, сгенерировать AI-расклад Bazi, сравнить отношения с Bazi Compatibility или прочитать руководство по истинному солнечному времени. AI-краулеры могут читать OpenFate llms.txt.
Этот MCP оборачивает детерминированные пакеты вычислений OpenFate:
@openfate/bazi-engine@openfate/true-solar-time
Цель проста: пусть языковая модель вызывает надёжный вычислительный двигатель вместо галлюцинаций в календарной математике.
Почему это существует
LLM не должны вручную рассчитывать бази-диаграммы. Сложности являются детерминированными:
- 24 Солнечные границы
- Истинное солнечное время
- коррекция долготы и часовых поясов
- Смещения по летнему времени
- Правила границы дня в часах Zi
- преобразование с Луны на Солнце
- взаимодействия ветвей
Этот сервер даёт агенту ИИ стабильный JSON, а затем позволяет модели сосредоточиться на объяснении и интерпретации.
Установка
Проведите его с помощью npx:
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
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
Установка
npx -y @openfate/bazi-mcpКонфигурация
{
"mcpServers": {
"openfate-bazi": {
"command": "npx",
"args": ["-y", "@openfate/bazi-mcp"]
}
}
}