I Ching MCP Server by RoxyAPI

I Ching hexagram casts, 64 hexagram meanings and changing lines for AI agents.

Should I use this

Quality & Safety

A
Description quality
92%
Schema completeness
93%
Naming quality
96%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Findings (1)

  • LOWTool 'get_iching_hexagrams' description lacks action verbin get_iching_hexagrams

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~5,240Tokens (tool definitions)
~5.6 KBTypical response size
Significant attention impact (4.09% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "iching": {
      "url": "https://roxyapi.com/mcp/iching"
    }
  }
}

Remote endpoints

https://roxyapi.com/mcp/ichingstreamable-http

What it can do

Tool inventory

Tools (9)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢post_iching_daily(lang, seed, date, compact)

Receive a daily I-Ching hexagram for guidance and reflection. This endpoint uses seeded randomness to ensure the same seed gets the same hexagram on the same day, perfect for "Hexagram of the Day" features in oracle apps, meditation platforms, and daily wisdom tools. Returns the hexagram with judgment, image, and interpretations for love, career, decisions, and practical advice based on ancient Chinese wisdom from the Book of Changes.

Input Schema

{
  "type": "object",
  "properties": {
    "lang": {
      "type": "string",
      "description": "Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.",
      "enum": [
        "en",
        "tr",
        "de",
        "es",
        "hi",
        "pt",
        "fr",
        "ru",
        "zh-Hans",
        "zh-Hant"
      ],
      "default": "en",
      "example": "en"
    },
    "seed": {
      "type": "string",
      "example": "user123",
      "description": "Optional seed for reproducible readings. Same seed + same date = same hexagram every time. Pass any unique identifier (userId, email hash, session token). Omit for anonymous daily readings."
    },
    "date": {
      "type": "string",
      "format": "date",
      "example": "2026-03-06",
      "description": "Date for the reading in YYYY-MM-DD format. Defaults to today (UTC). Useful for viewing past daily readings or pre-generating future ones."
    },
    "compact": {
      "type": "boolean",
      "description": "Set true for the same data in a compact shape: arrays of same-shaped objects arrive columnar as {\"__cols\":[names],\"__rows\":[[values]]}. Lossless, typically 40 to 52 percent fewer tokens.",
      "default": false
    }
  },
  "examples": [
    {}
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "date": {
      "type": "string"
    },
    "seed": {
      "type": "string"
    },
    "hexagram": {
      "type": "object",
      "properties": {
        "number": {
          "type": "number"
        },
        "symbol": {
          "type": "string"
        },
        "chinese": {
          "type": "string"
        },
        "english": {
          "type": "string"
        },
        "pinyin": {
          "type": "string"
        },
        "upperTrigram": {
          "type": "string"
        },
        "lowerTrigram": {
          "type": "string"
        },
        "judgment": {
          "type": "string"
        },
        "image": {
          "type": "string"
        },
        "interpretation": {
          "type": "object",
          "properties": {
            "general": {
              "type": "string"
            },
            "love": {
              "type": "string"
            },
            "career": {
              "type": "string"
            },
            "decision": {
              "type": "string"
            },
            "advice": {
              "type": "string"
            }
          },
          "required": [
            "general",
            "love",
            "career",
            "decision",
            "advice"
          ]
        }
      },
      "required": [
        "number",
        "symbol",
        "chinese",
        "english",
        "pinyin",
        "upperTrigram",
        "lowerTrigram",
        "judgment",
        "image",
        "interpretation"
      ]
    },
    "dailyMessage": {
      "type": "string"
    }
  },
  "required": [
    "date",
    "seed",
    "hexagram",
    "dailyMessage"
  ]
}
🟢post_iching_daily_cast(lang, seed, date, compact)

Cast a complete daily I-Ching reading using the traditional three-coin method with seeded randomness. Unlike the simple daily hexagram, this provides the full casting experience with line values (6-9), changing line positions, and the resulting hexagram if transformation occurs. Same seed + same date = same casting result. Perfect for I-Ching divination apps requiring authentic oracle experience with daily consistency.

Input Schema

