Yarrow
Source-first I-Ching casting and classical commentary, with an optional AI reflection grounded in the sources.
- CCM score
- 60 of 100
- GitHub stars
- 1
- tools
- 4
- transport
- HTTP
- last updated
- Nov 28, 2026
Own this MCP server? Claim it
What it does
- Reads classical texts with
lookup_hexagramandlookup_yilin, covering judgments, images, and 杨天才, 朱熹, 断易天机, and plain-language commentaries - Casts hexagrams with
cast_hexagram, returning primary and changing hexagrams with moving lines, anddivine, which bundles a cast with its sources and an optional reflection - Runs against a public endpoint with a 30-reading daily limit per anonymous caller, and needs no login or personal API key
- Designed for readers who want a classical I-Ching consultation grounded in its sources rather than predictions
Tools
4 toolsPublic tool metadata for what this MCP can expose to an agent.
cast_hexagramToss the coins / cast the stalks. Returns primary hexagram + moving lines + changing hexagram, all metadata. Deterministic if you pass `seed`.
Toss the coins / cast the stalks. Returns primary hexagram + moving lines + changing hexagram, all metadata. Deterministic if you pass `seed`.
No parameter schema in public metadata yet.
lookup_hexagramGet a hexagram's classical text — Wilhelm-style header, judgment, image, and 杨天才 / 朱熹 / 断易天机 / 白话 commentaries.
Get a hexagram's classical text — Wilhelm-style header, judgment, image, and 杨天才 / 朱熹 / 断易天机 / 白话 commentaries.
No parameter schema in public metadata yet.
lookup_yilinLook up the 焦氏易林 verse for a primary hexagram changing into another hexagram; local source lookup, no AI call.
Look up the 焦氏易林 verse for a primary hexagram changing into another hexagram; local source lookup, no AI call.
No parameter schema in public metadata yet.
divineSource-first consultation: casts, shows the classical sources, then offers an optional Wilhelm/Baynes-style reflection grounded in them. Reflection, not prediction. 30/day per anonymous caller.
Source-first consultation: casts, shows the classical sources, then offers an optional Wilhelm/Baynes-style reflection grounded in them. Reflection, not prediction. 30/day per anonymous caller.
No parameter schema in public metadata yet.
Readme
Contivo 占卜师 · Contivo Oracle
Contivo 占卜师 is a source-first I-Ching (Book of Changes / 周易 / 易经) reflection service. Cast a hexagram, read the classical sources, and then use an optional reflection grounded in those sources. The offline-first iOS app and public Worker/MCP backend share that same path.
Sources first. Reflection, not prediction.
The public endpoint keeps the yarrow-oracle name and the divine tool for existing clients; oracle and divination remain discovery keywords for compatibility.
Project map
This repository is the Worker/MCP/backend part of the broader local Yarrow product (iOS app keeps the Yarrow name).
The cross-platform project map lives at /Users/szk/Projects/Playground/YARROW_PROJECT.md.
What's in this repo
Details
- Repository
- github.com/shaozhengkun123/yarrow
- Website
- contivo-oracle.supersubject.ai
- Transport
- HTTP
- Registry
- MCP registry, active
Questions
What can an agent do with the Yarrow MCP server?
Yarrow is a source-first I-Ching reflection service. It lets an agent cast a hexagram, look up its classical text with commentaries, find the 焦氏易林 verse for a changing hexagram, and run a full consultation. Its four tools are cast_hexagram, lookup_hexagram, lookup_yilin and divine.
Which tool should an agent use for a full consultation?
The divine tool casts a hexagram, shows the classical sources, then offers an optional Wilhelm and Baynes-style reflection grounded in them. The README states it is reflection, not prediction. Anonymous callers get 30 readings per day.
How do I connect to this MCP server?
The server uses the streamable-http transport and its endpoint is listed in server.json. For Claude Desktop, add a mcpServers entry named contivo-oracle with that URL to the claude_desktop_config.json file. For clients that do not speak HTTP MCP, the README gives the stdio bridge command npx @shaozhengkun/yarrow-mcp.
Does the Yarrow server need an account or API key?
The README says the public endpoint serves anonymous callers and the divine tool allows 30 readings per day per anonymous caller. Self-hosting needs an OpenAI-compatible chat URL and an API key stored as Worker secrets.