{
  "markdown": "# Swiss Truth MCP\n\n> **Verified knowledge infrastructure for AI agents — certified facts, not hallucinations.**\n\n[![MCP](https://img.shields.io/badge/MCP-StreamableHTTP-blue)](https://swisstruth.org/mcp)\n[![Domains](https://img.shields.io/badge/domains-30-green)](https://swisstruth.org/.well-known/mcp.json)\n[![Claims](https://img.shields.io/badge/certified_facts-2000%2B-brightgreen)](https://swisstruth.org/trust)\n[![Languages](https://img.shields.io/badge/languages-10-blue)](https://swisstruth.org/mcp)\n[![EU AI Act](https://img.shields.io/badge/EU_AI_Act-compliant-blue)](https://swisstruth.org/trust)\n[![Auth](https://img.shields.io/badge/API_key-not_required-success)](https://swisstruth.org/mcp)\n[![LangChain](https://img.shields.io/badge/LangChain-swiss--truth--langchain-orange)](https://pypi.org/project/swiss-truth-langchain)\n[![CrewAI](https://img.shields.io/badge/CrewAI-swiss--truth--crewai-red)](https://pypi.org/project/swiss-truth-crewai)\n[![AutoGen](https://img.shields.io/badge/AutoGen-swiss--truth--autogen-purple)](https://pypi.org/project/swiss-truth-autogen)\n\nSwiss Truth is a **human + AI validated knowledge base** purpose-built for AI agents.\nEvery fact passes a 5-stage validation pipeline, carries a confidence score, verified source URLs, and a SHA256 integrity hash.\nConnect in 30 seconds. No API key required.\n\n---\n\n## Why agents use Swiss Truth\n\n| Problem | Swiss Truth Tool |\n|---|---|\n| 🧠 **LLM hallucination** on factual questions | `search_knowledge` — 2000+ certified facts, 30 domains |\n| 📎 **Cannot cite sources** or verify citations | `get_citations` — inline + APA with verified URLs |\n| ⏰ **Stale training data** on fast-changing topics | `check_freshness` — detect outdated facts |\n| ⚖️ **Non-compliant responses** in regulated domains | `check_regulatory_compliance` — FINMA, BAG, GDPR, EU AI Act |\n| ✅ **Verify multiple claims** before sending a response | `verify_claims_batch` — up to 20 claims in parallel |\n| 🔍 **Full response hallucination risk** | `verify_response` — low / medium / high risk score |\n\n---\n\n## Quick Setup\n\n### MCP (Claude Desktop, Cursor, Windsurf, any MCP client)\n\n```json\n{\n  \"mcpServers\": {\n    \"swiss-truth\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"mcp-remote\", \"https://swisstruth.org/mcp\"]\n    }\n  }\n}\n```\n\nOr directly via HTTP:\n```json\n{\n  \"mcpServers\": {\n    \"swiss-truth\": {\n      \"type\": \"http\",\n      \"url\": \"https://swisstruth.org/mcp\"\n    }\n  }\n}\n```\n\n### LangChain\n```bash\npip install swiss-truth-langchain\n```\n```python\nfrom swiss_truth_langchain import SwissTruthToolkit\n\ntoolkit = SwissTruthToolkit()\ntools = toolkit.get_tools()  # search, verify, batch verify, citations, freshness, compliance\n```\n\n### CrewAI\n```bash\npip install swiss-truth-crewai\n```\n```python\nfrom swiss_truth_crewai import SwissTruthSearchTool, SwissTruthVerifyTool\nfrom crewai import Agent\n\nresearcher = Agent(\n    role=\"Research Agent\",\n    tools=[SwissTruthSearchTool(), SwissTruthVerifyTool()]\n)\n```\n\n### AutoGen\n```bash\npip install swiss-truth-autogen\n```\n```python\nfrom swiss_truth_autogen import register_swiss_truth_functions\n\nregister_swiss_truth_functions(assistant, user_proxy)\n# Adds: search_knowledge, verify_claim, verify_claims_batch, get_knowledge_brief\n```\n\n### OpenAI function-calling\n```python\nimport requests\n\ntools = requests.get(\"https://swisstruth.org/openai-tools.json\").json()\n# Ready-to-use tool definitions for OpenAI API, LlamaIndex, etc.\n```\n\n---\n\n## 14 MCP Tools\n\n### 🔍 Retrieval\n| Tool | Description |\n|---|---|\n| `search_knowledge` | Semantic search over 2000+ certified facts. Auto-detects language (DE/EN/FR/IT/ES/ZH/AR/RU/JA/KO). Returns confidence score, source URLs, SHA256 hash. |\n| `get_claim` | Full provenance for a single claim: validator, institution, review date, SHA256. |\n| `get_knowledge_brief` | Structured, citable knowledge brief optimized for RAG pipelines. |\n| `list_domains` | Browse all 30 knowledge domains with certified claim counts. |\n\n### ✅ Verification\n| Tool | Description |\n|---|---|\n| `verify_claim` | Fact-check a statement: `supported` / `contradicted` / `unknown` with confidence + evidence. |\n| `verify_claims_batch` | Verify up to 20 claims in parallel. Returns per-claim verdict + summary. |\n| `verify_response` | Check a full AI response for hallucination risk: `low` / `medium` / `high`. |\n| `find_contradictions` | Find all certified claims that contradict a statement. |\n\n### 📎 Citation & Quality\n| Tool | Description |\n|---|---|\n| `get_citations` | Properly formatted inline + APA citations with verified source URLs. |\n| `check_freshness` | Detect stale training data. Returns `current` / `changed` / `unknown`. |\n| `check_regulatory_compliance` | Swiss/EU compliance check (FINMA, BAG, GDPR, EU AI Act). |\n\n### 📥 Contribution & Feedback\n| Tool | Description |\n|---|---|\n| `submit_claim` | Submit a missing fact for expert review. Triggers AI pre-screening + URL verification. |\n| `get_claim_status` | Track review pipeline: `draft` → `peer_review` → `certified`. |\n| `report_agent_need` | Report missing domains or features — feedback shapes the roadmap. |\n\n---\n\n## 30 Knowledge Domains\n\n**🇨🇭 Swiss (11):** `swiss-health` · `swiss-law` · `swiss-finance` · `swiss-education` · `swiss-energy` · `swiss-transport` · `swiss-politics` · `swiss-agriculture` · `swiss-digital` · `swiss-environment` · `labor-employment`\n\n**🇪🇺 EU & Global (6):** `eu-law` · `eu-health` · `global-science` · `international-law` · `economics` · `us-law`\n\n**🔬 Science & Tech (8):** `ai-ml` · `ai-safety` · `quantum-computing` · `cybersecurity` · `biotech` · `renewable-energy` · `space-science` · `blockchain-crypto`\n\n**🌍 General (5):** `climate` · `world-science` · `world-history` · `mental-health` · `nutrition-food`\n\n---\n\n## Agent Personas\n\n| Agent Type | Primary Tools | Use Case |\n|---|---|---|\n| **Research Agent** | `search_knowledge`, `get_knowledge_brief`, `get_citations` | Ground research in verified facts |\n| **Legal Compliance** | `search_knowledge`, `check_regulatory_compliance`, `verify_claim` | FINMA, BAG, GDPR, EU AI Act |\n| **RAG Pipeline** | `get_knowledge_brief`, `search_knowledge`, `get_citations` | Enrich retrieval with validated facts |\n| **Fact-Checking** | `verify_claim`, `verify_claims_batch`, `verify_response` | Prevent hallucinations |\n| **Health Advisory** | `search_knowledge`, `check_regulatory_compliance`, `check_freshness` | KVG, Krankenkasse, Swissmedic |\n| **Financial Agent** | `search_knowledge`, `check_regulatory_compliance`, `verify_claim` | FINMA-compliant information |\n\n---\n\n## Discovery Endpoints\n\nSwiss Truth is discoverable by agents and crawlers via standard endpoints:\n\n| Endpoint | Standard | Purpose |\n|---|---|---|\n| `/.well-known/mcp.json` | RFC 8615 | MCP auto-discovery |\n| `/.well-known/ai-plugin.json` | OpenAI | GPT / Assistants API integration |\n| `/agents.json` | Swiss Truth | Agent capability manifest |\n| `/llms.txt` | llmstxt.org | LLM crawler discovery |\n| `/openai-tools.json` | OpenAI | Function-calling tool definitions |\n\n---\n\n## Validation Pipeline\n\nEvery claim passes a 5-stage pipeline before certification:\n\n```\nSubmit → AI Pre-Screen → URL Verification → Expert Review → Peer Review → Certified ✓\n```\n\n- **SHA256 integrity hash** — detect tampering\n- **Blockchain anchoring** — weekly Merkle root on-chain\n- **Confidence scoring** — multi-dimensional quality score\n- **Auto-renewal** — expired claims re-verified daily\n- **EU AI Act compliant** — full audit trail\n\n---\n\n## Knowledge Stats\n\n| Metric | Value |\n|---|---|\n| Certified claims | 2000+ |\n| Domains | 30 |\n| Languages | 10 |\n| Validation stages | 5 |\n| Human validated | ✓ |\n| SHA256 integrity | ✓ |\n| Blockchain anchored | ✓ |\n| EU AI Act compliant | ✓ |\n| API key required | ✗ |\n\n---\n\n## Example Queries\n\n```\n\"Is health insurance mandatory in Switzerland?\"\n\"What does the EU AI Act require for high-risk AI systems?\"\n\"How does RAG reduce LLM hallucinations?\"\n\"What are the FINMA regulations for crypto assets?\"\n\"What is the current status of quantum error correction?\"\n\"How does Swiss mandatory health insurance work?\"\n```\n\n---\n\n## Links\n\n- 🌐 **Website:** [swisstruth.org](https://swisstruth.org)\n- 📊 **Trust & Stats:** [swisstruth.org/trust](https://swisstruth.org/trust)\n- 🔌 **MCP Endpoint:** `https://swisstruth.org/mcp`\n- 📦 **npm package:** `npx -y mcp-remote https://swisstruth.org/mcp`\n- 🐍 **PyPI LangChain:** `pip install swiss-truth-langchain`\n- 🐍 **PyPI CrewAI:** `pip install swiss-truth-crewai`\n- 🐍 **PyPI AutoGen:** `pip install swiss-truth-autogen`\n",
  "bytes": 8539,
  "sha": "6e84a24c1fe46ff3a8f0744e8c49f1c37ce1d428bd86dd752db35339048279c0",
  "repo_slug": "swisstruthorg/swiss-truth-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_swisstruthorg_swiss_truth_mcp_80cefe85/readme"
}