Horosa Skill

Developer tools

Local-first offline 术数/占星 (Horosa 星阙): 119 technique tools, all computed on your machine.

Your AI app calls the Horosa Skill MCP server, which does the developer tools work and sends the result back to the chat.

About Horosa Skill

Horosa Skill is a community MCP server from Horace-Maxwell, filed in our directory under developer tools. Local-first offline 术数/占星 (Horosa 星阙): 119 technique tools, all computed on your machine.

Horosa Skill is listed in the official MCP registry as io.github.Horace-Maxwell/horosa-skill, version 0.53.1.

At a glance

Publisher
Horace-Maxwell (community)
Runs
See the README for setup
Install from
MCP bundle: https://github.com/Horace-Maxwell/horosa-skill/releases/download/v0.53.1/horosa-skill-0.53.1.mcpb
Written in
Python
License
AGPL-3.0
GitHub stars
547
Official MCP registry
io.github.Horace-Maxwell/horosa-skill

How to set up Horosa Skill

  1. Follow the install steps in the Horosa Skill README; it is written in Python, so have that toolchain ready.
  2. Check the Horosa Skill README for keys or settings; the registry lists none that Horosa Skill requires.
  3. Add Horosa Skill to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Horosa Skill tools to confirm the connection.
  5. Run one read-only task with Horosa Skill first, and keep your app asking before each tool call until the results look right.

Horosa Skill compared with similar servers

  • Three-Live 3D, CAD & Spatial XR Compiler by google has fewer GitHub stars than Horosa Skill (545 against 547); Three-Live 3D, CAD & Spatial XR Compiler is official while Horosa Skill is a community server, and both run locally.
  • Godot (tugcantopaloglu) by tugcantopaloglu has more GitHub stars than Horosa Skill (549 against 547); both are community servers, and both run locally.
  • Kicad (lamaalrajih) by lamaalrajih has fewer GitHub stars than Horosa Skill (540 against 547); both are community servers, and both run locally.

Before you connect Horosa Skill

  • Give Horosa Skill its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Horosa Skill tool call until you trust what it does with them.
  • Treat text that Horosa Skill fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Horosa Skill on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Horosa Skill

How marketing and sales teams put Horosa Skill to work, by company size. Pick the size closest to yours and start Horosa Skill on one use case.

Small business

  • A small business with a developer can use Horosa Skill to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Horosa Skill to explain and fix a marketing site issue without context switching between tools.
  • Horosa Skill runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Horosa Skill to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Horosa Skill to keep scripts and automations documented and versioned as they change.
  • Start Horosa Skill on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out Horosa Skill with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Horosa Skill so web and marketing engineering share one reviewed way of working with AI.
  • Horosa Skill is a community server, so have security review the code and pin a version before Horosa Skill touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Horosa Skill README

From Horace-Maxwell/horosa-skill on GitHub, shared under its AGPL-3.0 license. Images are left out; the original has them.

README.md

简体中文 · English

地表最强全能玄学术数Skill

A local-first MCP server & CLI that exposes 119 real astrology & Chinese metaphysics techniques from Horosa (星阙) to any AI client.

🚀 快速开始 Quickstart · 🖼 截图 Screenshots · 🧭 技法总览 Techniques · 🔌 接入客户端 Clients · ❓ 常见问题 FAQ · 💬 ChatGPT 托管版

在 AI 里装 / In your AI agent(Claude Code):

/plugin marketplace add Horace-Maxwell/horosa-skill
/plugin install horosa@horosa-skill

其他客户端 / Other clients:Codex、Cursor、Claude Desktop、Open WebUI 等见 快速开始 · 不想安装: ChatGPT 托管版

Horosa Skill 把星阙 Horosa 的 119 个真实术数 / 占星技法,做成任何 AI 都能本地调用的 MCP server 与 CLI。 克隆仓库、装一次离线 runtime,Claude Code / Claude Desktop / Codex / Cursor / Open WebUI 等客户端就能通过 MCP 或 JSON-first CLI 直接调用真实的星阙方法:西洋本命 / 推运 / 卜卦 / 择日,八字 / 紫微 / 大六壬 / 奇门 / 太乙 / 金口诀 / 三式合一,六爻 / 塔罗 / 天文地占 / 灵棋经 / 小六壬 / 飞宫小奇门 / 小成图 / 皇极轨策 / 神数正传,以及全 14 路神数。

算法在本机运行,断网可用;每个技法返回统一 envelope 与星阙式导出结构,并附一张确定性的技法依据卡;每次调用自动落成可检索的本地记录。与星阙桌面端共用同一套后端、逐值同源(导出契约 v18 镜像桌面端 aiExport v68)。

