Verified knowledge base for AI agents — stop hallucinations with certified, source-backed facts via MCP
Project description
Swiss Truth MCP
Stop your AI agent from hallucinating facts. Swiss Truth is a verified, source-backed knowledge base accessible via MCP — certified claims with confidence scores, primary source URLs, and SHA256 integrity hashes.
No API key. No setup. Connect in 30 seconds.
Why agents need this
LLMs hallucinate facts, especially for country-specific, regulatory, and scientific topics. Swiss Truth gives your agent a ground-truth layer it can query before answering — returning only claims that have passed a 5-stage human + AI validation pipeline.
| Without Swiss Truth | With Swiss Truth |
|---|---|
| "Health insurance in Switzerland is optional, I think..." | "Health insurance is mandatory (KVG Art. 3) — confidence 0.99, source: bag.admin.ch" |
| Unknown answer on Swiss VAT rates | Certified claim with current rate + legal source |
| Unverified AI/ML definition | Peer-reviewed explanation with academic citation |
Quick Setup — Claude Desktop
{
"mcpServers": {
"swiss-truth": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://swisstruth.org/mcp"]
}
}
}
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Restart Claude Desktop — done.
6 MCP Tools
search_knowledge — Semantic search over certified facts
search_knowledge("How does health insurance work in Switzerland?")
search_knowledge("Was ist RAG in der KI?") # DE auto-detected
search_knowledge("三权分立原则") # ZH auto-detected
Returns: ranked list of certified claims, each with:
confidence_score(0.0 – 1.0)source_urls(gov, academic, institutional — no Wikipedia)hash(SHA256 for tamper detection)language,domain,last_reviewed
Supports: DE · EN · FR · IT · ES · ZH · AR · RU · JA · KO
verify_claim — Fact-check any statement
verify_claim("Die Krankenversicherung in der Schweiz ist freiwillig.")
{
"verdict": "contradicted",
"confidence": 0.879,
"explanation": "Swiss law (KVG Art. 3) mandates health insurance for all residents.",
"evidence": [...],
"sources": ["https://www.bag.admin.ch/..."]
}
Returns: supported · contradicted · unknown
get_claim — Full provenance for a single claim
get_claim("sha256:d21321db714d...")
Returns: claim text, domain, language, confidence, validator, institution, review date, all source URLs, SHA256 hash.
list_domains — Browse the knowledge base
list_domains()
Returns all 12 domains with certified claim counts. Use to understand coverage before querying.
submit_claim — Contribute to the knowledge base
Submit a claim for expert review. Automatically triggers the full validation pipeline (dedup → AI pre-screen → source verification → human review → signing).
get_claim_status — Track validation progress
Check where your submitted claim is: draft → peer_review → certified
Knowledge Domains
| Domain | ID | Focus |
|---|---|---|
| Swiss Health | swiss-health |
KVG, mandatory insurance, Krankenkasse |
| Swiss Law | swiss-law |
Federal law, cantonal rules, civil code |
| Swiss Finance | swiss-finance |
AHV, 3-pillar system, taxes, banking |
| Swiss Politics | swiss-politics |
Federal Council, direct democracy, elections |
| Swiss Education | swiss-education |
University system, apprenticeships, Bologna |
| Swiss Energy | swiss-energy |
Nuclear, renewables, energy strategy 2050 |
| Swiss Transport | swiss-transport |
SBB, highways, LSVA |
| Swiss Agriculture | swiss-agriculture |
Direct payments, organic, food sovereignty |
| Climate Science | climate |
IPCC findings, temperature data, emissions |
| AI / ML | ai-ml |
RAG, transformers, LLM concepts, benchmarks |
| Natural Sciences | world-science |
Physics, chemistry, biology fundamentals |
| World History | world-history |
Verified historical facts and dates |
Agent Use Cases
RAG grounding — Before answering a user question, call search_knowledge to retrieve certified context. Pass it as system context to prevent hallucination.
Fact-checking pipeline — Use verify_claim as a post-processing step to validate claims in generated text before showing them to users.
Compliance checks — For Swiss regulatory topics (insurance, taxes, legal obligations), retrieve ground truth with source references your users can verify.
Multi-language support — One agent, 10+ languages. The query language is auto-detected — no need to specify it.
Trust & Methodology
Every claim passes a 5-stage validation pipeline:
- Semantic dedup — vector similarity ≥ 95% blocks redundant submissions
- AI pre-screen — Claude Haiku checks atomicity, factuality, source presence
- Source verification — each URL fetched and verified to support the claim
- Expert peer review — human validation with confidence score assignment
- SHA256 signing + annual expiry — confidence decays 1%/month until renewed
Full transparency: swisstruth.org/trust
Endpoints
| MCP endpoint | https://swisstruth.org/mcp |
| MCP discovery | https://swisstruth.org/.well-known/mcp.json |
| Trust & stats | https://swisstruth.org/trust |
| REST API docs | https://swisstruth.org/docs |
| RSS feed | https://swisstruth.org/feed.rss |
| Webhook subscriptions | POST https://swisstruth.org/webhooks |
Subscribe to new certified claims
RSS — poll or subscribe in any feed reader:
https://swisstruth.org/feed.rss
https://swisstruth.org/feed.rss?domain=swiss-health
Webhook — get notified on every certification:
curl -X POST https://swisstruth.org/webhooks \
-H "Content-Type: application/json" \
-d '{"url": "https://your-agent.example.com/hook", "domain": "swiss-health"}'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file swiss_truth_mcp-0.1.2.tar.gz.
File metadata
- Download URL: swiss_truth_mcp-0.1.2.tar.gz
- Upload date:
- Size: 180.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c86be85ae19fa5c3a507771edaa88f9b42fed9a6e7832126f2b9b399e0b44c8
|
|
| MD5 |
69f0ae766d5136594d2b8318604e9af3
|
|
| BLAKE2b-256 |
c134e503a9e77f7d4672f5d61c2e0ab0e27747694e09e9a00d85cace75f0cdb3
|
File details
Details for the file swiss_truth_mcp-0.1.2-py3-none-any.whl.
File metadata
- Download URL: swiss_truth_mcp-0.1.2-py3-none-any.whl
- Upload date:
- Size: 183.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1220fbe373ebcd49341b5d29612488673c33f91826381096d316108c23e5530f
|
|
| MD5 |
f0b776eebd61a6daac8ac2737a081359
|
|
| BLAKE2b-256 |
9e2e12f5bcaebae7ea7f383540ef34b60d894392aca768c9d50440822b61fa45
|