Yishu Insight
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Yishu Insight MCP Server
Deterministic I Ching and Zi Wei Dou Shu calculations for AI agents.
yishu-insight-mcp connects your AI agent to Yishu Insight. Calculations are performed by code, with zero runtime dependencies and Node.js 18 or newer.
I Ching (Book of Changes): 64 hexagrams, three-coin casting, Meihua Yishu (Plum Blossom Numerology) time-based casting, and explicit six-line input. Includes original, mutual, opposite, reversed, and changed hexagrams, classical texts, and moving-line readings. Runs locally and works offline.
Zi Wei Dou Shu (Purple Star Astrology): 12 palaces, 14 main stars, 23 classical patterns, Si Hua (Four Transformations), compatibility, a 100-Year Life K-Line, classical text lookup, and famous charts. Uses the authoritative Rust engine at insightapp.life.
Explicit errors: unavailable engines or invalid responses produce
isError; the server does not fabricate a substitute chart.
Official Web Platform & Live Tools (insightapp.life)
Explore the full platform in your browser, or connect an agent through the MCP endpoint.
Official resource | Live link |
Official Website | |
Zi Wei Dou Shu Natal Chart Calculator | |
100-Year Life K-Line Chart | |
Zi Wei Synastry & Compatibility | |
Flying Star (Si Hua) & Annual Fortune | |
Famous Historical & Celebrity Charts | |
I Ching Online Divination (Coins & Plum Blossom) | |
64 Hexagrams Complete Encyclopedia | |
Astrology & I Ching Articles / Guides | |
Agent Skill & Plugin Download | |
Remote Streamable HTTP MCP Endpoint | |
MCP Discovery Manifest | |
OpenAPI 3.1 Specification | |
MCP Registries |
Related MCP server: 知耘排盘 MCP Server
Quick Start
Remote Streamable HTTP
Connect a client that supports remote Streamable HTTP to https://insightapp.life/mcp. No local installation is needed. For clients that accept URL-based mcpServers configuration:
{
"mcpServers": {
"yishu-insight": { "url": "https://insightapp.life/mcp" }
}
}In clients with a setup form, select Streamable HTTP and enter the endpoint URL. Configuration fields vary by client.
The following request calls the remote HTTP endpoint directly. It uses calendar fields and clock_hour, rather than the local stdio wrapper's solar_date and birth_time fields:
curl -sS https://insightapp.life/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "ziwei_chart",
"arguments": {
"year": 1990,
"month": 5,
"day": 15,
"clock_hour": 14,
"gender": "male"
}
}
}'Use tools/list on the endpoint you connect to for its current input schemas. The remote HTTP service and the local stdio wrapper expose different birth-input schemas.
Local stdio via NPX
Install Node.js 18 or newer, then add this configuration to your MCP client:
{
"mcpServers": {
"yishu-insight": {
"command": "npx",
"args": ["-y", "yishu-insight-mcp"]
}
}
}Client | Configuration location or command |
Claude Desktop |
|
Cursor |
|
Windsurf |
|
Cline | MCP Servers configuration: |
Claude Code |
|
Use --remote-url <url> or the YISHU_INSIGHT_URL environment variable to change the Zi Wei engine base URL (default: https://insightapp.life). This is the website base URL, not the /mcp endpoint. Run --help for usage or --version for the installed version.
After installation, iching_* tools work offline. Local ziwei_* tools still require network access to the remote engine.
Local stdio Tool Reference
These seven tools use the schemas supplied by this npm package. Technical identifiers are unchanged; classical texts and engine responses may contain their original Chinese terminology. This English guide does not imply that the underlying dataset has been translated.
Tool | Execution | Parameters and behavior |
| Local |
|
| Local | Supply |
| Remote engine | Birth fields below; optional |
| Remote engine |
|
| Remote engine | Birth fields; optional |
| Remote engine |
|
| Remote engine | No arguments for the full list, |
Birth Parameters
Always supply gender as male or female, plus one of these input forms:
Input form | Fields |
Solar calendar |
|
Lunar calendar |
|
Example tools/call parameters for the local stdio server:
{
"name": "ziwei_chart",
"arguments": {
"solar_date": "1990-06-15",
"birth_time": "09:30",
"gender": "female"
}
}An offline I Ching lookup:
{ "name": "iching_lookup", "arguments": { "number": 11 } }Results, Prompts, and Resources
iching_cast returns ben (original), hu (mutual), cuo (opposite), zong (reversed), bian (changed; null when no line moves), rule, moving_line_texts, ti_yong, and decision_guidance.
ziwei_chart returns { source, request, result }. The engine result contains the 12 palaces, Ming Gong (Life Palace), Shen Gong (Body Palace), five-element bureau, main stars, patterns, feixing (flying stars), Da Xian (decade cycles), and Liu Nian (annual cycles).
Type | Identifier | Purpose |
Prompt |
| Guide an I Ching reading |
Prompt |
| Guide a Zi Wei Dou Shu chart reading |
Resource |
| Index of the 64 hexagrams |
Resource |
| Calculation and interpretation methodology |
Development
Run these commands from the repository root:
npm test
npm pack --dry-run
docker build -t yishu-insight-mcp .The test suite uses Node's test runner, launches the actual stdio server, and exercises remote behavior with a mock engine. The package has no runtime dependencies.
License
MIT. Intended for cultural study and personal reflection; it is not medical, legal, or financial advice.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
BaZi, Zi Wei, Qi Zheng Si Yu, divination and almanac from a deterministic engine. Pay per call.
Free BaZi, I Ching, tarot, Zi Wei and bilingual learning tools with transparent methods. No API key.
Hosted remote MCP server for BaZi (Four Pillars) charts and the Chinese almanac. No install.
Deterministic BaZi and Chinese metaphysics tools for AI agents: charts, divination, almanac.
Related MCP Servers
- AlicenseAqualityBmaintenanceProvides traditional Chinese astrology (Bazi, Ziwei) and divination (Liuyao, Meihua, Qimen, etc.) calculations as MCP tools for AI assistants.18760 npm139Apache 2.0
- AlicenseAqualityDmaintenanceProvides MCP tools for Chinese metaphysics, including BaZi (Four Pillars) charting, Liu Yao hexagram casting, lunar conversion, and AI-powered destiny analysis.1018 npmMIT
- FlicenseAqualityDmaintenanceProvides local, deterministic Chinese and Western divination chart calculations with traceable, evidence-grounded interpretation through MCP tools.9-
- AlicenseNot gradedqualityCmaintenanceEnables AI agents and local programs to perform North-school Zi Wei, BaZi, palace overlay, and bidirectional cross calculations via a local stdio MCP, returning structured numerical and structural data.MIT