119 技法一次装齐
西洋全链路、中文术数主干、全 14 路神数、十路择日,一次安装全部到位。
算法本机跑 · 断网可用
Java / Python / Node 离线 runtime 在你的机器上计算,不联网、不上传。
AI 不许乱补参数
缺生辰、地点、时区、流派时,澄清闸先拦下并给出可直接转给用户的追问。
结论可溯源
每次起盘附技法依据卡:用了什么技法、什么口径(每项设置从哪来)、谁算的、段落全不全、版本链。
35 域知识库 · 引必带出处
hover 知识 + 技法操作手册 + 八字断语库,逐条带上游文件与版本出处。
忠实性评测 · 幻觉判红
确定性校验器把解读逐句对盘面真值;喂错盘、诱导复述一律判红。
多技法合参 · 分歧必披露
horosa_hecan 并行起盘,收敛与分歧分开填,不许平均、不许只挑一边。
地名 · 档案 · 报告
地名离线解析坐标与时区;命主档案跨会话可用;DOCX / PDF / PNG / ICS 一键导出。
免费 · 开源 · AGPL
与星阙桌面端同一后端、逐值同源;代码、契约、测试全部公开。

[!NOTE] 它不是又造一个简化占算器,而是把星阙已有的本地算法、星历与导出协议,整理成一层适合 GitHub 分发、适合 AI 调用、适合长期本地管理的接口。桌面端算出来是什么,这里就是什么, , 而且每个结论都能回答「这盘怎么来的」。

[!TIP] 不想安装? 在 ChatGPT 里直接用托管版:Horosa 星阙插件。免费、免注册、匿名,输入和结果不写入磁盘;包含 23 个常用计算工具(服务源码)。完整 119 技法、本地记忆和报告导出仍需安装本仓。

截图


西洋本命盘(`chart`)

紫微斗数命盘(`ziwei_birth`)

两张图都由 horosa_report_render {style: "chart"} 直接从引擎结果生成,没有 AI 参与;输入是项目自带的虚构样例(命主「匿名」)。

完整特性清单
  • 119 个真实技法,一次安装,全程离线。 覆盖西洋占星全链路、中文术数主干、数算与卜法、全 14 路神数;算法在本机运行,不联网、不上传。
  • 为 AI 消费而设计的稳定契约。 每次调用返回统一 envelope,接入导出协议的技法附带 export_snapshot(段结构化正文)。同一技法连续调用得到同一套字段,落库后结构不丢。
  • 调用前的硬性澄清闸。 只要技法受时间 / 地点 / 时区 / 性别 / 事项 / 宫制 / 历法 / 起局方式影响,agent 在用户回答前会被结构化拦截,并收到可直接转发给用户的追问文本;只问还没回答的,钟点、性别这类事实不能用「确认」代替;读不懂的入参按字段说清楚,不再算出另一张盘。
  • 每个结论可溯源。 响应自带技法依据卡(技法 / 流派口径 / 谁算的 / 段落全不全 / 版本链),horosa_technique_report 一键出方法报告,会话级自动检出跨技法口径冲突。
  • 35 域方法论知识库,引必带出处。 星阙 app 内 hover 知识三域 + 31 份技法操作手册 + 八字断语库(21 类口诀)共 469 条,逐条带上游文件与版本出处;没有出处的解读必须明说是通则推理。
  • 盘面事实忠实性评测。 确定性校验器把 AI 解读逐句对盘面机读真值,判 supported / invented / contradicted;喂错盘与诱导复述判红;125 条基准用例与工具注册表锁步。
  • 一问多技法合参。 horosa_hecan 至少两种技法交叉印证(可复用此前的 run_id)+ 合参模板(带各技法正文节选):每条结论必须绑定真实段落,收敛与分歧分开填,分歧必须披露、不许平均。
  • 精简的响应体量。 MCP 结果缺省是阅读视图:正文一遍 + 段索引 + 技法依据卡,不带引擎原始树;正文过长按段裁,warnings 写明续读调用。response_view=sections|titles|full 改取分段正文 / 只要段标题 / 带原始树,完整结果始终已归档。
  • 主限法可推至 3000 年。 逐位核验的核5方位法 + 22 项时间钥匙 + In Zodiaco / In Mundo + 宿命点(Vertex)应星 + 映点 / 界作迫星,多圈复发行。
  • 完整的本地记录系统。 SQLite 全文检索(trigram,中文子串可命中)+ JSON artifact 归档;按人名 / 技法 / 日期区间 / 全文组合检索,跨会话找回历史。
  • 结构化报告导出。 一条命令生成 DOCX / PDF / JSON;Markdown 表格渲染为真 Word 表格,含导航大纲、目录、页码与中文字体;style=chart 不经 AI 直接出完整排盘报告。
  • 自备知识库。 自己的笔记放进知识库文件夹,计算时按名 / 标签 / auto 点选,随结果附进 AI 上下文。
  • 成熟的安装与升级链。 断点续传、多镜像回退、实时进度;版本短路(已最新则跳过下载);upgrade / uninstall / selfcheck / doctor 环境体检齐备。
  • 同源后端。 奇门 / 太乙 / 金口诀走星阙 ken 后端;14 路神数走 chart 服务上挂载的 kentang 引擎;结果由 headless JS 层重排为 aiExport.js 段结构。
