rs-mcp-lunar
Click on "Install 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., "@rs-mcp-lunarcalculate bazi chart for 1990-01-01 08:00 Beijing"
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.
rs-mcp-lunar
BaZi and Zi Wei Dou Shu MCP server for Cloudflare Workers, written in Rust and compiled to WebAssembly. It exposes a stateless Streamable HTTP endpoint at /lunar and returns Markdown-only tool results.
Tools
Domain | Tools |
BaZi |
|
Zi Wei Dou Shu |
|
Calendar calculations use tyme4rs and iztro; public input schemas are validated by jsonschema.
Related MCP server: iztro OpenAI MCP for Railway
Local development
Install Rust 1.89+, Node.js 22+, the Wasm target, and the pinned Worker builder:
rustup target add wasm32-unknown-unknown
cargo install worker-build --version 0.8.5 --locked
npm ci
npm run devThe local MCP URL is http://127.0.0.1:8787/lunar. npm run dev builds build/index.js and build/index_bg.wasm before starting Wrangler.
Deployment
Pushes to main run .github/workflows/deploy.yml. GitHub Actions compiles the complete Worker bundle first, then Wrangler uploads that prebuilt bundle without invoking any Cloudflare-side custom build.
Configure these GitHub Actions secrets in the production environment:
CLOUDFLARE_API_TOKEN: scoped to deploy Workers.CLOUDFLARE_ACCOUNT_ID: the target Cloudflare account ID.
Manual deployment uses the same prebuilt-artifact boundary:
npm run build
npm run deploy:dry-run
npm run deployBrowser clients that send an Origin header must be listed in the MCP_ALLOWED_ORIGINS Worker variable. See the deployment guide for setup and production notes.
Verify
cargo fmt --all -- --check
cargo clippy --all-targets --locked -- -D warnings
cargo clippy --target wasm32-unknown-unknown --lib --locked -- -D warnings
cargo test --all-targets --locked
npm run build
npm run deploy:dry-runSee architecture, contract notes, security notes, and third-party notices.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceProvides professional Chinese astrology calculations including Four Pillars, Five Elements, zodiac signs, and lunar calendar details. It allows users to perform accurate Bazi analysis with global timezone support directly within MCP-compatible clients.1410MIT
- Flicense-qualityDmaintenanceRemote MCP server for Zi Wei Dou Shu / Tu Vi Dau So astrology tools, exposing read-only tools like get_astrolabe, get_horoscope_decades, etc., designed for Railway deployment and OpenAI ChatGPT developer mode.
- Alicense-qualityDmaintenanceMCP server for accurate Bazi calculations, enabling personality analysis, destiny forecasting, and Chinese calendar queries via AI agents.175ISC
- Flicense-qualityBmaintenanceEnables traditional Chinese metaphysics tools like Bazi, Ziwei, and Qimen via MCP, integrating AI analysis for divination and fortune-telling.459
Related MCP Connectors
Zi Wei Dou Shu for AI agents: free natal charts, six transit levels, and optional readings.
Generate BaZi charts from birth details. Explore Four Pillars, solar terms, and Luck Pillars for d…
BaZi (Chinese Four Pillars) chart calculator. Structured chart data only, no predictions.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Zayrick/rs-mcp-lunar'
If you have feedback or need assistance with the MCP directory API, please join our Discord server