{
  "type": "object",
  "properties": {
    "lang": {
      "type": "string",
      "description": "Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.",
      "enum": [
        "en",
        "tr",
        "de",
        "es",
        "hi",
        "pt",
        "fr",
        "ru",
        "zh-Hans",
        "zh-Hant"
      ],
      "default": "en",
      "example": "en"
    },
    "seed": {
      "type": "string",
      "example": "user123",
      "description": "Optional seed for reproducible readings. Same seed + same date = same hexagram every time. Pass any unique identifier (userId, email hash, session token). Omit for anonymous daily readings."
    },
    "date": {
      "type": "string",
      "format": "date",
      "example": "2026-03-06",
      "description": "Date for the reading in YYYY-MM-DD format. Defaults to today (UTC). Useful for viewing past daily readings or pre-generating future ones."
    },
    "compact": {
      "type": "boolean",
      "description": "Set true for the same data in a compact shape: arrays of same-shaped objects arrive columnar as {\"__cols\":[names],\"__rows\":[[values]]}. Lossless, typically 40 to 52 percent fewer tokens.",
      "default": false
    }
  },
  "examples": [
    {}
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "date": {
      "type": "string"
    },
    "seed": {
      "type": "string"
    },
    "hexagram": {
      "type": "object",
      "properties": {
        "number": {
          "type": "number"
        },
        "symbol": {
          "type": "string"
        },
        "chinese": {
          "type": "string"
        },
        "english": {
          "type": "string"
        },
        "pinyin": {
          "type": "string"
        },
        "upperTrigram": {
          "type": "string"
        },
        "lowerTrigram": {
          "type": "string"
        },
        "judgment": {
          "type": "string"
        },
        "image": {
          "type": "string"
        },
        "interpretation": {
          "type": "object",
          "properties": {
            "general": {
              "type": "string"
            },
            "love": {
              "type": "string"
            },
            "career": {
              "type": "string"
            },
            "decision": {
              "type": "string"
            },
            "advice": {
              "type": "string"
            }
          },
          "required": [
            "general",
            "love",
            "career",
            "decision",
            "advice"
          ]
        },
        "binary": {
          "type": "string"
        },
        "changingLines": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "position": {
                "type": "number"
              },
              "text": {
                "type": "string"
              },
              "meaning": {
                "type": "string"
              }
            },
            "required": [
              "position",
              "text"
            ]
          }
        }
      },
      "required": [
        "number",
        "symbol",
        "chinese",
        "english",
        "pinyin",
        "upperTrigram",
        "lowerTrigram",
        "judgment",
        "image",
        "interpretation",
        "binary"
      ]
    },
    "lines": {
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "changingLinePositions": {
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "changingLines": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "position": {
            "type": "number"
          },
          "text": {
            "type": "string"
          },
          "meaning": {
            "type": "string"
          }
        },
        "required": [
          "position",
          "text"
        ]
      }
    },
    "resultingHexagram": {
      "type": "object",
      "properties": {
        "number": {
          "type": "number"
        },
        "symbol": {
          "type": "string"
        },
        "chinese": {
          "type": "string"
        },
        "english": {
          "type": "string"
        },
        "pinyin": {
          "type": "string"
        },
        "upperTrigram": {
          "type": "string"
        },
        "lowerTrigram": {
          "type": "string"
        },
        "judgment": {
          "type": "string"
        },
        "image": {
          "type": "string"
        },
        "interpretation": {
          "type": "object",
          "properties": {
            "general": {
              "type": "string"
            },
            "love": {
              "type": "string"
            },
            "career": {
              "type": "string"
            },
            "decision": {
              "type": "string"
            },
            "advice": {
              "type": "string"
            }
          },
          "required": [
            "general",
            "love",
            "career",
            "decision",
            "advice"
          ]
        }
      },
      "required": [
        "number",
        "symbol",
        "chinese",
        "english",
        "pinyin",
        "upperTrigram",
        "lowerTrigram",
        "judgment",
        "image",
        "interpretation"
      ]
    }
  },
  "required": [
    "date",
    "seed",
    "lines",
    "changingLinePositions"
  ]
}
🟢get_iching_hexagrams(lang, limit, offset, compact)

Browse all 64 I-Ching hexagrams from the Book of Changes with their Chinese names, English translations, and trigram compositions. The hexagrams are ordered by the traditional King Wen sequence used in I-Ching divination for 3,000 years. Each hexagram represents a unique life situation combining two trigrams (Heaven, Earth, Thunder, Wind, Water, Fire, Mountain, Lake) into profound wisdom for decision-making and self-understanding.

Input Schema