⬆ 回到顶部

架构

AI 客户端经 MCP(stdio / streamable-http)或 JSON-first CLI 接入 Horosa Skill(本地进程 · 119 工具 · 澄清闸 · 统一 envelope); 它在本机调起离线 runtime, , Java 后端(农历 / 八字 / 紫微 / 六壬)、Python chart 服务(西洋星盘、ken 三式引擎、kentang 神数引擎)与 headless JS 层 horosa-core-js(把结果重排成 aiExport.js 段结构), , 再把每次调用写进本地 SQLite 与 JSON 归档。 上游星阙只单向同步进本仓,runtime 随 GitHub Releases 分发。

一次调用

以「查今年事业,1995-06-03 05:30 上海出生」为例,agent 端的实际序列:

  1. 澄清闸兜底:只问还没回答的问题, , 缺出生钟点、性别这类只有用户知道的事实时单独问(确认标记代替不了);宫制等设置没给时问是否沿用星阙默认。工具返回可直接转给用户的追问文本,agent 不自行补参。
  2. 起盘:用户答完后把答案放进载荷(地点可直接写 place: "上海",按地点 + 日期推出坐标与含夏令时的时区),设置类的确认再带 agent_confirmed_settings: true;返回统一 envelope,含 memory_ref.run_id 与 data.export_snapshot。
  3. 读盘:读 export_snapshot.export_text 撰写解读(MCP 缺省只给正文与段索引;被裁的段按 warnings 里的 horosa_memory_show 调用续读;要原始树传 response_view: "full")。
  4. 溯源尾注:把 data.technique_card 转述成尾注, , 用了什么技法、什么口径、谁算的、段落全不全、版本链。
  5. 出报告:report_render 生成解读终稿 DOCX(自动写回记忆);horosa_technique_report 另出「技法依据报告」。
  6. 跨会话找回:memory_query 按人名 / 技法 / 日期检索,memory_show 取完整记录。

[!NOTE] 最短路径为 2 次工具调用 + 1 次本地分析:起盘拿到 run_id,本地撰写 ai_report,再 report_render 出 Word 并自动归档。一问需要多技法互证时,改用一次 horosa_hecan 并行起盘(见可信度体系)。全程算法在本机、AI 只负责解读、结构永不丢。

⬆ 回到顶部

快速开始

[!TIP] 前置只需 uv:macOS / Linux curl -LsSf https://astral.sh/uv/install.sh | sh;Windows(PowerShell)powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"。装完 重开终端(或 source $HOME/.local/bin/env)让 uv 进 PATH;Python ≥ 3.12 由 uv 自动准备;磁盘预留约 5 GB(runtime 下载约 730 MB、解压后约 2 GB)。

git clone https://github.com/Horace-Maxwell/horosa-skill.git
cd horosa-skill/horosa-skill
uv sync
uv run horosa-skill install      # 安装离线 runtime(带进度 / 断点续传;已最新则跳过下载)
uv run horosa-skill doctor       # 环境体检(磁盘 / 端口 / node 实跑探针,期望 issues: [])
uv run horosa-skill selfcheck    # 活体验证:起一张盘 → 存 → 读回
uv run horosa-skill serve        # 启动本地 MCP(默认 http://127.0.0.1:8765/mcp)

不想 clone 源码?最短的是 PyPI(自 0.53.1 起上架):

uvx horosa-skill install                  # 装离线 runtime(同上)
uvx horosa-skill doctor                   # 体检
uvx horosa-skill serve --transport stdio  # 给客户端直连;`client config --launcher uvx` 生成对应配置

要钉死版本或走镜像,用发布页 wheel(无需 git), , 每个发布页都附带纯 Python wheel,uvx 直接从 URL 起, HOROSA_RUNTIME_MIRROR 对 wheel 与 runtime 一并生效:

WHL="https://github.com/Horace-Maxwell/horosa-skill/releases/download/v0.53.1/horosa_skill-0.53.1-py3-none-any.whl"
uvx --from "$WHL" horosa-skill install                    # 装离线 runtime(同上)
uvx --from "$WHL" horosa-skill doctor                     # 体检
uvx --from "$WHL" horosa-skill setup --client cursor       # 零安装一条命令接入(自动选 `--launcher uvx-wheel`,配置里写 wheel URL)
uvx --from "$WHL" horosa-skill serve --transport stdio    # 给客户端直连;`client config --launcher uvx-wheel` 生成对应配置

github.com 直连不通(镜像 / API 直链 / U 盘离线搬运 / 代理与企业证书)见 docs/INSTALL_RESTRICTED_NETWORK.md。

Linux / Intel Mac / Docker(实验)

[!NOTE] Linux / Intel Mac / Docker(实验):离线 runtime 只发布 macOS(arm64) / Windows(x64) 两个 payload。其它平台上 horosa-skill install 自 0.50.0 起改装平台无关的 JS 引擎资产(horosa-core-js-v<版本>.tar.gz,约 7 MB,装到 runtime 根下的 core-js/; 需要系统里有 Node.js ≥ 20.10,没有时引擎照装、结果里说明装什么):八字、六爻、大六壬、河洛、参评、一掌经、塔罗、黄历等本地 JS 技法因此可用; 任何平台都可以用 install --engine-only 只装它,uninstall --engine-only 只删它。要 Java / chart 服务算的技法(紫微、西占、三式、神数等) 走 MCP 网关:把 HOROSA_SERVER_ROOT / HOROSA_CHART_SERVER_ROOT 指向宿主机或另一台装了 runtime 的机器即可。 仓库附带实验性的 horosa-skill/Dockerfile + docker-compose.yml(网关镜像:自带钉版本的 Node 与 JS 引擎,容器内没有离线 runtime, 必须设上面两个变量;绑 0.0.0.0 必须给 HOROSA_MCP_TOKEN;以非 root 的 10001 运行,数据在卷 horosa_skill_data_v2:/data, compose 只在宿主回环上发布端口。从旧卷迁移:docker run --rm -v horosa-skill_horosa_skill_data:/from -v horosa-skill_horosa_skill_data_v2:/to alpine sh -c "cp -a /from/. /to/ && chown -R 10001:10001 /to"); 手工起也行:pip install "https://github.com/Horace-Maxwell/horosa-skill/releases/download/v0.53.1/horosa_skill-0.53.1-py3-none-any.whl" 后 horosa-skill serve --transport streamable-http 即为网关(也可以 pip install horosa-skill 从 PyPI 装)。

