Maojueshi Relationship Analysis MCP
README.md
# 猫爵士 · 人际与亲密关系分析 MCP(Maojueshi Relationship Analysis MCP)
<p align="center">
<b>中文</b> · <a href="./README.en.md">English</a> · <a href="./docs/THEORY_OVERVIEW_EN.md">Theory Overview (EN)</a> · <a href="https://fsdyj.cc">Website</a> · <a href="https://fsdyj.cc/llms.txt">llms.txt</a>
</p>
<p align="center">
<a href="https://fsdyj.cc/emotion-qa/api/v1/mcp"><img src="https://img.shields.io/badge/MCP-Streamable%20HTTP-2ea44f?style=flat-square" alt="MCP Streamable HTTP" /></a>
<a href="https://fsdyj.cc/public"><img src="https://img.shields.io/badge/Free%20Tier-Anonymous%20Diagnosis-blue?style=flat-square" alt="Free Tier Available" /></a>
<img src="https://img.shields.io/badge/Tools-9%20Relationship%20Tools-6f42c1?style=flat-square" alt="9 Tools" />
<img src="https://img.shields.io/badge/Clients-Claude%20Code%20%7C%20Cursor%20%7C%20Windsurf%20%7C%20Cline%20%7C%20Codex-orange?style=flat-square" alt="Supported MCP Clients" />
<a href="./LICENSE"><img src="https://img.shields.io/badge/License-MIT-lightgrey?style=flat-square" alt="MIT License" /></a>
</p>
> **怎么回女生消息、看透关系、人际关系分析与识人侧写的远程 MCP Server & Claude Code / Cursor Skill(AI 恋爱军师 / 情感咨询分析引擎)。**
> 由 **猫爵士(15 年关系咨询经验)** 主理,把「对方说了什么 / 聊天记录 / 发生了什么」拆解为可复核的事实证据、关系阶段定位、边界授权与低压下一步建议。
>
> **English Overview:** Remote **Model Context Protocol (MCP)** server (Streamable HTTP) & **Claude Code / Cursor Agent Skill** for **AI dating & texting advice, interpersonal relationship analysis, social dynamics, person profiling, boundary assessment, and communication reply strategy** — built on 15 years of counseling practice. Includes a **free, no-API-key multi-turn relationship diagnosis tool (`zhenduan`)**. 👉 **[Read full English documentation (`README.en.md`) →](./README.en.md)**
---
## 核心链接 / Quick Links
| 入口 / Resource | 地址 / URL |
|---|---|
| 远程 MCP 端点(Streamable HTTP) | `https://fsdyj.cc/emotion-qa/api/v1/mcp` |
| 官网(3D 数字人即时对话) | https://fsdyj.cc |
| 免费关系初步判断(免登录,出红黄绿灯) | https://fsdyj.cc/public |
| 关系能力快测(8 道真实场景题) | https://fsdyj.cc/relationship-ability-test |
| 7 大原创人际关系理论体系 | https://fsdyj.cc/knowledge/theories |
| 脱敏连麦判例库(8 类处境 · 315 条) | https://fsdyj.cc/skills/common-problems |
| AI 友好知识索引 & 完整包 | [/llms.txt](https://fsdyj.cc/llms.txt) · [/llms-full.txt](https://fsdyj.cc/llms-full.txt) · [/feed.xml](https://fsdyj.cc/feed.xml) |
> **说明**:本公开仓库仅包含客户端接入配置(`.mcp.json` / `server.json`)、Agent Skill 规则文档与轻量 Python CLI;分析引擎运行在 `fsdyj.cc` 服务端,后端源码不公开。
---
## 适用场景 / What Problems Does It Solve?
适合所有在做**人际关系分析、亲密关系判断、社交与沟通辅助 AI Agent** 的开发者与个人用户:
| 真实困境 / Scenario | 中文常用问法 | 推荐工具 / Tool |
|---|---|---|
| 心里很乱、拿不准局势,想先聊聊 | 「她最近突然变冷了,我不知道怎么回事」 | `/maojueshi:zhenduan`(**免费多轮**,输出红/黄/绿灯) |
| 看不清目前关系阶段与边界 | 「我们到底算什么关系?还能往前推吗?」 | `/maojueshi:dingwei`(关系定位) |
| 刚认识一个人,想快速摸清处事风格 | 「刚认识的相亲对象/同事靠谱吗?」 | `/maojueshi:kuaisufenxiren`(快速识人) |
| 相处已久的熟人、伴侣或同事行为反复 | 「她为什么总忽冷忽热?怎么看懂这个人?」 | `/maojueshi:fenxishuren`(熟人心理与行为侧写) |
| 关系卡住,需要一整套可执行打法 | 「追了很久推不动 / 表白被拒后怎么走?」 | `/maojueshi:celue`(关系策略与止损方案) |
| 面对具体一句聊天消息不知道怎么回 | 「她发来『我们还是先做朋友吧』怎么回?」 | `/maojueshi:liaotian`(具体回话 + 时机 + 兜底) |
| 多件事混在一起,连目标都没理清 | 「我一团乱,不知道该坚持还是止损」 | `/maojueshi:shuli`(思路澄清与决策拆解) |
---
## 9 个 MCP 工具一览 / Tools Overview
装好后客户端只注册 **1 个技能 `maojueshi`**,所有能力均为子指令(`/maojueshi:<tool>`):
| 指令 / Tool | 中文能力 | English Purpose | 费用与权限 / Access |
|---|---|---|---|
| `zhenduan` | **免费多轮聊天 → 关系诊断(推荐先试)** | Free multi-turn chat → Red/Yellow/Green signal diagnosis | **免费 / Free**(免 API Key 可匿名体验) |
| `zhushi` | 看指令菜单与选型说明 | Show tool menu & selection guide | **免费 / Free**(免 API Key) |
| `credits` | 查积分余额、签到状态与单价 | Check credit balance, daily check-in & pricing | **免费 / Free**(需 API Key) |
| `dingwei` | 关系定位(阶段 / 信号 / 核心矛盾) | Relationship stage & boundary positioning | 需 API Key(按条计费) |
| `kuaisufenxiren` | 快速识人(2 条事例出初步画像) | Quick behavioral profiling for new acquaintances | 需 API Key(按条计费) |
| `fenxishuren` | 熟人深度侧写(带把握度、推翻条件、可验证预测) | Deep person profiling with confidence & falsifiers | 需 API Key(按条计费) |
| `celue` | 关系破局整套打法(行动计划 + 风险止损) | Full relationship strategy, action plan & stop conditions | 需 API Key(按条计费) |
| `liaotian` | 这句话怎么回(原文示范 + 时机 + 兜底) | Exact reply drafting, timing & fallback recovery | 需 API Key(按条计费) |
| `shuli` | 思路澄清(拆解纠结与核心决策,不硬塞做法) | Decision clarification without premature advice | 需 API Key(按条计费) |
> 免费注册 https://fsdyj.cc 新账号即送 **500 积分**(另有每日签到与每月固定赠送);注册后在「我的 → 积分和 API Key」(`https://fsdyj.cc/emotion-qa/#/account`)领取 `eqa_` 开头钥匙。详见 [billing.md](skills/maojueshi/references/billing.md)。
---
## 快速接入 / Quick Start
### 方式一:一句话让你的 AI 自动装好(推荐 / One-Prompt Install)
如果你正在使用 **Claude Code / Cursor / Codex / OpenCode / WorkBuddy / Cline**,直接把下面任意一段发给 AI:
**中文提示词:**
```text
请帮我安装「猫爵士 · 情绪与关系分析」MCP 和 Skill:
仓库地址:https://github.com/maojueshi008-cyber/maojueshi-relationship-mcp
请克隆到临时目录后,阅读里面的 README.md 和 skills/maojueshi/INSTALL.md,按当前客户端的规范把远程 MCP 服务(maojueshi)和 skills/maojueshi 技能都配置好,完成后告诉我怎么验证。
```
**English Prompt:**
```text
Please install the "maojueshi" Relationship Analysis MCP server and Agent Skill from:
https://github.com/maojueshi008-cyber/maojueshi-relationship-mcp
Read README.en.md and skills/maojueshi/INSTALL.md, configure the remote Streamable HTTP MCP server (`maojueshi` -> https://fsdyj.cc/emotion-qa/api/v1/mcp) and install the `skills/maojueshi` skill for my current client, then tell me how to verify it.
```
---
### 方式二:各主流 MCP 客户端配置 / Client Configurations
#### 1. Claude Code(一行命令)
```bash
claude mcp add --transport http maojueshi https://fsdyj.cc/emotion-qa/api/v1/mcp
```
如需绑定 API Key(使用 6 项深度分析与 `credits`):
```bash
claude mcp add --transport http maojueshi https://fsdyj.cc/emotion-qa/api/v1/mcp \
--header "Authorization: Bearer eqa_your_api_key"
```
#### 2. Cursor / Windsurf / Cline / Claude Desktop / WorkBuddy(`.mcp.json`)
```json
{
"mcpServers": {
"maojueshi": {
"type": "streamableHttp",
"url": "https://fsdyj.cc/emotion-qa/api/v1/mcp"
}
}
}
```
> 绑定 API Key 时,可添加 `"headers": { "Authorization": "Bearer eqa_your_api_key" }`,或在 URL 后附 `?key=eqa_your_api_key`。不配 Key 即可直接免费体验 `zhenduan` 与 `zhushi`。
#### 3. 安装 Agent Skill(让 AI 遵循调用纪律,避免误扣积分)
将本仓库的 [`skills/maojueshi/`](./skills/maojueshi) 整个文件夹复制到对应客户端目录并重启:
- **Claude Code**:`~/.claude/skills/maojueshi`
- **Codex**:`~/.agents/skills/maojueshi` 或 `~/.codex/skills/maojueshi`
- **OpenCode**:`~/.config/opencode/skills/maojueshi`
- **WorkBuddy / CodeBuddy**:`~/.workbuddy/skills/maojueshi`(也支持将整仓作为插件安装,见 [`.codebuddy-plugin/plugin.json`](./.codebuddy-plugin/plugin.json))
#### 4. Python 命令行直连(无需任何 MCP 客户端,仅依赖 Python 3 标准库)
```bash
# 免费查看菜单(免 Key)
python3 skills/maojueshi/scripts/maojue.py --tool zhushi
# 免费多轮关系诊断(免 Key)
python3 skills/maojueshi/scripts/maojue.py --tool zhenduan --question "她最近突然冷淡,我不知道该怎么办"
# 深度分析(传入 API Key)
python3 skills/maojueshi/scripts/maojue.py --tool liaotian --key eqa_xxx --question "她发来『最近比较忙,先做朋友吧』,我该怎么回?"
```
Key 读取优先级:`--key` > 环境变量 `EQA_API_KEY` > `~/.maojueshi/key`。
---
## 7 大原创人际关系理论体系 / 7 Original Relationship Frameworks
本 MCP 引擎的判断逻辑建立在猫爵士 15 年真实咨询与连麦判例沉淀的原创方法论之上(英文完整说明见 [docs/THEORY_OVERVIEW_EN.md](./docs/THEORY_OVERVIEW_EN.md)):
1. **[人际关系张力效应(Tension Effect v4.2)](https://fsdyj.cc/knowledge/concept/tension-effect)** — 正向/负向/零张力如何驱动关系升温、停滞与倒退
2. **[主体性理论(Subjectivity Theory)](https://fsdyj.cc/knowledge/concept/subjectivity-theory)** — 在亲密与社交关系中守住独立判断、避免低位讨好与情绪拿捏
3. **[关系成本模型(Relationship Cost Model)](https://fsdyj.cc/knowledge/concept/relationship-cost-model)** — 评估自身「意志成本」与对方「相处负担」,消除关系内耗
4. **[关系阶段判断(7-Stage Relationship Roadmap)](https://fsdyj.cc/knowledge/concept/relationship-stage-assessment)** — 陌生 → 泛泛之交 → 普通朋友 → 亲密/暧昧 → 恋人 → 深度绑定 → 共同体
5. **[女性心理与恋爱意愿判断(Dating Intent & Defense)](https://fsdyj.cc/knowledge/concept/female-psychology-and-dating-intent)** — 区分「不喜欢」「慢热防御」与「真实恋爱授权」
6. **[关系信号与行为反馈(Signals & Behavioral Feedback)](https://fsdyj.cc/knowledge/concept/relationship-signals-and-feedback)** — 用「事实—解释—替代解释—后续反馈」校准判断,防止证据放大
7. **[低压推进方法(Low-Pressure Progression)](https://fsdyj.cc/knowledge/concept/low-pressure-progression)** — 具体、低成本、可拒绝的小步推进与明确停止条件
更多知识资产:[知识中心(490+ 篇实战文章)](https://fsdyj.cc/knowledge) · [8 类常见处境与 M1–M9 机制判例库](https://fsdyj.cc/skills/common-problems) · [作者主页](https://fsdyj.cc/author/maojueshi)
---
## 仓库文档索引 / Documentation
| 文件 | 说明 |
|---|---|
| [README.en.md](./README.en.md) | Complete English documentation, setup guides & tool reference |
| [docs/THEORY_OVERVIEW_EN.md](./docs/THEORY_OVERVIEW_EN.md) | English overview of the 7 frameworks, 8 scenarios & M1–M9 mechanisms |
| [server.json](./server.json) | MCP Registry discovery metadata (Streamable HTTP) |
| [skills/maojueshi/SKILL.md](./skills/maojueshi/SKILL.md) | Agent Skill 完整调用纪律、子指令菜单与红线 |
| [skills/maojueshi/references/tools.md](./skills/maojueshi/references/tools.md) | 工具入参、返回结构、错误码与幂等说明 |
| [skills/maojueshi/references/billing.md](./skills/maojueshi/references/billing.md) | 积分规则、免费额度与学员说明 |
| [skills/maojueshi/references/examples.md](./skills/maojueshi/references/examples.md) | 从用户提问到工具调用的完整对话示例 |
---
## 边界声明 / Boundaries & Safety
本服务为**人际关系分析与知识参考工具**,不构成心理治疗或医疗建议。不下绝对定论、不臆测对方内心、不提供操纵或骚扰式挽回套路;所有判断均强调可观察事实与停止条件。涉及明确拒绝、暴力、跟踪或自伤风险时,应立即停止推进并寻求线下专业支持。
## 关于作者 / About Maojueshi
**猫爵士**,15 年关系咨询经验,长期从事恋爱与人际关系分析、直播连麦与专业内容创作。
- 官网:https://fsdyj.cc
- 作者主页:https://fsdyj.cc/author/maojueshi
- B 站(猫爵士讲心理):https://space.bilibili.com/12210964
- 抖音(猫爵士教恋爱):https://www.douyin.com/user/MS4wLjABAAAAj357Vv2cy4syVaWdBuxyNRvKrzRQi6Vml2PLpJVuuWY
- 今日头条(猫爵士讲心理):https://www.toutiao.com/c/user/token/MS4wLjABAAAAGx7QHfYSANwmSr2zEDJIVcdJ6V1GrYz0El8JxifK5G8/
- 知乎(猫爵士说恋爱):https://www.zhihu.com/people/mao-jue-shi-75
- 客服微信:`fanshi2357`
## License
本仓库中的客户端接入代码与文档采用 [MIT](./LICENSE) 协议开源。`fsdyj.cc` 服务端与核心推理引擎不在本仓库范围内。
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues