# Wenbu · 问卜

> Wenbu · 问卜 is an open-source MCP server for astrology. Free BaZi, I Ching, tarot and Zi Wei calculations for agents, with documented conventions. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** API, CLI, Web
- **Website:** https://wenbu.app/en/agents/
- **Repository:** https://github.com/wenbu-app/wenbu
- **MCP Registry name:** app.wenbu/mcp
- **Categories:** astrology, religion
- **Listing updated:** 2026-11-15

## About

The seven tools return structured results while the interpreting is left to the agent's own model. calculate_bazi takes a date, time and zone and returns pillars, visible elements, conventions and uncertainty. cast_iching produces random or manual lines with original and changed hexagrams, draw_tarot takes one or three cards without replacement with optional reversals, and calculate_ziwei returns twelve palaces and stars, with palace and star names kept in Chinese. Library tools search and read Wenbu's guides, and get_daily_card gives a public daily card for a chosen timezone.

No key or account is needed, the transport is stateless streamable HTTP, and outputs declare a schema. The site also offers a dependency-free CLI needing Node.js 22 or newer, a REST API, an agent skill and two prompt templates. Guides come in Chinese and English as HTML, Markdown and JSON.

The README frames the symbols as a way to reflect rather than predict, and notes that a checkable calendar calculation is separate from whether an interpretation predicts anything. The code is MIT licensed. Calculation requests do reach Wenbu's service, and its built-in AI sends selected content to a model provider.

## Features

- **Four chart tools:** BaZi, I Ching, tarot and Zi Wei calculations.
- **Structured output:** Results include versions, conventions and a declared output schema.
- **Guide library:** Search and read bilingual guides and reference entries.
- **Daily card:** Public card for the server date in a chosen timezone.
- **CLI and REST:** Dependency-free CLI and REST alternatives.
- **Prompt templates:** reflect_on_reading and research_with_sources for the host model.

## Good for

- Calculate a BaZi chart for a given birth time
- Cast an I Ching reading with changed hexagrams
- Draw tarot cards for a reflective question
- Look up what a Zi Wei palace means in a guide
- Get the daily card for a timezone

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http mcp https://wenbu.app/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://wenbu.app/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://wenbu.app/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://wenbu.app/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://wenbu.app/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://wenbu.app/mcp"
    }
  }
}
```

## Tools

- `calculate_bazi`: Pillars, visible elements, conventions and uncertainty from a date, time and zone
- `cast_iching`: Random or manual lines with original and changed hexagrams
- `draw_tarot`: One or three cards without replacement, optional reversals
- `calculate_ziwei`: Twelve palaces and stars from a Gregorian date and local time
- `search_library`: Search Wenbu guides and the curated reference catalogue
- `read_library`: Read a guide or symbol entry
- `get_daily_card`: Public daily card for the server date in a chosen timezone

## FAQ

### Do I need an API key?

No. Calculations and draws need no key or account.

### Who interprets the results?

Your agent's own model; Wenbu supplies structured results, versions and conventions.

### What languages are supported?

English and Chinese; set locale explicitly, though Zi Wei labels stay in Chinese.

### What licence is it under?

MIT.

### Is Wenbu · 问卜 free?

Yes. Wenbu · 问卜 is open source, so you can use and self-host it for free.

### How do I add Wenbu · 问卜 to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp https://wenbu.app/mcp

### What are the best alternatives to Wenbu · 问卜?

The closest alternatives to Wenbu · 问卜 are Madeenan Quran and Hadith Sources, Natal Chart Lab, SalahTable, VedicDost: Vedic Astrology, Kundli & AI Astrologer and AstroLogics.

## Alternatives

- [Madeenan Quran and Hadith Sources](https://ai-powered.com/mcp/madeenan-quran-and-hadith-sources): Madeenan Quran and Hadith Sources is a freemium MCP server for religion.
- [Natal Chart Lab](https://ai-powered.com/mcp/natal-chart-lab): Natal Chart Lab is an open-source MCP server for astrology.
- [SalahTable](https://ai-powered.com/mcp/salahtable): SalahTable is a free MCP server for religion.
- [VedicDost: Vedic Astrology, Kundli & AI Astrologer](https://ai-powered.com/mcp/vedicdost-vedic-astrology-kundli-and-ai-astrologer): VedicDost: Vedic Astrology, Kundli & AI Astrologer is a free MCP server for astrology.
- [AstroLogics](https://ai-powered.com/mcp/astrologics): AstroLogics is a freemium MCP server for astrology.
- [GenesisCore Astrology (Western + Vedic)](https://ai-powered.com/mcp/genesiscore-astrology-western-vedic): GenesisCore Astrology (Western + Vedic) is a free MCP server for astrology.
- [Céu Natal](https://ai-powered.com/mcp/ceu-natal): Céu Natal is an open-source MCP server for astrology.
- [OIYO Korea Calculators](https://ai-powered.com/mcp/oiyo-korea-calculators): OIYO Korea Calculators is a free MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/wenbu
