内容
# aipolicies.eu — 欧盟法规 MCP 技能
**公共 aipolicies.eu MCP 服务器** 的 Claude 技能和设置指南 — 让 AI 代理查询欧盟 AI 法案(2024/1689)、GDPR(2016/679)和数据法案(2023/2854)作为主要来源,并具有跨法规链接。免费,只读,不需要身份验证。
实时演示和工具参考: **[aipolicies.eu/mcp](https://aipolicies.eu/mcp)**
---
## 安装
两个步骤:连接 MCP 服务器以使工具可用,然后安装技能以便 Claude 知道如何使用它们。
### 步骤 1 — 连接 MCP 服务器
#### Claude 代码
```bash
claude mcp add eu-regulations --transport http https://mcp.aipolicies.eu/mcp
```
#### Claude 桌面版
添加到您的 `claude_desktop_config.json`:
```json
{
"mcpServers": {
"eu-regulations": {
"type": "http",
"url": "https://mcp.aipolicies.eu/mcp"
}
}
}
```
#### GitHub Copilot / VS Code
添加到您的 MCP 配置:
```json
{
"servers": {
"euRegulations": {
"type": "http",
"url": "https://mcp.aipolicies.eu/mcp"
}
}
}
```
---
### 步骤 2 — 安装技能
将 `SKILL.md` 复制到您的项目的 `.claude/skills/` 目录中,以便 Claude 代码自动拾取:
```bash
mkdir -p .claude/skills/eu-regulations
curl -fsSL https://raw.githubusercontent.com/bitboyro/aipolicies.eu/main/SKILL.md \
-o .claude/skills/eu-regulations/SKILL.md
```
或手动复制:
```
your-project/
└── .claude/
└── skills/
└── eu-regulations/
└── SKILL.md ← 从此仓库复制
```
技能文件告诉 Claude 何时以及如何使用 MCP 工具 — 调用哪个工具来处理哪种类型的问题,如何高效地链接它们,以及如何引用检索到的来源。没有它,工具仍然有效,但 Claude 没有关于工作流程或强制引用规则的指导。
---
## 功能
`eu-regulations` MCP 服务器公开了四组共 12 个工具:
- **发现** — `get_regulation_toc`、`list_dimensions`、`get_dimensions`、`list_regulation_nodes`、`list_regulation_documents`、`get_knowledge_base_report`
- **搜索** — `search_regulations`(语义)、`search_regulations_text`(全文)、`search_by_dimension`(维度引导)
- **检索** — `get_regulation_nodes`、`get_regulation_documents`
- **反馈** — `report_error`
参见 [SKILL.md](SKILL.md) 以获取完整的工具参考、工作流程模式和引用规则。
---
## 技能规则
使用此技能生成的每个监管声明必须包括一个指向 EUR-Lex 规范文本的来源引用。`get_regulation_nodes` 工具返回每个节点上的 `citation_url` — 使用它。
---
## 许可证
MIT — 参见 [LICENSE](LICENSE)。