Provide seamless access to Magic: The Gathering Chinese card data through a set of powerful query tools. Search cards by complex criteria, retrieve card sets, and get detailed card information to enhance your applications or workflows. Easily integrate via stdio or Streamable HTTP modes for flexible usage.
Tools
get_card_by_set_and_number
通过系列代码和收集编号获取单张卡牌。
search_cards
通过查询字符串搜索卡牌,支持分页和排序。 **查询语法示例:** - `t:creature c:r` (红色生物) - `pow>=5 or mv<2` (力量大于等于5或法术力值小于2) - `o:"draw a card" -c:u` (包含"抓一张牌"的非蓝色牌) - `(t:instant or t:sorcery) mv<=3` (3费或以下的瞬间或法术) **分页参数:** - `page`: 页码 (整数, 默认 1) - `page_size`: 每页数量 (整数, 默认 20, 最大 100) **排序参数:** - `order`: 按字段排序,逗号分隔。前缀 `-` 表示降序 (例如: `name`, `-mv`, `name,-rarity`) 默认排序: `name` **其他参数:** - `unique`: 去重方式 (id, oracle_id, illustration_id) - `priority_chinese`: 是否优先显示中文卡牌
get_sets
返回所有MTG卡牌系列的完整数据,按发布日期降序排列
get_set
根据系列代码获取单个系列的详细信息