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 分