The bone cracks. The model reads. Audited divination for AI agents — tarot, I Ching, Xiao Liu Ren, Bazi. MCP server + CLI + agent skills.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
- !Install pipes a remote script into a shell (curl | sh)
claude mcp add oraclebone -- uvx oraclebone-mcp{
"mcpServers": {
"oraclebone": {
"command": "uvx",
"args": ["oraclebone-mcp"]
}
}
}MCP Servers overview
# Oraclebone
<div align="center">
<img src="docs/assets/icon.svg" alt="Oraclebone icon: oracle-bone crack joined with JSON braces" width="140">
<h3><b>The bone cracks. The model reads.</b></h3>
<p>
<a href="https://pypi.org/project/oraclebone/"><code>uvx oraclebone-mcp</code></a> ·
<a href="https://sapuyou45-bit.github.io/oraclebone/">Homepage</a> ·
<a href="https://github.com/sapuyou45-bit/oraclebone/releases/tag/v8.2.0">v8.2.0</a>
</p>
</div>
> Three thousand years ago, Shang kings carved their divinations into bone — the first auditable record of an oracle at work. Oraclebone brings the same discipline to AI agents: audited scripts produce the draw, the hexagram, the pillars; the model only interprets what it is given. It never invents the result.
<!-- mcp-name: io.github.sapuyou45-bit/oraclebone -->
[English](README.md) | [简体中文](README.zh-CN.md) | [日本語](README.ja.md)
<details>
<summary>Demo</summary>
<p align="center">
<a href="https://pypi.org/project/oraclebone/">
<img src="docs/assets/demo.svg" alt="oraclebone demo: pip install, tarot draw, I Ching cast, MCP server stdio" width="100%">
</a>
</p>
</details>
[](https://github.com/sapuyou45-bit/oraclebone/actions/workflows/tests.yml)
[](https://github.com/sapuyou45-bit/oraclebone/actions/workflows/release.yml)
[](https://pypi.org/project/oraclebone/)
[](https://pypi.org/project/oraclebone/)
[](https://github.com/sapuyou45-bit/oraclebone/releases)
[](https://opensource.org/licenses/MIT)
[](https://github.com/sapuyou45-bit/oraclebone/actions/workflows/tests.yml)
[](https://github.com/sapuyou45-bit/oraclebone/discussions)
🔮 Open-source divination toolkit for AI agents, formerly known as **ai-divination-skills** (renamed in v8.0.0 — the old PyPI package is frozen; install `oraclebone` instead).
`oraclebone` is a practical skill collection for tarot, I Ching, Xiao Liu Ren, and future symbolic systems. It is built for agent workflows that need auditable randomness, clear method boundaries, and reusable interpretation templates.
This project treats divination as symbolic reasoning and reflection, not deterministic prediction.
## ⚡ One-line Install for AI Agents
Paste this into your AI agent:
```text
Install Oraclebone for this agent: https://raw.githubusercontent.com/sapuyou45-bit/oraclebone/main/docs/install.md
```
Or install directly for Claude-style local skills:
```bash
curl -fsSL https://raw.githubusercontent.com/sapuyou45-bit/oraclebone/main/install.sh | bash
```
The default target is `~/.claude/skills`. Set `AI_SKILLS_DIR` for another agent skill directory.
## ✨ Overview
Most AI divination prompts let the model invent the result. This repo separates the two jobs:
1. A local script produces the card draw, hexagram, or Xiao Liu Ren position.
2. The AI agent interprets that generated result with clear safety boundaries.
That makes readings easier to test, reproduce, audit, and reuse across agents.
## 🧭 Methodological Rigor
The core rule is simple: scripts or user-provided physical casts generate the divination result; AI interprets that result and does not generate the divination result.
This is not scientific proof of divination efficacy. It is a stricter workflow for symbolic reasoning:
- real readings use system randomness by default
- seeded mode is only for tests and reproducible demos
- traditional methods and limitations are documented per skill
- JSON outputs include enough metadata to audit the method
- approximate modes emit warnings instead of pretending to be traditional
## 🌐 Multilingual Docs
The GitHub Pages site ships a six-language switcher — 简体中文, English, 日本語, Português, 한국어, Español. It follows your browser language by default and remembers your manual choice.
[Open the published site](https://sapuyou45-bit.github.io/oraclebone/)
Local preview:
```bash
python3 -m http.server 8000 -d docs
```
Published site:
```text
https://sapuyou45-bit.github.io/oraclebone/
```
## 🧩 Included Skills
| Skill | What it does | Script |
| --- | --- | --- |
| `tarot` | Draws tarot cards for reflection, decisions, creative blocks, and project reframing. | `skills/tarot/scripts/draw.py` |
| `iching` | Casts six-line I Ching hexagrams with primary and resulting hexagrams. | `skills/iching/scripts/cast.py` |
| `xiaoliuren` | Casts Xiao Liu Ren from lunar-style numbers or a Gregorian time fallback. | `skills/xiaoliuren/scripts/cast.py` |
| `bazi` | Casts a Bazi (Four Pillars / 八字) chart from a Gregorian birth datetime. Requires the optional `lunar-python` extra. | `skills/bazi/scripts/cast.py` |
## 🚀 Quick Start
Install from PyPI:
```bash
pip install oraclebone
```
Or from a checkout:
```bash
pip install .
```
Use editable mode while developing:
```bash
pip install -e .
```
Use one command for every system:
```bash
ai-divination tarot --deck major --spread three-card --reversals
ai-divination iching --method yarrow
ai-divination xiaoliuren --method numbers --month 3 --day 12 --hour 7
```
Ask for an agent interpretation template:
```bash
ai-divination template tarot
```
Use the Python API directly:
```python
from oraclebone.tarot import draw
from oraclebone.iching import cast
from oraclebone.xiaoliuren import cast_numbers
```
You can still run the underlying scripts directly:
```bash
python3 skills/tarot/scripts/draw.py --deck major --spread three-card --reversals
python3 skills/iching/scripts/cast.py --method coins
python3 skills/iching/scripts/cast.py --method yarrow
python3 skills/xiaoliuren/scripts/cast.py --method numbers --month 3 --day 12 --hour 7
```
Use a seed for reproducible demos:
```bash
python3 skills/tarot/scripts/draw.py --spread decision --seed demo
python3 skills/iching/scripts/cast.py --method yarrow --seed demo
```
All scripts output JSON.
## 📦 Install as Agent Skills
For AI-agent-guided setup, use the remote install runbook:
```text
Install Oraclebone for this agent: https://raw.githubusercontent.com/sapuyou45-bit/oraclebone/main/docs/install.md
```
For direct shell install:
```bash
curl -fsSL https://raw.githubusercontent.com/sapuyou45-bit/oraclebone/main/install.sh | bash
```
The installer copies `tarot`, `iching`, and `xiaoliuren` into `~/.claude/skills` by default. To target another agent, set `AI_SKILLS_DIR` before running it.
Manual install is just copying the folders you want into your agent's skill directory:
```bash
mkdir -p ~/.claude/skills
cp -R skills/tarot ~/.claude/skills/tarot
cp -R skills/iching ~/.claude/skills/iching
cp -R skills/xiaoliuren ~/.claude/skills/xiaoliuren
```
Each skill is self-contained:
```text
skills/name/
SKILL.md
agents/openai.yaml
scripts/
references/
```
Install individual folders, not the entire repository, when you only want one skill.
Each skill script also works in single-folder mode. If the Python package is installed, the script delegates to the package runtime. If only the skill folder is copied, it falls back to the bundled standalone script in that skill.
### Per-host adapters
Every skill ships four adapter files in `skills/<skill>/agents/`:
| Host | File | How it is invoked |
|---|---|---|
| OpenAI / Codex skills | `openai.yaml` | Skill metadata + brand icons. |
| Claude Desktop / claude.ai project skills | `claude.yaml` | Tool spec that runs `ai-divination <skill>`. |
| Gemini CLI / Gemini Extensions | `gemini.yaml` | Extension manifest that runs the same CLI. |
| Cursor | `cursor.mdc` | Rule file with hard "never invent the draw" guard. |
All four adapters route through the same audited `ai-divination <skill>` CLI, so the agent host never invents the result.
## 🧠 Use it from Claude Desktop / Codex / any MCP host
`oraclebone` ships a built-in **MCP server** (`ai-divination-mcp`). Any
[Model Context Protocol](https://modelcontextprotocol.io/) host — Claude Desktop, Codex,
Continue, Cursor — can mount it with a single config line, and the model gets five tools:
`tarot_draw`, `iching_cast`, `xiaoliuren_cast`, `bazi_cast`, and `interpretation_template`.
The model never invents the draw; the server runs the audited scripts locally.
### Claude Desktop
Install the package once:
```bash
pip install oraclebone
```
Then edit `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or
`%APPDATA%\Claude\claude_desktop_config.json` (Windows):
```json
{
"mcpServers": {
"divination": {
"command": "ai-divination-mcp"
}
}
}
```
Restart Claude Desktop. Ask "draw three tarot cards for my decision" — Claude will call
`tarot_draw` and interpret the JSON output.
### Codex / Continue / Cursor
Any MCP-aware host follows the same pattern. The server speaks JSON-RPC 2.0 over stdio
with no third-party dependencies.
### Per-client setup guides
Copy-paste JSON configs and example prompts for each host:
- [Claude Desktop](docs/clients/claude-desktop.md)
- [Codex CLI](docs/clients/codex.md)
- [Cursor](docs/clients/cursor.md)
- [Continue](docs/clients/continue.md)
## 🤖 Agent Behavior
Each skill instructs the agent to:
- generate or accept a concrete draw/cast result
- read concise reference material only when needed
- interpret with the shared response contract
- avoid certainty, fatalism, and professional advice
Shared guidance lives in:
- `shared/methodology.md`
- `shared/interpretation-protocol.md`
- `shared/response-contractWhat people ask about oraclebone
What is sapuyou45-bit/oraclebone?
+
sapuyou45-bit/oraclebone is mcp servers for the Claude AI ecosystem. The bone cracks. The model reads. Audited divination for AI agents — tarot, I Ching, Xiao Liu Ren, Bazi. MCP server + CLI + agent skills. It has 4 GitHub stars and its last recorded update is dated 2026-08-23.
How do I install oraclebone?
+
You can install oraclebone by cloning the repository (https://github.com/sapuyou45-bit/oraclebone) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is sapuyou45-bit/oraclebone safe to use?
+
Our security agent has analyzed sapuyou45-bit/oraclebone and assigned a Trust Score of 87/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.
Who maintains sapuyou45-bit/oraclebone?
+
sapuyou45-bit/oraclebone is maintained by sapuyou45-bit. The last recorded GitHub activity is dated 2026-08-23, with 1 open issues.
Are there alternatives to oraclebone?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy oraclebone to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/sapuyou45-bit-oraclebone)<a href="https://claudewave.com/repo/sapuyou45-bit-oraclebone"><img src="https://claudewave.com/api/badge/sapuyou45-bit-oraclebone" alt="Featured on ClaudeWave: sapuyou45-bit/oraclebone" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!