I-Ching (ε¨ζ) oracle: cast a hexagram, read classical commentary, get a reflection. Bilingual.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Yarrow lets you (and your agents) consult the Book of Changes β cast a hexagram, read the classical sources, and get a Wilhelm/Baynes-style reflection. Offline-first iOS app, plus a public MCP server so any LLM agent can reach the same oracle.
"The I-Ching does not predict; it mirrors. The question you bring decides the reading."
| Path | What |
|---|---|
src/ | Cloudflare Workers source β public MCP endpoint + iOS app proxy |
src/data_hexagrams.json | 64 hexagrams with bilingual classical sources (ζ¨ε€©ζ / ζ±ηΉ / ζζε€©ζΊ / η½θ―ι’θ§£) |
src/hexagram.ts | Deterministic casting (coins / yarrow stalks / random), seeded by FNV-1a + mulberry32 |
src/mcp.ts | MCP JSON-RPC 2.0 handler (3 tools, 30 readings/day per anonymous caller) |
.claude-plugin/marketplace.json | Claude Code / Codex plugin marketplace manifest |
skills/yarrow/SKILL.md | The Yarrow skill β pluggable into any Claude Code or Codex install |
npm/yarrow-mcp/ | @shaozhengkun/yarrow-mcp β stdio bridge for clients that don't speak HTTP MCP |
submissions/ | Drafts for modelcontextprotocol/servers, Smithery, mcp.run |
INTEGRATIONS.md | Copy-paste configs for Claude Code / Claude Desktop / Codex / Hermes |
The iOS source lives separately at yarrow-ios (TODO).
Download on the App Store β Β· $4.99 Β· iOS 17+ Β· no tracking, no account.
All 64 hexagrams and their classical commentary ship in the app; AI reading is optional and runs through this Worker.
Claude Code β install the plugin:
Claude Desktop β add to ~/Library/Application Support/Claude/claude_desktop_config.json:
Codex CLI / Hermes / older Claude Desktop β use the stdio bridge:
Or pin it in your client's config β see INTEGRATIONS.md for every platform.
Anyone with curl β
| Tool | Purpose |
|---|---|
cast_hexagram | Toss the coins / cast the stalks. Returns primary hexagram + moving lines + changing hexagram, all metadata. Deterministic if you pass seed. |
lookup_hexagram | Get a hexagram's classical text β Wilhelm-style header, judgment, image, and ζ¨ε€©ζ / ζ±ηΉ / ζζε€©ζΊ / η½θ― commentaries. |
divine | One-shot reading: casts, looks up, and generates a Wilhelm/Baynes-style reflection grounded in the sources. 30/day per anonymous caller. |
This Worker is MIT β fork, deploy your own, point your agents at your URL.
Your endpoint will be https://yarrow-oracle.<your-subdomain>.workers.dev.
Yarrow is for reflection, not prediction. The system prompt baked into the Worker refuses:
The classical voice is direct; the framing is Jungian. This is the line we draw, in the iOS app and the MCP both.
MIT for code; classical sources are in the public domain. See LICENSE.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/yarrow)<a href="https://allmcps.com/mcp/yarrow"><img src="https://allmcps.com/api/badge/yarrow?style=directory" alt="Yarrow on AllMCPs" /></a>