Skip to content
MCP server

Xuanxue Bazi Matching

Deterministic Chinese divination APIs (BaZi/QiMen/ZiWei/MeiHua/LiuYao/LiuRen) x402 on…

Runs locally
Install
Pricing
Open source
Runs
Locally
Version
0.2.0
Listing updated
7 months ago

About Xuanxue Bazi Matching

Xuanxue Bazi Matching is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Deterministic Chinese divination APIs (BaZi/QiMen/ZiWei/MeiHua/LiuYao/LiuRen) x402 on Base.

Install

Run in a terminal

claude mcp add xuanxue-bazi-matching --env XUANXUE_PAYMENT_TOKEN='<XUANXUE_PAYMENT_TOKEN>' -- npx -y xuanxue-bazi-matching

Add to claude_desktop_config.json

{
  "mcpServers": {
    "xuanxue-bazi-matching": {
      "command": "npx",
      "args": [
        "-y",
        "xuanxue-bazi-matching"
      ],
      "env": {
        "XUANXUE_PAYMENT_TOKEN": "<XUANXUE_PAYMENT_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "xuanxue-bazi-matching": {
      "command": "npx",
      "args": [
        "-y",
        "xuanxue-bazi-matching"
      ],
      "env": {
        "XUANXUE_PAYMENT_TOKEN": "<XUANXUE_PAYMENT_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "xuanxue-bazi-matching": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "xuanxue-bazi-matching"
      ],
      "env": {
        "XUANXUE_PAYMENT_TOKEN": "<XUANXUE_PAYMENT_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "xuanxue-bazi-matching": {
      "command": "npx",
      "args": [
        "-y",
        "xuanxue-bazi-matching"
      ],
      "env": {
        "XUANXUE_PAYMENT_TOKEN": "<XUANXUE_PAYMENT_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "xuanxue-bazi-matching": {
      "command": "npx",
      "args": [
        "-y",
        "xuanxue-bazi-matching"
      ],
      "env": {
        "XUANXUE_PAYMENT_TOKEN": "<XUANXUE_PAYMENT_TOKEN>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • XUANXUE_PAYMENT_TOKENx402 payment token for pay-per-call billing (USDC on Base). Omit to receive 402 Payment Required challenges with payment instructions.
  • XUANXUE_API_BASEOverride API base URL. Defaults to https://api.decodeyourming.com

Pricing

Open source

Xuanxue Bazi Matching FAQ

Is Xuanxue Bazi Matching free?

Yes. Xuanxue Bazi Matching is open source, so you can use and self-host it for free.

How do I add Xuanxue Bazi Matching to Claude Code?

Run this command in your terminal: claude mcp add xuanxue-bazi-matching --env XUANXUE_PAYMENT_TOKEN='<XUANXUE_PAYMENT_TOKEN>' -- npx -y xuanxue-bazi-matching

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers