Mingyu logo

Mingyu

Community
Brhiza

八字、紫微、星盘、六爻、梅花、奇门、大六壬、小六壬、塔罗、雷诺曼、灵签、择日一站式玄学算命占卜工具包,输出结构化提示词与数据。提供公开 API、MCP Server 与 skill。

PublisherBrhiza
Repositorymingyu
LanguageTypeScript
Forks
121
Stars
461
Available tools
0
Transport typestdio
LicenseAGPL-3.0
Links
  • Connect tools to AI workflows

    Mingyu exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    461 stars and 121 forks from the linked repository.

命语 (Mingyu)

命语是一套免费开源的在线算命、占卜排盘与 AI 解读提示词工具。输入出生时间或所问之事,即可完成高精度排盘,并生成可直接交给任意大模型解读的完整提示词。

⚡ 一键接入(Agent 技能 & 在线 MCP)

  • Agent Skill(推荐 · 免配置一句话安装):
    bash
    npx skills add Brhiza/mingyu --skill mingyu -g -y
  • Skill 安装不会自动注册 MCP 服务。需要连接 MCP 时,如果客户端能启动本地进程,优先单独配置 npx -y mingyu-mcp stdio;默认 full,请求在本机处理,不占用 Cloudflare Pages Functions 配额。
  • 在线 Remote MCP(本地进程不可用或需要远程免安装时):
    • 在支持 Remote MCP 的客户端添加 Streamable HTTP 类型的 Server URL:https://aov.cc/mcp
  • QQ 交流群:命语 Mingyu 技术交流群(1080947018)

📿 功德箱

命语与时月东方均为个人业余维护的免费开源项目。

为什么叫“功德箱”?
本项目收到的全部赞助款项目前均定期全额捐赠给社会正规慈善与公益事业(用于爱心助学、困境老人救助与乡村公益等)。感谢每一位支持者的善意!



🔮 支持功能

分类术数方法主要功能
命理运势八字命理、紫微斗数、八字紫微合参、西方星盘、七政四余支持真太阳时换算、大运流年流月流日细盘、三方四正、庙旺四化、神煞、合盘分析,以及七政行限与流曜
周易占卜六爻纳甲、梅花易数支持手摇/指定卦象、京房八宫纳甲、六亲六神、世应动变、体用生克与四时旺衰
三式绝学奇门遁甲、大六壬、金口诀、太乙神数、皇极经世支持时家转盘/飞盘奇门、月将天地盘四课三传、阴阳五用、年计七十二局与元会运世
牌卡灵签西方塔罗牌、雷诺曼牌、三山国王灵签、小六壬包含 78 张塔罗全牌阵、36 张雷诺曼及大 Tableau、揭西祖庙 92 签全篇签谱
择日风水黄历择吉、八宅明镜、玄空飞星、五运六气建除十二神与宜忌排查、东四西四命卦、三元九运飞星排盘、流年流月紫白加临与客主加临

🛠️ 开发者接入

1. 核心算法包 mingyu-core

bash
npm install mingyu-core
typescript
import { generateBazi, generateLiuyao, drawTarotSpread } from 'mingyu-core';

// 八字排盘
const bazi = generateBazi({ solarDate: '1995-08-18', solarTime: '09:30', gender: '男' });

// 六爻起卦
const liuyao = generateLiuyao(new Date());

// 抽塔罗牌
const tarot = drawTarotSpread('celtic');

详见 mingyu-core 文档。

2. 公开 REST API

基础地址:https://aov.cc/api/v1

3. MCP Server

  • 本地 npx CLI(Agent/Skill 首选;开箱即用):
    bash
    npx -y mingyu-mcp
    本地 CLI 默认采用 full 预设,返回完整结构化结果并默认计算当前年度星盘行运;请求在本地处理,不走 Cloudflare Pages Functions。
  • 在线 Remote MCP(本地进程不可用或需要远程免安装时):在 Cursor、Windsurf、Claude Desktop 等客户端中配置 Streamable HTTP 远程端点:https://aov.cc/mcp(不要按旧版 SSE 类型配置)。在线提示词通常默认 summary,非幂等的一次性起卦、抽牌、求签提示词默认 full;显式 responseMode 优先。summary 只精简返回体,不减少计算 CPU;星盘默认本命 natal。在线四柱反推须提供 startYear、endYear 且范围不超过 10 年,黄历最多 7 天,奇门终身动态最多 10 年。
  • 在线 MCP 每条 JSON-RPC 消息单独发送一次 HTTP POST,不接受 JSON-RPC batch;每次请求会调用 Pages Function 并计入 Cloudflare 请求用量。避免轮询和紧密重试。

(本地源码开发也可通过 pnpm mcp 启动,详见 MCP 服务文档)

4. Agent Skill

bash
npx skills add Brhiza/mingyu --skill mingyu -g -y

📱 Android 原生应用

提供适配移动端的 Android 原生 APK,支持在生成排盘后一键唤起已安装的 AI 应用(如 ChatGPT、Claude、Kimi 等)直接对话,API Key 仅保存在本地设备。

正式 APK 发布后会同步到 download.aov.cc 并由 Cloudflare CDN 分发;应用默认使用官方下载,失败时回退到 GitHub Release。

bash
# 同步 Web 资源到 Android 工程
pnpm android:sync

🚀 本地开发与构建

bash
# 克隆仓库并安装依赖
git clone https://github.com/Brhiza/mingyu.git
cd mingyu
pnpm install

# 启动开发服务器
pnpm dev

# 运行测试
pnpm test

# 打包构建
pnpm build

⛩️ 关于三山国王灵签

三山国王是潮汕与客家地区重要的民间信仰,祖庙位于广东省揭西县河婆街道。作者整理并保留了祖庙传承的 92 签灵签体系,每签保留签号、签题、签诗原文与典故。


🌟 基于命语构建

时月东方

时月东方是一款基于命语核心能力构建的东方术数工具,使用 Vue 3 与 Vite 实现,也可以作为 mingyu-core 在独立产品中接入和使用的实际参考。


📚 文档目录


⚖️ 免责声明

本工具提供的排盘结果与 AI 解读提示词仅供传统文化研究与休闲娱乐参考,不构成且不可替代医疗、心理、法律、投资等专业建议。


📄 开源协议

本项目基于 AGPL-3.0-only 协议开源。

Use Mingyu MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Mingyu is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Mingyu as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Mingyu MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "mingyu": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Mingyu MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Mingyu MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Mingyu to help me with this task?
Mingyu
Sure. I read it.
Here is what I found using Mingyu.

Frequently asked questions

What is the Mingyu MCP server used for?

Mingyu is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Mingyu MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Mingyu with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Mingyu MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Mingyu connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Mingyu MCP to TypingMind?

Mingyu runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Mingyu MCP provide in TypingMind?

Mingyu exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Mingyu MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Mingyu requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