{
  "type": "object",
  "properties": {
    "lang": {
      "type": "string",
      "description": "Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.",
      "enum": [
        "en",
        "tr",
        "de",
        "es",
        "hi",
        "pt",
        "fr",
        "ru",
        "zh-Hans",
        "zh-Hant"
      ],
      "default": "en",
      "example": "en"
    },
    "limit": {
      "type": "integer",
      "description": "Maximum items to return per page. Range: 1-64, default 20.",
      "minimum": 1,
      "maximum": 64,
      "default": 20,
      "example": 20
    },
    "offset": {
      "type": "integer",
      "description": "Number of items to skip for pagination. Default 0.",
      "minimum": 0,
      "default": 0,
      "example": 0
    },
    "compact": {
      "type": "boolean",
      "description": "Set true for the same data in a compact shape: arrays of same-shaped objects arrive columnar as {\"__cols\":[names],\"__rows\":[[values]]}. Lossless, typically 40 to 52 percent fewer tokens.",
      "default": false
    }
  },
  "examples": [
    {}
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "total": {
      "type": "number"
    },
    "limit": {
      "type": "number"
    },
    "offset": {
      "type": "number"
    },
    "hexagrams": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "number": {
            "type": "number"
          },
          "symbol": {
            "type": "string"
          },
          "chinese": {
            "type": "string"
          },
          "english": {
            "type": "string"
          },
          "pinyin": {
            "type": "string"
          },
          "upperTrigram": {
            "type": "string"
          },
          "lowerTrigram": {
            "type": "string"
          }
        },
        "required": [
          "number",
          "symbol",
          "chinese",
          "english",
          "pinyin",
          "upperTrigram",
          "lowerTrigram"
        ]
      }
    }
  },
  "required": [
    "total",
    "limit",
    "offset",
    "hexagrams"
  ]
}
🟢get_iching_hexagrams_random(lang, compact)

Receive a random I-Ching hexagram with full interpretation. Perfect for daily oracle features, meditation prompts, or exploring the Book of Changes. Returns complete hexagram data including judgment, image, interpretations for love/career/decisions, and all six changing line meanings.

Input Schema

{
  "type": "object",
  "properties": {
    "lang": {
      "type": "string",
      "description": "Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.",
      "enum": [
        "en",
        "tr",
        "de",
        "es",
        "hi",
        "pt",
        "fr",
        "ru",
        "zh-Hans",
        "zh-Hant"
      ],
      "default": "en",
      "example": "en"
    },
    "compact": {
      "type": "boolean",
      "description": "Set true for the same data in a compact shape: arrays of same-shaped objects arrive columnar as {\"__cols\":[names],\"__rows\":[[values]]}. Lossless, typically 40 to 52 percent fewer tokens.",
      "default": false
    }
  },
  "examples": [
    {}
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "number": {
      "type": "number"
    },
    "symbol": {
      "type": "string"
    },
    "chinese": {
      "type": "string"
    },
    "english": {
      "type": "string"
    },
    "pinyin": {
      "type": "string"
    },
    "binary": {
      "type": "string"
    },
    "upperTrigram": {
      "type": "string"
    },
    "lowerTrigram": {
      "type": "string"
    },
    "judgment": {
      "type": "string"
    },
    "image": {
      "type": "string"
    },
    "interpretation": {
      "type": "object",
      "properties": {
        "general": {
          "type": "string"
        },
        "love": {
          "type": "string"
        },
        "career": {
          "type": "string"
        },
        "decision": {
          "type": "string"
        },
        "advice": {
          "type": "string"
        }
      },
      "required": [
        "general",
        "love",
        "career",
        "decision",
        "advice"
      ]
    },
    "changingLines": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "position": {
            "type": "number"
          },
          "text": {
            "type": "string"
          },
          "meaning": {
            "type": "string"
          }
        },
        "required": [
          "position",
          "text"
        ]
      }
    }
  },
  "required": [
    "number",
    "symbol",
    "chinese",
    "english",
    "pinyin",
    "binary",
    "upperTrigram",
    "lowerTrigram",
    "judgment",
    "image",
    "interpretation",
    "changingLines"
  ]
}
🟢get_iching_hexagrams_lookup(lang, lines, compact)

Find an I-Ching hexagram by its binary line pattern. Provide 6 digits (0 or 1) representing broken (yin) and solid (yang) lines from bottom to top. Use this for custom divination interfaces where users input their own line configurations, or to find hexagrams matching specific trigram combinations. Example: "111111" returns Hexagram 1 (The Creative), "000000" returns Hexagram 2 (The Receptive).

Input Schema

