Enterprise DNA Enterprise DNA
M MCP Servers Developer low

cgrtml/reasongate

by Various

Explainable security gate for LLM apps — blocks prompt injection with an auditable reason for every decision.

MCP

cgrtml/reasongate

Added 23 Sept 2026

#ai-safety #explainable-ai #guardrails #jailbreak-detection #llm-guardrails #llm-security #owasp-llm #prompt-injection

Overview

cgrtml/reasongate is a Python security gate for LLM applications. It blocks prompt injection attempts and provides an auditable reason for every decision. The project is open source and available on GitHub.

Best for

Best for
Developers needing an explainable prompt injection gate in Python.

Use cases

  • Add a security check before LLM inference
  • Log and audit why prompts were blocked or allowed
  • Protect LLM apps from prompt injection attacks

How to use

Install

pip install reasongate

Tested with

Claude Desktop, Cursor

Notes

cgrtml/reasongate is a Python security gate for LLM applications. It blocks prompt injection attempts and provides an auditable reason for every decision. The project is open source and available on GitHub.

14 stars on GitHub. Last updated 2026-09-22. Licensed Apache-2.0.

Use cases

  • Add a security check before LLM inference
  • Log and audit why prompts were blocked or allowed
  • Protect LLM apps from prompt injection attacks

Pros

  • Provides an auditable reason for every security decision
  • Focused on a specific security concern
  • Open source and easy to inspect

Cons

  • Very early stage with only 14 stars
  • Limited community and ecosystem
  • No evidence of production readiness

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Provides an auditable reason for every security decision
  • Focused on a specific security concern
  • Open source and easy to inspect

Cons

  • Very early stage with only 14 stars
  • Limited community and ecosystem
  • No evidence of production readiness
Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.

Running a business, not writing the code? See the MCP servers picked for operators, and get your first one wired up with us.

Operator picks