安装排障与升级 / 卸载
症状 处理
uv: command not found 先安装 uv:curl -LsSf https://astral.sh/uv/install.sh | sh
八字 / 六爻 / 六壬等报 js_engine.cli_missing,或 doctor 的 js_engine.state 是 absent 本机没有 JS 引擎(Linux / Intel Mac / Docker 外的 pip 网关 / 没跑过 install):uv run horosa-skill install --engine-only(任何平台,约 7 MB),再装 Node.js ≥ 20.10 让 node 进 PATH(或设 HOROSA_NODE_BIN);doctor 的 js_engine 节应为 ready、engine_source: engine_asset。离线搬运:发布页下载 horosa-core-js-v<版本>.tar.gz 后 install --engine-only --archive <文件> --sha256 <清单 core_js.sha256>
下载缓慢或中断 重跑 install 会断点续传;或设 HOROSA_RUNTIME_MIRROR=<镜像前缀> 走镜像
github.com:443 直连不通(但 api.github.com 可达), , 完整方案见 docs/INSTALL_RESTRICTED_NETWORK.md 走 API 资产直链下载后本地安装:先 curl -s https://api.github.com/repos/Horace-Maxwell/horosa-skill/releases/latest 找到平台 zip/tar.gz 的 assets[].id,再 curl -L -H "Accept: application/octet-stream" -o runtime-archive https://api.github.com/repos/Horace-Maxwell/horosa-skill/releases/assets/<id>,最后 uv run horosa-skill install --archive runtime-archive --sha256 <清单里的 sha256>(文件名随意,安装器按内容认 zip / tar.gz;--sha256 可省但建议带上)
Java 后端(:9999)未就绪 / doctor 报 services:java_backend_not_running 会自动降级 chart-only 而不是全盘卡死:三式(奇门/太乙/金口)、神数、地占、塔罗、西占 chart 族照常可用;nongli/bazi/ziwei/liureng 与「占时」起课暂不可用。doctor 的 java_diagnostics 附捕获的 Java 启动错误,selfcheck 会自动改用 chart 侧探针
Windows 上 Java 进程秒退、无任何日志 已知诱因:代理/VPN/安全软件的 WFP 过滤会拦 java.exe 的 loopback(JDK-17 内部管道优先 AF_UNIX,connect 被拦即崩且无 TCP 回退,见 issue #14)。停掉相关服务通常不够(WFP 过滤驻留内核),需禁用后重启再试;期间 chart-only 降级模式可继续用
磁盘不足 / 端口被占 / 看不懂 doctor 的码 uv run horosa-skill doctor --explain:stdout 仍是 JSON,stderr 多 6–10 行人话;报告里 advice[] 给每个 issue / warning 码一句 user_summary + next_action;--probe-network 逐个镜像探清单 URL(默认零外网请求)
macOS 首次起 runtime 失败且无日志 / doctor 报 quarantine:runtime_binaries 浏览器下载的归档解出来的 python / java / node 带 Gatekeeper 隔离属性:运行报告里 quarantine.fix 给出的 xattr -dr com.apple.quarantine <runtime/current> 后 runtime restart
Windows 路径太长(runtime.install_long_path) doctor.windows.headroom_chars 为负即会拒:设 HOROSA_RUNTIME_ROOT=C:\horosa,或开注册表 LongPathsEnabled=1 后重启(v0.38.0 起临时目录前缀缩短,多出约 20 字符余量)
Windows 上 install 报 runtime.path_not_ascii,或 doctor 报 windows:runtime_root_not_ascii(八字 / 紫微 / 六壬起不来、chart 族报参数错误) runtime 目录路径含中文等非英文字符(中文用户名下的默认路径即是);随包的 Java 17 与 Swiss Ephemeris 用窄字符 API 访问文件。设纯英文路径:setx HOROSA_RUNTIME_ROOT C:\horosa,新开终端并重启 AI 客户端后重跑 install / setup
慢网 / 企业代理下载总超时 HOROSA_RUNTIME_DOWNLOAD_TIMEOUT_SECONDS(默认 120)、HOROSA_RUNTIME_DOWNLOAD_ATTEMPTS(默认 3,每个镜像各算一轮);doctor 报 arch.emulated: true 只是提示进程在仿真下跑,不影响安装
Windows 首次启动弹防火墙 / doctor 报 listener:not_loopback_only 旧版启动器把 Java 绑在 0.0.0.0;升级后 uv run horosa-skill runtime restart 重套模板即钉回 127.0.0.1(doctor.listener_scope 可核)
Codex 里一堆报错 / 首轮看不到工具 多半是超时没写(Codex 默认 10 s/60 s):uv run horosa-skill client check --client codex 会指出缺哪项,client config --format codex --write ~/.codex/config.toml 原位合并修好
终端里 uvx 能跑、GUI 客户端里起不来 GUI 客户端不继承 shell PATH;重跑 client config(现在写绝对路径),client check 报 command_not_on_path 即此症
Windows 用户名带空格 / 中文时服务起不来 v0.38.0 起启动器给每个路径参数加了引号;升级后 runtime restart
升级 uv run horosa-skill upgrade(同版本不重复下载)
卸载 uv run horosa-skill uninstall(默认仅打印将删清单,--yes 执行,--purge-data 才动用户数据:只删本工具自己写的文件,数据目录里别的东西原地保留并列在 left_in_place)
⬆ 回到顶部

接入 AI 客户端

setup --client <客户端> 一条命令走完接入(v0.38.0):探网(5 s)→ 装 / 校验离线 runtime →(--vectors 时)准备向量检索 → 写配置(自动定位、 只动 horosa 条目、内容没变不写、首次改写前把原文件存为 .horosa-bak、原子替换并保留权限;终端里设的引擎 / 数据目录变量写进条目 env)→ 把 horosa-agent skill 装进该客户端读的 skills 目录(v0.41.0; 多数客户端读共享的 ~/.agents/skills;--no-skill 跳过、--skill-dir 指定)→ doctor → 回读磁盘体检 → 用客户端将要执行的那条命令真起一次 stdio server 并数工具 → 打印下一步。失败时 stderr 给出结构化失败包(step / code / config_untouched / backup_path / retry_command),退出码 2;写配置之前失败保证 config_untouched: true。只想看配置不落盘用 client config:

uv run horosa-skill setup --client cursor                # 一条命令接入(25 个客户端,见下方 Works with 表)
uv run horosa-skill setup --client cursor --dry-run      # 只看计划:零副作用
uv run horosa-skill client config --format claude-code   # 只生成不落盘:输出 claude mcp add … 命令
uv run horosa-skill client config --format codex         # config.toml 片段(含超时设置)
uv run horosa-skill client check                         # 体检本机各客户端**实际写着什么**(含 skill 装没装、是不是本版)
uv run horosa-skill client skill --client codex          # 只装 skill 规则(手动配过 MCP 的用户;不带 --client = 共享目录)

skill 是 agent 读的规则(先问后调 / 只读返回的快照 / 禁手算),此前只有打开本仓的 agent 读得到;wheel 里现在带一份,setup 顺手装好。 已有同名目录时:由 npx skills 等工具以软链接管理的、或不是本工具装的,一律不动;你改过的旧版先备份成 horosa-agent.horosa-bak 再更新。

仓根另带 6 份薄镜像, , GEMINI.md(Gemini CLI)、.github/copilot-instructions.md(Copilot)、.windsurf/rules/、 .clinerules/、.cursor/rules/(Cursor)、.agents/skills/horosa-agent/(Codex / agentskills.io), , 让这些 agent 打开仓库就知道闸门、读盘规则与精简面下的 horosa_tool_run 直呼;策略唯一源仍是 SKILL.md, 其中「Shell-only agents」一节给没有 MCP 的 agent 一套纯 CLI 契约(tool run --input/--output、退出码、闸门流程)。

Works with · 全部客户端一览(传输 / 一行接入 / 默认工具面 / 注意事项)
客户端 传输 一行接入 默认工具面 注意
Claude Code stdio setup --client claude-code(CWD 有 .mcp.json 写项目级,否则自动 claude mcp add --scope user) 全量 133 项目内直接用仓根 .mcp.json;说明
Claude Code Plugin stdio /plugin marketplace add Horace-Maxwell/horosa-skill → /plugin install horosa@horosa-skill 全量 133 skill + MCP 一步到位;插件装在 ~/.claude/plugins/cache/horosa-skill/horosa/<version>/horosa-skill,首次运行 uv run --directory "<那个目录>" horosa-skill install 装离线 runtime(工具报 runtime.not_installed 时会给出带真实路径的这条命令)
Agent Plugins v1(VS Code · Copilot CLI · Codex · Kiro · OpenHands · Qwen Code) stdio copilot plugin install Horace-Maxwell/horosa-skill;VS Code「Chat: Install Plugin From Source」填仓库地址;qwen extensions install Horace-Maxwell/horosa-skill;Kiro「Import power from GitHub」 精简 14 仓根 plugin.json + mcp.json(规范 1.0.0):命令是 uvx + 钉当前版本的 wheel,需先装 uv;首次调用前 uvx --from <wheel> horosa-skill install 装离线 runtime。Codex 经 codex plugin marketplace add Horace-Maxwell/horosa-skill 读同一份清单(未实测);OpenClaw / Claude Code 仍走 .claude-plugin/
MCP 官方注册中心 stdio(.mcpb) 在支持注册中心的客户端里搜 horosa(Goose、Junie、Copilot /mcp search、PulseMCP、Glama 都从这里取) 全量 133 条目 io.github.Horace-Maxwell/horosa-skill,只登记每个 release 的 .mcpb(带 sha256,客户端装前校验);v0.41.0 起每次发版翻公开后自动登记
Claude Desktop stdio setup --client claude-desktop,或安装 .mcpb 一键包 精简 16(取消勾选「精简工具面」/ --surface full 得全量 133) .mcpb 在每个 release 的资产里
Cursor stdio setup --client cursor(或 client config --format cursor 拿官方 deep link 点击即装) 精简 14 Cursor 全局约 40 工具上限,超出静默丢弃
VS Code (Copilot) stdio setup --client vscode(写用户级 mcp.json;或 client config --format vscode 拿 vscode:mcp/install 链接) 精简 14 跨所有 server 共 128 工具上限;仓内已带 .vscode/mcp.json
Codex stdio setup --client codex(原位合并 ~/.codex/config.toml,含超时) 精简 14 必须调高 startup_timeout_sec(默认 10 s)与 tool_timeout_sec(默认 60 s);每工具 inputSchema ≤ 5000 B(0.158 缺省预算,本仓守卫)
Gemini CLI stdio setup --client gemini 精简 14 工具名 ≤63 字符 + 严格 JSON Schema 2020-12(广告层已按它收敛)
Windsurf → Devin Desktop stdio setup --client windsurf(CLI 键不变;写 Devin 的 MCP 文件:macOS/Linux ~/.config/devin/mcp_config.json、Windows %APPDATA%\devin\mcp_config.json、项目级 .devin/mcp_config.json;已有旧 ~/.codeium/windsurf Cascade 配置则原位合并) 精简 14 2026-09 起 Cascade 已移除,Devin Local 读 Devin CLI 的 MCP 文件;旧 Cascade 100 工具上限
Cline stdio setup --client cline 精简 14 无工具搜索,全量面偏重
Zed stdio setup --client zed 精简 14 配置根键是 context_servers
OpenCode stdio setup --client opencode(写 ~/.config/opencode/opencode.json(mcp 键,命令写成一个数组)) 精简 14 缺省连接 / 调用超时撑不过冷启动与择日扫描,已写 timeout: 600000
Goose stdio setup --client goose(写 ~/.config/goose/config.yaml 的 extensions(Windows %APPDATA%\Block\goose\config\;只动 horosa 一段)) 精简 14 超时单位是秒,已写 600
Kiro stdio setup --client kiro(写 ~/.kiro/settings/mcp.json;skill 装到 ~/.kiro/skills) 精简 14 Kiro CLI 启动缺省只等 5 s:先 kiro-cli settings mcp.initTimeout 120000
GitHub Copilot CLI stdio setup --client copilot-cli(写 ~/.copilot/mcp-config.json(含 tools: ["*"]、timeout)) 精简 14 只转发 PATH:env 表写入 HOME 与两个 runtime 根,探针按同样形状验证
JetBrains Junie stdio setup --client junie(写 ~/.junie/mcp/mcp.json) 精简 14 无超时字段:首次用前 horosa-skill runtime start 预热
Qwen Code stdio setup --client qwen(写 ~/.qwen/settings.json(保留注释)) 精简 14 discoveryTimeoutMs 缺省 30 s,已写 120000
Kimi Code CLI stdio setup --client kimi(写 ~/.kimi-code/mcp.json) 精简 14 严格 JSON、一条坏整份拒;已写 startupTimeoutMs / toolTimeoutMs
Qoder stdio setup --client qoder(写 ~/.qoder/settings.json;skill 装到 ~/.qoder/skills) 精简 14 旧版 Qoder IDE 只能在界面里配 MCP
CodeBuddy stdio setup --client codebuddy(写它实际读的那一个文件(~/.codebuddy/.mcp.json → mcp.json → ~/.codebuddy.json 中第一个存在的);skill 装到 ~/.codebuddy/skills) 精简 14 超时只能用环境变量 MCP_TIMEOUT / MCP_TOOL_TIMEOUT
TRAE stdio setup --client trae(不写文件:打印一键导入链接 trae://…(国内版 trae-cn://)与可粘贴 JSON;skill 装到 ~/.trae/skills) 精简 14 所有 MCP 合计 40 个工具上限;command 不能含空格
Amp stdio setup --client amp(写 ~/.config/amp/settings.json 的字面量键 amp.mcpServers) 精简 14 条目不许多余字段(无超时):首次用前先预热
Warp stdio setup --client warp(写 ~/.warp/.mcp.json(保存即生效)) 精简 14 若同时让 Warp 自动拉起 Claude Code / Codex 的 server,可能出现两份
Factory Droid stdio setup --client droid(写 ~/.factory/mcp.json(含 connectTimeout / timeout)) 精简 14 改完自动重载
Augment Auggie CLI stdio setup --client augment(写 ~/.augment/settings.json(保留注释)) 精简 14 IDE 扩展用自己的设置面板,不读这个文件
Deep Code stdio setup --client deepcode(写 ~/.deepcode/settings.json(严格 JSON;文件有注释则拒写, , 它会把整份连 API key 一起丢掉)) 精简 14 单次工具调用固定 60 s 上限,长任务会超时;启动超时用 DEEPCODE_MCP_TIMEOUT
DeepSeek Harness(dsh) stdio setup --client dsh(生成独立补丁 ~/.horosa/clients/dsh/horosa.cordis.yml,dsh web --patch <它> 启用;不改你的 cordis.patch.yml) 精简 14 开发者预览版,格式可能变
OpenClaw / mcporter stdio client openclaw-setup --workspace ~/.openclaw/workspace 全量 133 ,
Open WebUI · n8n · Dify streamable-http horosa-skill serve --host 0.0.0.0 --token <随机串> 全量 133 接入说明;跨机必须带令牌,且没有 TLS,请放反代后面
ChatGPT / claude.ai 远程连接器 streamable-http 同上,再套一层终结 OAuth 的 HTTPS 网关(Cloudflare Access / oauth2-proxy), , 两家连接器只接 OAuth,本 server 只提供静态 Bearer,网关负责把 OAuth 换成注入 Authorization: Bearer <HOROSA_MCP_TOKEN> 全量 133 没有托管端点;配方见 说明

--surface full / --surface compact 可覆盖默认;--launcher uvx-git 生成免 checkout 的 零安装命令(uvx --from "git+…#subdirectory=horosa-skill"),--launcher uvx 则直接从 PyPI 起。

平台

平台 离线 runtime 说明
macOS arm64 ✅ 官方载荷 主力平台
Windows x64 ✅ 官方载荷 见 Windows 说明
Windows ARM(骁龙本 / Surface 等) ✅ 自动装 x64 载荷走仿真(自 0.38.0) Windows 11 的 x64 仿真下 Java / Python / Node 都能起(GitHub windows-11-arm 真机 lane 验证);install 报 runtime.platform_emulated、doctor 报 emulated: true(payload_platform: win32-x64)
Linux ⚠️ 无载荷(实验);JS 引擎可装(自 0.50.0) install 自动只装平台无关的 JS 引擎(需 Node.js ≥ 20.10),本地 JS 技法可用;其余技法走网关模式:把 HOROSA_SERVER_ROOT / HOROSA_CHART_SERVER_ROOT 指向一台受支持的机器
Intel Mac ❌ 不支持载荷;JS 引擎可装(自 0.50.0) arm64 载荷不能在 Rosetta 下跑(内含 JDK/Python 是原生 arm64);本轮明确不做 x86_64 载荷。install 自动只装 JS 引擎(需 Node.js ≥ 20.10),其余技法走网关模式

[!TIP] 上下文预算受限的客户端可设 HOROSA_MCP_COMPACT=1,只暴露 16 个门面工具(含按名直调的 horosa_tool_run,119 个技法仍可按名到达),澄清闸照常生效。或用 HOROSA_TOOLSETS=astro,cn 按域裁剪平铺面(合法域 astro/predict/chart/cn/shenshu/other/export/knowledge,别名 western/chinese/reference/all/none;认不出的值会被忽略,问题写在 stderr、horosa_agent_guidance 的 server_profile 与 doctor 里;一个合法值都没有时只注册门面工具 + horosa_tool_run,不会悄悄变成全量;只要裁剪生效就注册 horosa_tool_run 直呼通道;门面工具恒在)。根目录 server.json 为 MCP Registry 元数据,glama.json 声明 Glama 目录条目的维护者,普通用户都无需手改。

[!TIP] 繁体输出:在 Claude Desktop 扩展设置 / Claude Code 插件设置里勾「繁體中文輸出」,或设 HOROSA_OUTPUT_SCRIPT=zh-Hant(香港字形用 zh-Hant-HK;setup --client <名> --output-script zh-Hant 直接写进客户端配置)。排盘正文、段名、提示与报告转成繁体;回显的入参、设置值、选项、错误码保持原样(AI 原样送回也对得上),不设就是简体、与原来逐字相同。术数用字按 沖 / 剋 / 曆 而非 衝 / 克 / 歷。

[!TIP] 配好了却在客户端里看不到 horosa?跑 uv run horosa-skill client check, , 它读的是各客户端实际写着什么,能指出未展开的占位符、缺失的 --transport stdio、搬走的目录、以及 Codex 的默认超时。

⬆ 回到顶部

Read the rest of the Horosa Skill README on GitHub

Questions about Horosa Skill

What is the Horosa Skill MCP server?

Local-first offline 术数/占星 (Horosa 星阙): 119 technique tools, all computed on your machine. Horosa Skill is maintained by Horace-Maxwell on GitHub at Horace-Maxwell/horosa-skill, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Horosa Skill MCP server?

Horosa Skill doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (Horace-Maxwell/horosa-skill). Like most servers, Horosa Skill ends with a command or URL you paste into your AI app's MCP config.

Does Horosa Skill need an API key?

The registry lists no required keys for Horosa Skill. Check the Horosa Skill README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Horosa Skill an official MCP server?

No. Horosa Skill is a community server maintained by Horace-Maxwell. Community servers can be excellent; read the code and the open issues before you give Horosa Skill access to company data.

What license is Horosa Skill under?

Horosa Skill is released under the AGPL-3.0 license, according to its GitHub repository. The license covers the code of Horosa Skill; the service it connects to has its own terms.