{
  "type": "object",
  "properties": {
    "lang": {
      "type": "string",
      "description": "Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.",
      "enum": [
        "en",
        "tr",
        "de",
        "es",
        "hi",
        "pt",
        "fr",
        "ru",
        "zh-Hans",
        "zh-Hant"
      ],
      "default": "en",
      "example": "en"
    },
    "lines": {
      "type": "string",
      "description": "Six-digit binary pattern (0=yin/broken, 1=yang/solid) from bottom to top.",
      "pattern": "^[01]{6}$",
      "example": "111111"
    },
    "compact": {
      "type": "boolean",
      "description": "Set true for the same data in a compact shape: arrays of same-shaped objects arrive columnar as {\"__cols\":[names],\"__rows\":[[values]]}. Lossless, typically 40 to 52 percent fewer tokens.",
      "default": false
    }
  },
  "required": [
    "lines"
  ],
  "examples": [
    {
      "lines": "111111"
    }
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "number": {
      "type": "number"
    },
    "symbol": {
      "type": "string"
    },
    "chinese": {
      "type": "string"
    },
    "english": {
      "type": "string"
    },
    "pinyin": {
      "type": "string"
    },
    "binary": {
      "type": "string"
    },
    "upperTrigram": {
      "type": "string"
    },
    "lowerTrigram": {
      "type": "string"
    },
    "judgment": {
      "type": "string"
    },
    "image": {
      "type": "string"
    },
    "interpretation": {
      "type": "object",
      "properties": {
        "general": {
          "type": "string"
        },
        "love": {
          "type": "string"
        },
        "career": {
          "type": "string"
        },
        "decision": {
          "type": "string"
        },
        "advice": {
          "type": "string"
        }
      },
      "required": [
        "general",
        "love",
        "career",
        "decision",
        "advice"
      ]
    },
    "changingLines": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "position": {
            "type": "number"
          },
          "text": {
            "type": "string"
          },
          "meaning": {
            "type": "string"
          }
        },
        "required": [
          "position",
          "text"
        ]
      }
    }
  },
  "required": [
    "number",
    "symbol",
    "chinese",
    "english",
    "pinyin",
    "binary",
    "upperTrigram",
    "lowerTrigram",
    "judgment",
    "image",
    "interpretation",
    "changingLines"
  ]
}
🟢get_iching_hexagrams_number(number, lang, compact)

Retrieve complete I-Ching hexagram details by King Wen sequence number (1-64). Returns the full hexagram with Chinese name, English translation, judgment text, image text, modern interpretations for general situations, love, career, and decision-making, plus all six changing line meanings. Use this to display detailed hexagram information after casting or for educational reference.

Input Schema

{
  "type": "object",
  "properties": {
    "number": {
      "type": "integer",
      "description": "Hexagram number in King Wen sequence (1-64).",
      "minimum": 1,
      "maximum": 64,
      "example": 1
    },
    "lang": {
      "type": "string",
      "description": "Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.",
      "enum": [
        "en",
        "tr",
        "de",
        "es",
        "hi",
        "pt",
        "fr",
        "ru",
        "zh-Hans",
        "zh-Hant"
      ],
      "default": "en",
      "example": "en"
    },
    "compact": {
      "type": "boolean",
      "description": "Set true for the same data in a compact shape: arrays of same-shaped objects arrive columnar as {\"__cols\":[names],\"__rows\":[[values]]}. Lossless, typically 40 to 52 percent fewer tokens.",
      "default": false
    }
  },
  "required": [
    "number"
  ],
  "examples": [
    {
      "number": 1
    }
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "number": {
      "type": "number"
    },
    "symbol": {
      "type": "string"
    },
    "chinese": {
      "type": "string"
    },
    "english": {
      "type": "string"
    },
    "pinyin": {
      "type": "string"
    },
    "binary": {
      "type": "string"
    },
    "upperTrigram": {
      "type": "string"
    },
    "lowerTrigram": {
      "type": "string"
    },
    "judgment": {
      "type": "string"
    },
    "image": {
      "type": "string"
    },
    "interpretation": {
      "type": "object",
      "properties": {
        "general": {
          "type": "string"
        },
        "love": {
          "type": "string"
        },
        "career": {
          "type": "string"
        },
        "decision": {
          "type": "string"
        },
        "advice": {
          "type": "string"
        }
      },
      "required": [
        "general",
        "love",
        "career",
        "decision",
        "advice"
      ]
    },
    "changingLines": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "position": {
            "type": "number"
          },
          "text": {
            "type": "string"
          },
          "meaning": {
            "type": "string"
          }
        },
        "required": [
          "position",
          "text"
        ]
      }
    }
  },
  "required": [
    "number",
    "symbol",
    "chinese",
    "english",
    "pinyin",
    "binary",
    "upperTrigram",
    "lowerTrigram",
    "judgment",
    "image",
    "interpretation",
    "changingLines"
  ]
}
🟢get_iching_cast(lang, seed, compact)

