Skip to main content
Glama
README.md
# HumanizerMCP - AI文本拟人化MCP Server

> 检测并去除24种AI写作痕迹,让文本更自然、更像人类写作

## ✨ 核心特性

- **24种AI模式检测**:基于Wikipedia "Signs of AI writing"指南
- **双模式拟人化**:规则驱动(快速零成本)+ LLM增强(高质量)
- **5个MCP工具**:检测/拟人化/风格转换/评分/批量处理
- **多风格支持**:自然/随意/正式/机智/学术/新闻/诗意
- **FastMCP框架**:支持stdio(本地)和Streamable HTTP(远程)

## 🛠️ MCP工具列表

| 工具名 | 功能 | 示例 |
|--------|------|------|
| `detect_ai_patterns` | 检测AI写作模式 | 返回24种模式匹配详情 |
| `humanize_text` | 文本拟人化 | rule/llm两种模式 |
| `style_transfer` | 风格转换 | casual/formal/witty等 |
| `ai_score` | AI痕迹评分 | 0-100分+详细分析 |
| `batch_humanize` | 批量处理 | 最多10个文本 |

## 📦 安装

```bash
pip install fastmcp>=2.2.0 httpx>=0.27.0
```

## 🚀 启动

### 本地模式 (Claude Desktop)
```bash
python -m humanizer_mcp
```

### 远程模式 (Streamable HTTP)
```bash
python -m humanizer_mcp --transport http --port 9002 --path /humanizer
```

## 🔧 客户端配置

### Claude Desktop
```json
{
  "mcpServers": {
    "humanizer-mcp": {
      "command": "python",
      "args": ["-m", "humanizer_mcp"]
    }
  }
}
```

### 远程连接
```json
{
  "mcpServers": {
    "humanizer-mcp": {
      "url": "http://101.32.191.236/humanizer"
    }
  }
}
```

## 📊 24种AI模式检测

### 内容模式
1. 意义膨胀 - "marking a pivotal moment..."
2. 名头堆砌 - 罗列来源无上下文
3. 浮浅-ing分析 - "symbolizing... reflecting..."
4. 促销语言 - "nestled within breathtaking..."
5. 模糊引用 - "Experts believe..."
6. 套路化挑战 - "Despite challenges..."

### 语言模式
7. AI高频词汇 - Additionally/crucial/landscape...
8. 避免系词 - "serves as"替代"is"
9. 否定平行 - "It's not just X, it's Y"
10. 三法则 - 强制三个一组
11. 同义词循环 - 过度同义词替换
12. 虚假范围 - "from X to Y"

### 风格模式
13. 破折号滥用
14. 粗体滥用
15. 行内标题列表
16. 标题大小写
17. Emoji装饰
18. 弯引号

### 沟通模式
19. 聊天遗迹 - "I hope this helps!"
20. 知识截止声明
21. 谄媚语气 - "Great question!"

### 填充模式
22. 填充短语 - "In order to"
23. 过度模棱两可
24. 通用积极结论

## 💰 变现策略

| 层级 | 价格 | 功能 |
|------|------|------|
| 免费版 | $0 | 规则模式,10次/天 |
| 基础版 | $19/月 | 规则模式无限+LLM模式50次/天 |
| 专业版 | $49/月 | 全部功能无限+批量处理 |

## 📄 License

MIT