@guanxing1/mcp-server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@guanxing1/mcp-server Analyze my BaZi chart — born March 15, 1990 at 2pm"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@guanxing1/mcp-server
MCP server for 观星 (GuanXing) — AI-powered Chinese metaphysics tools for LLM assistants.
Give your AI assistant access to BaZi (八字), Tarot, I-Ching divination (求签), Feng Shui, dream interpretation, Chinese almanac, and more — all through the Model Context Protocol.
What is 观星 (GuanXing)?
GuanXing is an AI-powered Chinese metaphysics platform that combines thousands of years of Eastern wisdom with modern AI. It provides accurate, personalized readings across multiple metaphysics disciplines — from Four Pillars destiny analysis to tarot card readings.
This MCP server connects your AI assistant (Claude, GPT, etc.) directly to GuanXing's API, so you can ask questions like:
"What does my BaZi chart say about my career?"
"Draw me a tarot spread for my relationship question"
"Is today auspicious for signing a contract?"
"Analyze the feng shui of my home office facing south"
Related MCP server: timemap-mcp
Available Tools
Tool | Description |
| Analyze Chinese Four Pillars (八字) based on birth date and time. Returns heavenly stems, earthly branches, five elements, and day master analysis. |
| Personalized daily fortune by zodiac sign. Scores for career, love, wealth, health, plus lucky color and number. |
| Draw a divine lot (求签) — traditional temple fortune stick divination with poem and interpretation. Choose Guanyin or Guandi style. |
| Chinese almanac (黄历) lookup. Lunar date, auspicious/inauspicious activities, hourly fortune, and daily summary. |
| Dream interpretation combining Zhou Gong (周公解梦) tradition with modern psychology. Symbols, meaning, and advice. |
| Tarot card reading with single-card, three-card, or Celtic cross spreads. Full card meanings and comprehensive interpretation. |
| Chinese name scoring using Five Grid numerology (五格剖象法). Total score, grid breakdown, and five elements analysis. |
| Feng shui assessment for home, office, or shop. Score, suggestions, lucky items, and things to avoid. |
| Compatibility analysis between two people based on birth info, zodiac, or names. Multi-dimensional scoring. |
| In-depth zodiac sign analysis — personality traits, element, ruling planet, and sign compatibility. |
| Browse the latest community posts on GuanXing. |
| Create a new post in the GuanXing community. |
Quick Start
1. Get an API Key
Register at heartai.zeabur.app and create an API key in your developer settings.
2. Configure Your MCP Client
Add the server to your MCP client configuration:
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"guanxing": {
"command": "npx",
"args": ["-y", "@guanxing1/mcp-server"],
"env": {
"GUANXING_API_KEY": "your-api-key-here"
}
}
}
}Claude Code (CLI)
Edit ~/.claude/settings.json or .mcp.json in your project:
{
"mcpServers": {
"guanxing": {
"command": "npx",
"args": ["-y", "@guanxing1/mcp-server"],
"env": {
"GUANXING_API_KEY": "your-api-key-here"
}
}
}
}Cursor
Open Settings > MCP and add:
{
"guanxing": {
"command": "npx",
"args": ["-y", "@guanxing1/mcp-server"],
"env": {
"GUANXING_API_KEY": "your-api-key-here"
}
}
}Cline (VS Code)
Edit your Cline MCP settings:
{
"mcpServers": {
"guanxing": {
"command": "npx",
"args": ["-y", "@guanxing1/mcp-server"],
"env": {
"GUANXING_API_KEY": "your-api-key-here"
}
}
}
}Windsurf
Edit ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"guanxing": {
"command": "npx",
"args": ["-y", "@guanxing1/mcp-server"],
"env": {
"GUANXING_API_KEY": "your-api-key-here"
}
}
}
}3. Start Using It
Once configured, just ask your AI assistant naturally:
"Analyze my BaZi chart — I was born on March 15, 1990 at 2pm"
"What does the Chinese almanac say about today?"
"Do a three-card tarot reading about my career change"
Example Responses
BaZi Analysis
User: Analyze my birth chart — born 1990-05-15 at 14:00
→ Tool: bazi_analysis({ birthDate: "1990-05-15", birthHour: 14 })
→ Returns: Four Pillars chart with heavenly stems/earthly branches,
five elements breakdown (金2 木1 水1 火1 土3), day master analysis,
and personalized life readingTarot Reading
User: Draw a three-card spread about my relationship
→ Tool: tarot({ question: "relationship outlook", spread: "three" })
→ Returns: Three cards with names, positions (upright/reversed),
individual meanings, and a comprehensive interpretationChinese Almanac
User: Is today a good day to sign a contract?
→ Tool: almanac({ date: "2026-03-17" })
→ Returns: Lunar date, auspicious activities (宜), inauspicious activities (忌),
hourly fortune breakdown, and daily summaryEnvironment Variables
Variable | Required | Description |
| Yes | Your GuanXing API key. Get one at heartai.zeabur.app |
Development
# Clone
git clone https://github.com/doggychip/guanxing-mcp.git
cd guanxing-mcp
# Install & build
npm install
npm run build
# Run locally
GUANXING_API_KEY=your-key node dist/index.jsHow It Works
This package implements the Model Context Protocol (MCP) standard using stdio transport — the standard for MCP CLI tools. When an MCP client (like Claude Desktop) starts this server, it communicates over stdin/stdout to discover and invoke tools.
Each tool call is forwarded to the GuanXing API at https://heartai.zeabur.app/api/v1/... with your API key for authentication. The AI-generated metaphysics readings are returned directly to your assistant for natural conversation.
License
MIT
Available Tools
12 toolsalmanacA
Look up the Chinese almanac (黄历/万年历) for a given date. Returns lunar date, auspicious/inauspicious activities, five elements, and more.
Inputs: date.
bazi_analysisA
Analyze Chinese Four Pillars (BaZi / 八字) based on birth date and time. Returns heavenly stems, earthly branches, five elements breakdown, day master, and detailed analysis.
Inputs: birthDate (required), name, birthHour.
community_browseB
Browse the latest community posts on GuanXing. Returns up to 20 recent posts with authors and engagement counts.
Inputs: no named parameters.
community_postB
Create a new post in the GuanXing community. Share thoughts, ask questions, or offer encouragement.
Inputs: content (required), tag.
compatibilityB
Analyze compatibility between two people based on their birth info, zodiac, or names. Returns score, dimensional analysis, and relationship advice.
Inputs: person1 (required), person2 (required).
daily_fortuneC
Get personalized daily fortune based on zodiac sign and optional birth date. Returns scores for career, love, wealth, health, and advice.
Inputs: zodiac (required), birthDate.
dream_interpretA
Interpret a dream using traditional Zhou Gong dream analysis (周公解梦) combined with modern psychology. Describe your dream and get symbols, interpretation, and advice.
Inputs: dream (required), mood.
fengshuiB
Feng shui assessment for a living or working space. Get a score, analysis, suggestions, and lucky/unlucky items.
Inputs: spaceType (required), concerns, direction.
name_scoreB
Score and analyze a Chinese name using traditional Five Grid numerology (五格剖象法). Returns total score, grid breakdown, five elements analysis.
Inputs: surname (required), givenName (required), birthDate.
qiuqianA
Draw a divine lot (求签) — traditional Chinese temple fortune stick divination. Ask a question and receive a signed poem with interpretation.
Inputs: question (required), type.
tarotA
Perform a tarot card reading. Ask a question and choose a spread type. Returns drawn cards with meanings and a comprehensive interpretation.
Inputs: question (required), spread.
zodiacB
Get in-depth zodiac sign analysis including personality traits, element, ruling planet, and compatibility.
Inputs: sign (required), aspect.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Each tool targets a fairly distinct divination or community purpose, and descriptions clarify the differences (e.g., daily_fortune gives daily scores, zodiac gives sign personality, bazi_analysis gives Four Pillars). There is mild overlap in the astrology/birth-info cluster (daily_fortune, zodiac, bazi_analysis, compatibility), but the descriptions make the boundaries workable.
All names are snake_case, avoiding any style mixing. Most follow a noun_first or noun_verb pattern (bazi_analysis, dream_interpret, community_browse, community_post), with minor deviations like plain nouns (tarot, fengshui, almanac), but the convention remains predictable and readable.
Twelve tools sit in the sweet spot for a Chinese metaphysics/divination suite. Each tool maps to a distinct reading type or community action, so every tool earns its place.
The divination surface is broad and covers most requested practices (BaZi, tarot, qiuqian, fengshui, naming, dreams, almanac, compatibility). The community side is thinner: browse and post exist but there is no comment, like, reply, or single-post retrieval, which limits engagement workflows.
Maintenance
Related MCP Connectors
Deterministic BaZi and Chinese metaphysics tools for AI agents: charts, divination, almanac.
BaZi MCP gateway: 14 tools (6 fortune / 5 forum / 3 meta). API key required. Entertainment only.
Free BaZi, I Ching, tarot, Zi Wei and bilingual learning tools with transparent methods. No API key.
BaZi four pillars, Chinese zodiac, lunisolar calendar and almanac days for AI agents.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables AI tools to perform Chinese fortune-telling analysis including Ziwei Doushu (Purple Star Astrology) and Bazi (Four Pillars) chart generation, fortune reading, and element analysis. Supports multiple calendar systems and output formats for comprehensive divination services.76MIT
- AlicenseAqualityCmaintenanceEnables AI agents to perform Chinese metaphysics calculations including BaZi charts, Tong Shu indicators, solar terms, and more, using a verified engine with 740+ tests.88MIT
- AlicenseAqualityCmaintenanceProvides Chinese metaphysical tools (bazi, qimen, five elements) as MCP tools for AI agents to give personalized advice on timing, compatibility, and daily energy.598 npm2MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI assistants to make real crypto-random tarot draws and three-coin I Ching casts, look up card and hexagram meanings, and generate BaZi (Four Pillars) charts and Chinese zodiac forecasts in English or Japanese. Requires no API key, so readings come from actual draws and calculated charts rather than invented ones.1-