Generate an authentic I-Ching reading using the traditional three-coin casting method. Each of the six lines is determined by virtually tossing three coins, producing values 6-9 where 6 (old yin) and 9 (old yang) are changing lines. Returns the primary hexagram with full interpretation, the line values showing which lines are changing, and if any lines change, the resulting hexagram that the primary transforms into. Optionally provide a seed for reproducible castings. Perfect for divination apps, oracle features, and decision-making tools.

Input Schema

{
  "type": "object",
  "properties": {
    "lang": {
      "type": "string",
      "description": "Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.",
      "enum": [
        "en",
        "tr",
        "de",
        "es",
        "hi",
        "pt",
        "fr",
        "ru",
        "zh-Hans",
        "zh-Hant"
      ],
      "default": "en",
      "example": "en"
    },
    "seed": {
      "type": "string",
      "description": "Optional seed for reproducible castings. Same seed = same casting every time. Pass any unique identifier (userId, session token, question hash). Omit for random casting.",
      "example": "user123-question1"
    },
    "compact": {
      "type": "boolean",
      "description": "Set true for the same data in a compact shape: arrays of same-shaped objects arrive columnar as {\"__cols\":[names],\"__rows\":[[values]]}. Lossless, typically 40 to 52 percent fewer tokens.",
      "default": false
    }
  },
  "examples": [
    {}
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "seed": {
      "type": "string"
    },
    "hexagram": {
      "allOf": [
        {
          "type": "object",
          "properties": {
            "number": {
              "type": "number"
            },
            "symbol": {
              "type": "string"
            },
            "chinese": {
              "type": "string"
            },
            "english": {
              "type": "string"
            },
            "pinyin": {
              "type": "string"
            },
            "binary": {
              "type": "string"
            },
            "upperTrigram": {
              "type": "string"
            },
            "lowerTrigram": {
              "type": "string"
            },
            "judgment": {
              "type": "string"
            },
            "image": {
              "type": "string"
            },
            "interpretation": {
              "type": "object",
              "properties": {
                "general": {
                  "type": "string"
                },
                "love": {
                  "type": "string"
                },
                "career": {
                  "type": "string"
                },
                "decision": {
                  "type": "string"
                },
                "advice": {
                  "type": "string"
                }
              },
              "required": [
                "general",
                "love",
                "career",
                "decision",
                "advice"
              ]
            },
            "changingLines": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "position": {
                    "type": "number"
                  },
                  "text": {
                    "type": "string"
                  },
                  "meaning": {
                    "type": "string"
                  }
                },
                "required": [
                  "position",
                  "text"
                ]
              }
            }
          },
          "required": [
            "number",
            "symbol",
            "chinese",
            "english",
            "pinyin",
            "binary",
            "upperTrigram",
            "lowerTrigram",
            "judgment",
            "image",
            "interpretation",
            "changingLines"
          ]
        },
        {}
      ]
    },
    "lines": {
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "changingLinePositions": {
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "resultingHexagram": {
      "allOf": [
        {
          "type": "object",
          "properties": {
            "number": {
              "type": "number"
            },
            "symbol": {
              "type": "string"
            },
            "chinese": {
              "type": "string"
            },
            "english": {
              "type": "string"
            },
            "pinyin": {
              "type": "string"
            },
            "binary": {
              "type": "string"
            },
            "upperTrigram": {
              "type": "string"
            },
            "lowerTrigram": {
              "type": "string"
            },
            "judgment": {
              "type": "string"
            },
            "image": {
              "type": "string"
            },
            "interpretation": {
              "type": "object",
              "properties": {
                "general": {
                  "type": "string"
                },
                "love": {
                  "type": "string"
                },
                "career": {
                  "type": "string"
                },
                "decision": {
                  "type": "string"
                },
                "advice": {
                  "type": "string"
                }
              },
              "required": [
                "general",
                "love",
                "career",
                "decision",
                "advice"
              ]
            },
            "changingLines": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "position": {
                    "type": "number"
                  },
                  "text": {
                    "type": "string"
                  },
                  "meaning": {
                    "type": "string"
                  }
                },
                "required": [
                  "position",
                  "text"
                ]
              }
            }
          },
          "required": [
            "number",
            "symbol",
            "chinese",
            "english",
            "pinyin",
            "binary",
            "upperTrigram",
            "lowerTrigram",
            "judgment",
            "image",
            "interpretation",
            "changingLines"
          ]
        },
        {}
      ]
    }
  },
  "required": [
    "lines",
    "changingLinePositions"
  ]
}
🟢get_iching_trigrams(lang, compact)

