Ancient Echoes

io.github.FlamesCN由 GitHub 账号 FlamesCN 发布v1.0.0更新于 Nov 7, 2026

Deterministic BaZi and Chinese metaphysics tools for AI agents: charts, divination, almanac.

已验证Streamable HTTP可网页运行位置与生活知识与记忆

概览

AI 生成的概览

远程 MCP 服务器,为助手提供确定性的八字与中国传统术数计算:命盘、占卜、黄历与择日依据。

可以做什么
  • 计算八字(四柱)命盘,以及紫微斗数、奇门遁甲、七政四余、吠陀与西洋占星等体系
  • 起卦占卜,包括六爻、梅花、大六壬、小六壬与太乙
  • 查询黄历与择日依据
  • 在付费方案下使用主题工具,分析格局、喜用神、财富、命名与家庭
  • 调用按 AI 方案计费的 RAG 查询工具
  • 返回带版本号、可复现的结果,在支持 MCP Apps 的宿主中渲染为交互式命盘
适用场景
适合需要助手依据明确的出生或起卦数据给出可复现的中国传统术数计算结果,或查询黄历与择日信息的场景,而不是让模型自行编造解读。
运行要求
远程 Streamable HTTP 端点,无需本地安装包。需在 Authorization 请求头中提供 bearer 令牌:网页 API 密钥或设备令牌,或通过 PKCE 获取的 OAuth 2.1 访问令牌。需要服务商网站账号;付费方案解锁主题工具。需要网络访问。
安装前请注意
Authorization 中的 bearer 令牌属于机密,应避免写入共享配置;设备令牌可轮换或吊销。部分工具需付费方案,RAG 查询工具按 AI 方案计费。默认配额为每天 200 次、每分钟 30 次调用。说明中称结果仅供人工阅读参考,不构成医疗、法律、投资或人生决策建议。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Ancient Echoes,将其添加到工作区。
  2. 连接 Authorization token 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.FlamesCN%2Fancient-echoes-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "ancient-echoes": {
      "type": "http",
      "url": "https://www.ancientechoes.ai/api/v1/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

Ancient Echoes MCP

Ancient Echoes exposes deterministic Chinese metaphysics computation as a remote MCP server: BaZi (Four Pillars), Zi Wei Dou Shu, Qi Men Dun Jia, Qi Zheng Si Yu, Vedic and Western astrology, Liu Yao, Mei Hua, Da Liu Ren, Xiao Liu Ren, Tai Yi, almanac and election-day evidence.

The computation engine stays on our servers. This repository only contains the client-side skill and setup notes, so any client that speaks MCP can call the same versioned tools.

What you get

LayerFree accountPaid plans
chart / divination / election basic tools✅✅
Topic tools (pattern, favorable elements, wealth, group, naming, family)—✅
lingxi.rag_queryBilled against your AI planBilled against your AI plan

Every tool response carries calculationCapability / calculationVersion so results stay reproducible across releases.

Listed in the official MCP Registry as io.github.FlamesCN/ancient-echoes-mcp. Hosts that support MCP Apps render BaZi results as an interactive chart; other hosts get the same structured JSON.

OAuth-capable connectors can discover the authorization server at https://www.ancientechoes.ai/.well-known/oauth-protected-resource and connect with a standard PKCE flow. Developers can keep using a Web API key in the Authorization header.

1. Get an API key

Sign in at https://www.ancientechoes.ai and open User Center → LingXi Devices:

  • Web API Key (sk-…): simplest for MCP clients.
  • Device token (lxd_…): pair a machine with a short code; it carries the mcp scope by default and can be rotated or revoked without touching your password.

Either credential reaches POST /api/v1/mcp and POST /api/v1/tools/:name.

2. Connect an MCP client

Endpoint: https://www.ancientechoes.ai/api/v1/mcp (Streamable HTTP). The server speaks protocol versions 2026-07-28, 2025-11-25, 2025-06-18 and 2025-03-26.

Claude Code / Cursor / Codex (Bearer header)
json
{  "mcpServers": {    "ancient-echoes": {      "url": "https://www.ancientechoes.ai/api/v1/mcp",      "transport": "streamable-http",      "headers": {        "Authorization": "Bearer sk-your-key"      }    }  }}
Agent Plugins (Cursor Directory / compatible clients)

This repository is also a portable Agent Plugin: plugin.json declares the package, mcp.json points at the remote endpoint, and skills/ancient-echoes/ carries the usage skill. Clients that support the standard can load the repository directly; others can copy skills/ and mcp.json into their own plugin directory.

Verify with curl (2026-07-28)
bash
curl -sS https://www.ancientechoes.ai/api/v1/mcp \  -H "Authorization: Bearer $ANCIENT_ECHOES_TOKEN" \  -H "Content-Type: application/json" \  -H "MCP-Protocol-Version: 2026-07-28" \  -H "Mcp-Method: server/discover" \  -d '{"jsonrpc":"2.0","id":1,"method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}'

Modern requests must send MCP-Protocol-Version, Mcp-Method, and (for tools/call) Mcp-Name matching the request body. Legacy clients can keep using initialize.

3. Call a tool

bash
curl -sS https://www.ancientechoes.ai/api/v1/tools/bazi.calculate_chart \  -H "Authorization: Bearer $ANCIENT_ECHOES_TOKEN" \  -H "Content-Type: application/json" \  -d '{"input_mode":"birth","year":1990,"month":6,"day":15,"hour":9,"minute":30,       "is_male":true,"calendar_type":"solar","is_leap_month":false,       "cast_time_source":"birth","timezone_id":"Asia/Shanghai",       "split_zi_hour":true,"use_true_time":false,"apply_dst":false}'

Rules that matter:

  • Pass an explicit civil time, calendar, timezone and (for true solar time) coordinates. The server never fills missing fields with its own clock or a default city.
  • Paid tools return tool_entitlement_required when your plan does not include the feature.
  • Quota: 200 tool calls/day and 30 calls/minute per user by default (429 + tool_quota_exceeded when exceeded).
  • All current tools are read-only. Results are evidence for human reading, not medical, legal, investment or life-decision advice.

Skill

ancient-echoes-mcp/SKILL.md teaches an agent how to discover tools, collect the minimum required parameters, respect entitlements, and report results without inventing predictions. Drop it into your agent's skills directory.

License

MIT. The server-side engine, knowledge base and datasets are not part of this repository.

来源:README.md,提交 870b0e5

工具

0
SourceWeft 尚未读取此服务器的工具。

版本历史

1
  1. v1.0.0最新Nov 7, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分