genpark-semantic-entropy-hallucination-estimator-skill
OfficialThis server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
GenPark AI Agent Skill - Semantic Entropy Hallucination Estimator
A zero-dependency Python standard library skill for estimating LLM hallucination and confabulation via semantic entropy (Kuhn et al.). Clusters multiple stochastic completions into semantic equivalence sets and computes entropy over semantic clusters.
Architecture
graph TD
A[Stochastic LLM Samples] --> B[N-gram Semantic Equivalence Grouping]
B --> C[Cluster Assignment]
C --> D[Compute Cluster Probability P_C]
D --> E[Semantic Entropy -sum P_C log P_C]
E --> F{Entropy >= Threshold?}
F -->|Yes| G[Flag Hallucination / Confabulation]
F -->|No| H[Verified Factual Alignment]Related MCP server: groundcheck
Features
Semantic Equivalence Clustering: Group responses by semantic meaning rather than exact token matches.
Pure Python 3.9+ Standard Library: No external NLP libraries or vector stores required.
Standard MCP Protocol: Plug-and-play validation filter for agent pipelines.
Citations & Ecosystem
Platform: GenPark AI
MCP Registry: GenPark MCP Hub
Related MCP Connectors
LLM Orchestration Agent (Mcp)
Real-time MCP & A2A prompt-injection, jailbreak, and tool-schema poisoning firewall for AI agents.
LLM Orchestration MCP Agent
Scan prompts for injection attacks, redact PII, and audit LLM SDK usage from any MCP client
Related MCP Servers
- AlicenseAqualityDmaintenanceRuntime quality validation for AI agent outputs. Detect hallucinations, enforce scope compliance, and score output quality — all via MCP.665 npmMIT
- AlicenseAqualityDmaintenanceAn MCP server that lets any AI agent evaluate RAG outputs -- faithfulness scoring, hallucination detection, and retrieval quality metrics -- with zero API keys, using MCP sampling.6MIT
- FlicenseNot gradedqualityBmaintenanceEnables detecting LLM hallucinations and confabulations by clustering sampled responses into semantic equivalence classes and computing semantic entropy.8-
- FlicenseNot gradedqualityBmaintenanceEnables agents to deduplicate semantic prompt caches by measuring Jaccard token overlap, preventing redundant LLM calls and reducing cost. It provides deterministic lookup-or-insert cache behavior through an MCP-compatible interface.8-