Feedback

Bazi MCP Server — by justinwongcn

@justinwongcn Claim

Basic information

Runtime
go
Category
License
Not specified
Transports
stdio
Author
justinwongcn
Submitted by
Community
Quality
15

About Bazi MCP Server

# 客户端配置参考

Bazi is a MCP server in the Other category listed in the AddMCP.net directory, published by justinwongcn. Supported transport: stdio. Runtime: go. Source code is hosted on github.com. Related topics: astrology, bazi, fortune-telling.

Setup

{
    "mcpServers": {
        "bazi": {
            "command": "your path",
            "env": {
                "API_KEY": "your key"
            }
        }
    }
}

Bazi MCP Server — by justinwongcn config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "bazi": {
            "command": "your path",
            "env": {
                "API_KEY": "your key"
            }
        }
    }
}

Bazi MCP Server — by justinwongcn tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Bazi?

Bazi is a MCP server that integrates with the Yuanfenju (缘分居) API, a platform for traditional Chinese Bazi (八字) fortune‑telling calculations. It is intended for developers who want to expose Bazi‑related functionality through the Model Context Protocol.

How to use Bazi?

Configure the server in your MCP client’s mcpServers block by setting the command path and an API_KEY environment variable. Then build the server using the provided build.sh (Linux/macOS) or build.bat (Windows) script, which generates platform‑specific binaries in the dist/ directory.

Key features of Bazi

  • Integrates with the Yuanfenju Bazi API
  • Cross‑platform builds (Mac Intel, Arm64; Windows amd64, ARM64, 386; Linux amd64, ARM64, ARMv7, 386)
  • Simple build scripts for Linux/macOS (build.sh) and Windows (build.bat)
  • Requires only an API key for authentication
  • Outputs compiled binaries to the dist/ directory
  • Supports all major operating systems and architectures

Frequently asked questions

1 How do I configure Bazi in my MCP client?

Add a bazi entry under mcpServers with the command path to the built binary and an API_KEY environment variable obtained from the Yuanfenju API documentation.

2 How do I build Bazi?

Run ./build.sh on Linux/macOS or build.bat on Windows. Both scripts produce binaries for multiple platforms and architectures.

3 Where are the build outputs placed?

All compiled binaries are placed in the dist/ directory after running the build script.

4 Which platforms are supported?

Bazi supports Mac (Intel and Apple Silicon), Windows (64‑bit, ARM64, and 32‑bit), and Linux (amd64, ARM64, ARMv7, and 32‑bit).

5 What is the API endpoint used by Bazi?

The server uses the Yuanfenju API, documented at https://doc.yuanfenju.com.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