Skip to main content
Glama
Grounding Enforcer

Grounding Enforcer

by steveswain14

Version License Release

Grounding Enforcer (MCP)

A standalone MCP server that validates model output against retrieved sources. It flags any claim, statistic, attribution, quote, or URL that cannot be traced back to a real source.

This repository contains the full implementation, including all grounding checks, violation logic, and output-cleaning modes. It runs independently and does not depend on the full suite.

Usage

Add this server to your MCP client configuration (Claude Desktop, Cursor, Windsurf, or any MCP‑compatible environment):

{ "mcpServers": { "grounding_enforcer": { "command": "python3", "args": ["/path/to/mcp-grounding-enforcer/server.py"] } } }

Related MCP server: openclaw-output-vetter-mcp

Modes

  • strict — removes sentences containing ungrounded spans

  • lenient — rewrites ungrounded spans with hedging

  • all (default) — removes fabricated retrieval claims only

Relationship to the full suite

This suppressor is also included in the consolidated mcp-hallucination-suite, which bundles all four suppressors and provides a meta-orchestrator: https://github.com/steveswain14/mcp-hallucination-suite

  • mcp-prompt-suppressor

  • mcp-json-suppressor

  • mcp-tool-response-suppressor

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that provides fact-checking capabilities and truth anchoring for AI agents using verified data sources.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      MCP server for verifying AI agent claims vs reality — single-transcript inline grounding-check that flags when an agent's response states facts not in the input context, when its code silently swallows exceptions and substitutes mock data, or when its multi-turn transcript contains contradictions or unverified completion claims. Sub-second, local, free, no API calls.
      4
      29 PyPI
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that verifies whether a claim is actually supported by the source text at a given citation — independent of what the calling LLM asserts.
      MIT