Ask Yi MCP Server
Ask Yi has a free MCP server, so AI assistants such as Claude, ChatGPT, Grok and Cursor can cast I Ching hexagrams and look up the texts of The Ask Yi I Ching, translated by manpo. Every result has the Chinese original beside the English, and a link back to askyi.app.
Server URL
https://mcp.askyi.app/mcpIt uses Streamable HTTP. No account, API key or sign-in is needed, and every tool is read-only.
What you can do with it
- Cast a hexagram with three coins or yarrow stalks, and get the primary hexagram, the changing lines and the resulting hexagram.
- Read a cast you made yourself by giving the six line values (6, 7, 8 or 9) from the bottom up.
- Look up any hexagram or line by number, English name, pinyin or Chinese character.
- List all 64 hexagrams with their names, symbols and trigrams.
The server returns the texts. Your AI assistant writes its own answer from them. For a full reading written for your question, open the link in the result: it takes you to Ask Yi with your hexagram already filled in.
How to add it
Claude
- Go to Customize > Connectors.
- Click Add custom connector.
- Enter the server URL
https://mcp.askyi.app/mcpand click Add.
On Team and Enterprise plans, an Owner adds it under Organization settings > Connectors. In Claude Code:
claude mcp add --transport http ask-yi https://mcp.askyi.app/mcpChatGPT
- On chatgpt.com, open chatgpt.com/plugins.
- Select the + button, then Add custom MCP server.
- Enter
Ask Yias the name andhttps://mcp.askyi.app/mcpas the server URL, and choose no authentication. - Confirm, select Create as a plugin, then install it.
Grok
- Go to grok.com/connectors.
- Click New Connector, then Custom.
- Enter
https://mcp.askyi.app/mcp.
Cursor and other MCP clients
Add this to your MCP settings (for Cursor, ~/.cursor/mcp.json):
{
"mcpServers": {
"ask-yi": {
"url": "https://mcp.askyi.app/mcp"
}
}
}The steps in each app can change. If a menu looks different, look for the place to add a custom or remote MCP server and use the same URL.
Try asking
- “Cast an I Ching hexagram for me about whether to change jobs this year.”
- “I threw coins and got 7, 8, 8, 9, 7, 6 from the bottom up. What do the texts say?”
- “What does line 5 of hexagram 3 say, in Chinese and English?”
- “Use yarrow stalks to cast a hexagram, then explain the changing lines.”
Tools
| Tool | What it does | Parameters |
|---|---|---|
cast_hexagram | Casts a hexagram and returns the primary hexagram, changing lines and resulting hexagram with their texts | method: coins (default) or yarrow; question (optional) |
read_lines | Reads a cast you made yourself | lines: six values from 6 to 9, bottom line first, as a list or a string such as "789987"; question (optional) |
get_hexagram | Returns one hexagram's judgment and line texts | hexagram: 1–64 or a name (The Creative, Qian, 乾); line: 1–6 (optional; all for hexagrams 1 and 2) |
list_hexagrams | Lists all 64 hexagrams | none |
Coins give a 6, 7, 8 or 9 with odds of 1/8, 3/8, 3/8 and 1/8; yarrow stalks with 1/16, 5/16, 7/16 and 3/16, the same as on askyi.app. Each IP address can make up to 60 requests a minute.
The texts and how to credit them
The texts come from The Ask Yi I Ching, translated from the Chinese by manpo: the judgment and line texts of all 64 hexagrams, with the Chinese original. The translation is under CC BY 4.0. When you quote it, credit “The Ask Yi I Ching, translated by manpo” and link to askyi.app. The full text is also free to read and download as a PDF at The Ask Yi I Ching, and as JSON and CSV on GitHub.
Privacy
The server needs no account. If your assistant passes your question, it is used only to build the link back to Ask Yi and is not stored or logged. We count how many times each tool is called each day and which app called it, and keep short-lived server logs for security, as we do for the website. See the Privacy Policy.
FAQ
Is the Ask Yi MCP server free?
Yes. It is free to use, needs no account or API key, and every tool is read-only.
Does the MCP server give me an Ask Yi reading?
No. It returns the hexagram and its texts, and your AI assistant writes its own answer from them. Each result includes a link to Ask Yi, where you can get a full reading written for your question, with the reasoning shown.
Which translation does it use?
The Ask Yi I Ching, translated from the Chinese by manpo, with the Chinese original beside the English. It covers the judgment and line texts of all 64 hexagrams.
Can I use the texts in my own app?
Yes. The translation is under CC BY 4.0, so you can quote, adapt and use it commercially. Credit "The Ask Yi I Ching, translated by manpo" and link to askyi.app.
Who can I contact about the server?
Email [email protected].

