关于 Kelnix Datamind Curator
Kelnix Datamind Curator 是用于连接数据源并为 AI Agent 准备结构化数据与上下文的 API。它集成数据查询、清理、语义搜索、去重、PII 脱敏和 RAG 上下文构建。
主要功能
- 01连接并检查数据源
- 02使用自然语言或 SQL 查询
- 03按条件和分页获取行
- 04语义向量搜索
- 05规范化、去重和脱敏数据
- 06构建上下文并总结数据集
适用场景
- 01为 AI Agent 查询已连接的数据
- 02对索引数据进行语义搜索
- 03清理记录并删除重复项
- 04为 RAG 工作流准备上下文
MCP 相关
向 MCP 客户端提供管理数据源、查询和搜索数据、清理记录、脱敏 PII 及构建上下文的工具。配置 MCP 端点时需提供 API 密钥。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
服务地址
https://datamind-api.kelnix.org/stream/mcp/一键复制安装命令
Claude CodeTerminal
claude mcp add --transport http Kelnix-DataMind-Curator https://datamind-api.kelnix.org/stream/mcp/Cursor.cursor/mcp.json
{"mcpServers":{"Kelnix-DataMind-Curator":{"type":"http","url":"https://datamind-api.kelnix.org/stream/mcp/"}}}在 Cursor 中打开VS Code.vscode/mcp.json
{"servers":{"Kelnix-DataMind-Curator":{"type":"http","url":"https://datamind-api.kelnix.org/stream/mcp/"}}}在 VS Code 中打开Claude Desktopclaude_desktop_config.json
{"mcpServers":{"Kelnix-DataMind-Curator":{"type":"http","url":"https://datamind-api.kelnix.org/stream/mcp/"}}}Windsurf~/.codeium/windsurf/mcp_config.json
{"mcpServers":{"Kelnix-DataMind-Curator":{"serverUrl":"https://datamind-api.kelnix.org/stream/mcp/"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
全部服务地址
Streamable HTTP
https://datamind-api.kelnix.org/stream/mcp/需要授权工具
12| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| source_type | string | 是 | 要连接的数据源类型。支持:postgresql、mysql、csv、json_api、mock_crm |
| name | string | 是 | 此数据源的易记名称(例如 'Production DB'、'Salesforce CRM') |
| connection_string | any | 否 | 数据库连接字符串(例如 'postgresql://user:pass@host:5432/db')。数据库数据源必填。 |
| config | any | 否 | 以键值对形式提供的其他配置(例如 API URL、标头、文件路径)。因数据源类型而异。 |
详细介绍
Kelnix DataMind Curator
🧠 面向 AI 的数据与上下文工程 API
连接任意数据源,使用自然语言查询,清理和标准化数据,构建适用于 AI 的上下文包,并通过自动 PII 脱敏保护隐私。
通过一个 API 整合、清理数据,并将数据提供给 AI Agent。⚡
🚀 快速开始
# 1. Register (free — 25 credits, no credit card)
curl -X POST https://datamind-api.kelnix.org/register \
-H "Content-Type: application/json" \
-d '{"agent_name": "My Agent"}'
# 2. Connect a data source (mock CRM for demo)
curl -X POST https://datamind-api.kelnix.org/sources/connect \
-H "X-API-Key: dm_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"source_type": "mock_crm", "name": "Demo CRM"}'
# 3. Query with natural language
curl -X POST https://datamind-api.kelnix.org/data/query \
-H "X-API-Key: dm_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"source_id": "YOUR_SOURCE_ID", "query": "top 5 companies by revenue"}'
🔌 MCP 集成
支持 Claude Desktop、Cursor、VS Code 和任何兼容 MCP 的客户端。
Claude Desktop / Cursor
添加到 MCP 配置中:
{
"mcpServers": {
"kelnix-datamind-curator": {
"url": "https://datamind-api.kelnix.org/stream/mcp/",
"headers": {
"X-API-Key": "dm_YOUR_API_KEY"
}
}
}
}
Smithery
npx -y @smithery/cli@latest install @kelnix/kelnix-datamind-curator --client claude
🛠️ 工具
| 工具 | 说明 | 费用 |
|---|---|---|
sources.connect | 🔗 连接数据源(PostgreSQL、MySQL、CRM、API) | 1 个额度 |
sources.list | 📋 列出已连接的数据源 | 免费 |
sources.test | ✅ 测试数据源连接 | 免费 |
data.query | 💬 使用自然语言或 SQL 查询数据 | 2 个额度 |
data.fetch | 📥 使用筛选条件和分页获取原始行 | 1 个额度 |
data.search | 🔍 对已索引数据进行语义向量搜索 | 2 个额度 |
pipeline.clean | 🧹 标准化日期、电话、电子邮件、货币 | 2 个额度 |
pipeline.deduplicate | 🔄 删除重复记录 | 1 个额度 |
pipeline.redact_pii | 🔒 自动检测并脱敏 PII | 1 个额度 |
context.build | 🧠 为 RAG 流水线构建适用于 AI 的上下文 | 3 个额度 |
context.summarize | 📊 由 AI 驱动的数据集摘要与洞察 | 2 个额度 |
credits.check_balance | 💳 查看额度和套餐 | 免费 |
📦 支持的数据源
- 🐘 PostgreSQL — 完整支持 SQL,并可检查架构
- 🐬 MySQL — 即将推出
- 🏢 Mock CRM — 内置演示数据,包含公司、联系人和交易
- 📄 CSV — 即将推出
- 🌐 JSON API — 即将推出
💰 定价
| 额度 | 价格 | 每额度价格 |
|---|---|---|
| 25 | 🎁 免费 | 注册时赠送 |
| 100 | $8 | $0.080 |
| 500 | $30 | $0.060 |
| 1,000 | $50 | $0.050 |
| 5,000 | $200 | $0.040 |
| 10,000 | $400 | $0.040 |
月度套餐:Basic(每月 200 个额度,$15)· Pro(每月 2,000 个额度,$99)
💳 可使用 Stripe(银行卡)或 🪙 300 多种加密货币付款。
📖 API 文档
交互式 Swagger 文档:datamind-api.kelnix.org/docs
🏗️ 自托管
git clone https://github.com/kelnixsolutions/Kelnix-DataMind-Curator.git
cd Kelnix-DataMind-Curator
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env # edit with your keys
uvicorn app:app --host 0.0.0.0 --port 8001
🏛️ 架构
┌──────────────┐ ┌──────────────┐ ┌──────────────┐
│ MCP Clients │ │ REST API │ │ Registries │
│ Claude/Cursor│────▶│ FastAPI │◀────│ Smithery/etc │
└──────────────┘ └──────┬───────┘ └──────────────┘
│
┌──────────┼──────────┐
│ │ │
┌──────▼──┐ ┌────▼────┐ ┌───▼──────┐
│Connectors│ │Pipeline │ │ Context │
│ PG/CRM │ │Clean/PII│ │Build/NLQ │
└─────────┘ └─────────┘ └──────────┘
│ │ │
┌──────▼──┐ ┌────▼────┐ ┌───▼──────┐
│ SQLite │ │ Redis │ │ ChromaDB │
│ Billing │ │ Cache │ │ Vectors │
└─────────┘ └─────────┘ └──────────┘
📜 许可证
MIT — Kelnix Solutions
评论
支持 Markdown
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。