世运引擎 · shiyun-engine
Deterministic BaZi era-luck overlay engine for developers, with a values layer
世运引擎 · shiyun-engine is an open-source MCP server for astrology. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- API, CLI, Self-hosted
- Runs
- Locally
- Version
- 0.7.1
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add shiyun-engine -- npx -y shiyun-engineAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"shiyun-engine": {
"command": "npx",
"args": [
"-y",
"shiyun-engine"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"shiyun-engine": {
"command": "npx",
"args": [
"-y",
"shiyun-engine"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"shiyun-engine": {
"command": "npx",
"args": [
"-y",
"shiyun-engine"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"shiyun-engine": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"shiyun-engine"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add shiyun-engine -- npx -y shiyun-engineOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.shiyun-engine]
command = "npx"
args = ["-y", "shiyun-engine"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"shiyun-engine": {
"command": "npx",
"args": [
"-y",
"shiyun-engine"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "shiyun-engine": { "command": "npx", "args": [ "-y", "shiyun-engine" ] } } }Or run: gemini mcp add -s user shiyun-engine npx -- -y shiyun-engine
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "shiyun-engine": { "command": "npx", "args": [ "-y", "shiyun-engine" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "shiyun-engine": { "command": "npx", "args": [ "-y", "shiyun-engine" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "shiyun-engine": { "command": "npx", "args": [ "-y", "shiyun-engine" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "shiyun-engine": { "command": "npx", "args": [ "-y", "shiyun-engine" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "shiyun-engine": { "command": "npx", "args": [ "-y", "shiyun-engine" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "shiyun-engine": { "command": "npx", "args": [ "-y", "shiyun-engine" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "shiyun-engine": { "command": "npx", "args": [ "-y", "shiyun-engine" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About 世运引擎 · shiyun-engine
This MCP server packages a rule-based overlay model that scores how a BaZi chart relates to the Three Yuan Nine Periods era cycle. It judges whether a chart needs earth in the 8th period or fire and metal-water in the 9th, based on useful gods rather than raw element counts. Output is a set of structured verdict keys, so integrators can map results into their own wording.
The engine also includes a meaning-oriented layer that adds dual-axis judgment for the 9th period, alongside a "stagnant" state for charts whose energy flows but has no clear direction. A companion values document explains how the keys are meant to be used. The package is a base edition; the full commercial rule set is not included.
It suits developers building fortune-telling or chart-reading products who want a transparent, reusable calculation core rather than a finished reading. It runs with zero dependencies on Node 18+ or in browser ESM, and is installed from npm.
What it does
- Era cycle lookup
- Returns the era, its element, phase label and supply characteristics for a given year.
- Useful-god overlay scoring
- Classifies a chart against the 8th and 9th periods using needed elements and flow signals.
- Structured verdict keys
- Outputs machine-readable keys such as buried, propped or stagnant for integrators to localise.
- Da yun segment overlay
- Maps decade-long pillars onto era spans and flags sweet-spot segments.
- Year marker flags
- Identifies summary years and transition windows that overlap era changes.
- Zero-dependency package
- Runs on Node 18+ and in browser ES modules with no external dependencies.
Good for
- Adding era-based overlays to an existing BaZi chart calculator
- Generating structured verdicts that a fortune-telling app can translate into its own text
- Checking whether a chart's needs align with the current or upcoming era
- Prototyping chart analysis logic before building a full commercial reading engine
Pricing
Open source
Free and open source under Apache-2.0; no paid hosted plan listed.
世运引擎 · shiyun-engine FAQ
How do I install 世运引擎 · shiyun-engine?
Install from npm with npm install shiyun-engine, or import the source directly. It has no dependencies and works on Node 18 or later and in browser ES modules.
Does 世运引擎 · shiyun-engine produce written readings?
No. It outputs verdict keys and values yardsticks, and the integrating application maps them into its own language.
Is the full commercial rule set included?
No. This package is the base edition, and the complete judgment version of the author's platform is not part of it or for sale.
Where can I report bugs or discuss calibration?
Use the GitHub Issues page of the repository for bug reports and rule calibration discussion.
Is 世运引擎 · shiyun-engine free?
Yes. 世运引擎 · shiyun-engine is open source, so you can use and self-host it for free.
How do I add 世运引擎 · shiyun-engine to Claude Code?
Run this command in your terminal: claude mcp add shiyun-engine -- npx -y shiyun-engine
What are the best alternatives to 世运引擎 · shiyun-engine?
The closest alternatives to 世运引擎 · shiyun-engine are Yuanzi Zhiyi Bazi Agent Kit, BaziChart, Freebazi, Qimen Dunjia & BaZi Charts and OpenFate Bazi MCP.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.
