关于 Verified Knowledge Base for AI Agents — No More Hallucinations
Swiss Truth 是面向 AI Agent 的经验证知识服务,涵盖 30 个领域,并为事实提供来源和验证元数据。其 MCP 工具支持搜索、核验声明与回复、引用、时效检查和法规合规检查。
主要功能
- 01跨领域搜索经验证事实
- 02核验声明和完整回复
- 03获取引用和来源信息
- 04检查事实时效性
- 05检查瑞士和欧盟合规性
- 06提交事实供专家审核
适用场景
- 01基于有来源的事实开展研究
- 02发送回复前核验声明
- 03评估法规合规性
- 04用可引用摘要增强 RAG 工作流
MCP 相关
位于 `https://swisstruth.org/mcp` 的远程 MCP 服务提供 14 种工具,用于知识检索、核验、引用、时效与合规检查及反馈。可通过 HTTP 或 `mcp-remote` 连接。
配置
本地服务的配置在各客户端中通用,复制后粘贴到客户端的 MCP 配置文件即可。
工具
本地服务需要在你的电脑上运行后才能读取工具,维护者暂未提供工具列表。
详细介绍
Swiss Truth MCP
面向 AI Agent 的经验证知识基础设施——经认证的事实,而非幻觉。
Swiss Truth 是一个专为 AI Agent 打造的人工 + AI 验证知识库。 每条事实都经过 5 阶段验证流程,并附带置信度评分、已验证的来源 URL 和 SHA256 完整性哈希。 30 秒即可连接。无需 API 密钥。
Agent 为什么使用 Swiss Truth
| 问题 | Swiss Truth 工具 |
|---|---|
| 🧠 大模型在事实类问题上产生幻觉 | search_knowledge — 2000+ 条经认证的事实,覆盖 30 个领域 |
| 📎 无法引用来源或核实引文 | get_citations — 带已验证 URL 的行内引用 + APA 引文 |
| ⏰ 快速变化主题上的训练数据过时 | check_freshness — 检测过时事实 |
| ⚖️ 受监管领域的回答不合规 | check_regulatory_compliance — FINMA、BAG、GDPR、EU AI Act |
| ✅ 发送回答前验证多条声明 | verify_claims_batch — 并行验证最多 20 条声明 |
| 🔍 完整回答存在幻觉风险 | verify_response — 低 / 中 / 高风险评分 |
快速设置
MCP(Claude Desktop、Cursor、Windsurf 及任何 MCP 客户端)
{
"mcpServers": {
"swiss-truth": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://swisstruth.org/mcp"]
}
}
}
或直接通过 HTTP 连接:
{
"mcpServers": {
"swiss-truth": {
"type": "http",
"url": "https://swisstruth.org/mcp"
}
}
}
LangChain
pip install swiss-truth-langchain
from swiss_truth_langchain import SwissTruthToolkit
toolkit = SwissTruthToolkit()
tools = toolkit.get_tools() # search, verify, batch verify, citations, freshness, compliance
CrewAI
pip install swiss-truth-crewai
from swiss_truth_crewai import SwissTruthSearchTool, SwissTruthVerifyTool
from crewai import Agent
researcher = Agent(
role="Research Agent",
tools=[SwissTruthSearchTool(), SwissTruthVerifyTool()]
)
AutoGen
pip install swiss-truth-autogen
from swiss_truth_autogen import register_swiss_truth_functions
register_swiss_truth_functions(assistant, user_proxy)
# Adds: search_knowledge, verify_claim, verify_claims_batch, get_knowledge_brief
OpenAI 函数调用
import requests
tools = requests.get("https://swisstruth.org/openai-tools.json").json()
# Ready-to-use tool definitions for OpenAI API, LlamaIndex, etc.
14 个 MCP 工具
🔍 检索
| 工具 | 描述 |
|---|---|
search_knowledge | 对 2000+ 条经认证的事实进行语义搜索。自动检测语言(DE/EN/FR/IT/ES/ZH/AR/RU/JA/KO)。返回置信度评分、来源 URL 和 SHA256 哈希。 |
get_claim | 单条声明的完整溯源信息:验证者、机构、审核日期、SHA256。 |
get_knowledge_brief | 为 RAG 工作流优化的结构化、可引用知识简报。 |
list_domains | 浏览全部 30 个知识领域及经认证声明的数量。 |
✅ 验证
| 工具 | 描述 |
|---|---|
verify_claim | 核查一条陈述:返回 supported / contradicted / unknown,并附带置信度和证据。 |
verify_claims_batch | 并行验证最多 20 条声明。返回每条声明的判定和摘要。 |
verify_response | 检查完整 AI 回答的幻觉风险:low / medium / high。 |
find_contradictions | 查找所有与某条陈述相矛盾的经认证声明。 |
📎 引用与质量
| 工具 | 描述 |
|---|---|
get_citations | 提供格式规范的行内引用和 APA 引文,并附带已验证的来源 URL。 |
check_freshness | 检测过时训练数据。返回 current / changed / unknown。 |
check_regulatory_compliance | 瑞士 / 欧盟合规检查(FINMA、BAG、GDPR、EU AI Act)。 |
📥 贡献与反馈
| 工具 | 描述 |
|---|---|
submit_claim | 提交缺失事实以供专家审核。触发 AI 预筛查和 URL 验证。 |
get_claim_status | 跟踪审核流程:draft → peer_review → certified。 |
report_agent_need | 报告缺失的领域或功能——反馈将影响产品路线图。 |
30 个知识领域
🇨🇭 瑞士(11): swiss-health · swiss-law · swiss-finance · swiss-education · swiss-energy · swiss-transport · swiss-politics · swiss-agriculture · swiss-digital · swiss-environment · labor-employment
🇪🇺 欧盟与全球(6): eu-law · eu-health · global-science · international-law · economics · us-law
🔬 科学与技术(8): ai-ml · ai-safety · quantum-computing · cybersecurity · biotech · renewable-energy · space-science · blockchain-crypto
🌍 通用(5): climate · world-science · world-history · mental-health · nutrition-food
Agent 角色
| Agent 类型 | 主要工具 | 使用场景 |
|---|---|---|
| 研究 Agent | search_knowledge、get_knowledge_brief、get_citations | 基于经过核实的事实开展研究 |
| 法律合规 | search_knowledge、check_regulatory_compliance、verify_claim | FINMA、BAG、GDPR、EU AI Act |
| RAG 流水线 | get_knowledge_brief、search_knowledge、get_citations | 使用经过验证的事实丰富检索结果 |
| 事实核查 | verify_claim、verify_claims_batch、verify_response | 防止幻觉 |
| 健康咨询 | search_knowledge、check_regulatory_compliance、check_freshness | KVG、Krankenkasse、Swissmedic |
| 金融 Agent | search_knowledge、check_regulatory_compliance、verify_claim | 符合 FINMA 要求的信息 |
发现端点
Agent 和爬虫可通过标准端点发现 Swiss Truth:
| 端点 | 标准 | 用途 |
|---|---|---|
/.well-known/mcp.json | RFC 8615 | MCP 自动发现 |
/.well-known/ai-plugin.json | OpenAI | GPT / Assistants API 集成 |
/agents.json | Swiss Truth | Agent 能力清单 |
/llms.txt | llmstxt.org | 大模型爬虫发现 |
/openai-tools.json | OpenAI | 函数调用工具定义 |
验证流水线
每条声明在获得认证前,都会通过一个包含 5 个阶段的流水线:
Submit → AI Pre-Screen → URL Verification → Expert Review → Peer Review → Certified ✓
- SHA256 完整性哈希 — 检测篡改
- 区块链锚定 — 每周将 Merkle 根写入链上
- 置信度评分 — 多维度质量评分
- 自动续期 — 每日重新验证已过期的声明
- 符合 EU AI Act — 完整的审计跟踪
知识统计
| 指标 | 数值 |
|---|---|
| 已认证声明 | 2000+ |
| 领域 | 30 |
| 语言 | 10 |
| 验证阶段 | 5 |
| 经人工验证 | ✓ |
| SHA256 完整性 | ✓ |
| 已锚定至区块链 | ✓ |
| 符合 EU AI Act | ✓ |
| 需要 API 密钥 | ✗ |
示例查询
"Is health insurance mandatory in Switzerland?"
"What does the EU AI Act require for high-risk AI systems?"
"How does RAG reduce LLM hallucinations?"
"What are the FINMA regulations for crypto assets?"
"What is the current status of quantum error correction?"
"How does Swiss mandatory health insurance work?"
链接
- 🌐 网站: swisstruth.org
- 📊 信任与统计: swisstruth.org/trust
- 🔌 MCP 端点:
https://swisstruth.org/mcp - 📦 npm 包:
npx -y mcp-remote https://swisstruth.org/mcp - 🐍 PyPI LangChain:
pip install swiss-truth-langchain - 🐍 PyPI CrewAI:
pip install swiss-truth-crewai - 🐍 PyPI AutoGen:
pip install swiss-truth-autogen
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。