Retrieve all 8 I-Ching trigrams (bagua), the fundamental building blocks of hexagrams. Each trigram consists of three lines and represents a primal force of nature: Heaven (Qian), Earth (Kun), Thunder (Zhen), Wind (Xun), Water (Kan), Fire (Li), Mountain (Gen), and Lake (Dui). Understanding trigrams is essential for interpreting hexagram meanings, as each hexagram combines an upper and lower trigram.

Input Schema

{
  "type": "object",
  "properties": {
    "lang": {
      "type": "string",
      "description": "Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.",
      "enum": [
        "en",
        "tr",
        "de",
        "es",
        "hi",
        "pt",
        "fr",
        "ru",
        "zh-Hans",
        "zh-Hant"
      ],
      "default": "en",
      "example": "en"
    },
    "compact": {
      "type": "boolean",
      "description": "Set true for the same data in a compact shape: arrays of same-shaped objects arrive columnar as {\"__cols\":[names],\"__rows\":[[values]]}. Lossless, typically 40 to 52 percent fewer tokens.",
      "default": false
    }
  },
  "examples": [
    {}
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "total": {
      "type": "number"
    },
    "trigrams": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "number": {
            "type": "number"
          },
          "symbol": {
            "type": "string"
          },
          "chinese": {
            "type": "string"
          },
          "english": {
            "type": "string"
          },
          "pinyin": {
            "type": "string"
          },
          "binary": {
            "type": "string"
          },
          "attribute": {
            "type": "string"
          }
        },
        "required": [
          "number",
          "symbol",
          "chinese",
          "english",
          "pinyin",
          "binary",
          "attribute"
        ]
      }
    }
  },
  "required": [
    "total",
    "trigrams"
  ]
}
🟢get_iching_trigrams_id(id, lang, compact)

Retrieve a specific I-Ching trigram by its number (1-8) or English name (Heaven, Earth, Thunder, Wind, Water, Fire, Mountain, Lake). Returns complete trigram information including Chinese name, pinyin, element associations, core attributes, and symbolic meaning. Use this to understand the component trigrams of any hexagram.

Input Schema

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Trigram number (1-8) or English name (Heaven, Earth, Thunder, Wind, Water, Fire, Mountain, Lake).",
      "example": "Heaven"
    },
    "lang": {
      "type": "string",
      "description": "Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.",
      "enum": [
        "en",
        "tr",
        "de",
        "es",
        "hi",
        "pt",
        "fr",
        "ru",
        "zh-Hans",
        "zh-Hant"
      ],
      "default": "en",
      "example": "en"
    },
    "compact": {
      "type": "boolean",
      "description": "Set true for the same data in a compact shape: arrays of same-shaped objects arrive columnar as {\"__cols\":[names],\"__rows\":[[values]]}. Lossless, typically 40 to 52 percent fewer tokens.",
      "default": false
    }
  },
  "required": [
    "id"
  ],
  "examples": [
    {
      "id": "Heaven"
    }
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "number": {
      "type": "number"
    },
    "symbol": {
      "type": "string"
    },
    "chinese": {
      "type": "string"
    },
    "english": {
      "type": "string"
    },
    "pinyin": {
      "type": "string"
    },
    "binary": {
      "type": "string"
    },
    "element": {
      "type": "string"
    },
    "attribute": {
      "type": "string"
    },
    "familyMember": {
      "type": "string"
    },
    "direction": {
      "type": "string"
    },
    "bodyPart": {
      "type": "string"
    },
    "animal": {
      "type": "string"
    },
    "season": {
      "type": "string"
    },
    "quality": {
      "type": "string"
    },
    "meaning": {
      "type": "string"
    }
  },
  "required": [
    "number",
    "symbol",
    "chinese",
    "english",
    "pinyin",
    "binary",
    "element",
    "attribute",
    "familyMember",
    "direction",
    "bodyPart",
    "animal",
    "season",
    "quality",
    "meaning"
  ]
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded9 tools
verifiedversion not recorded9 tools