Glin MCP Server

Content moderation and profanity detection MCP server with 19 tools, 24 language support, leetspeak/Unicode obfuscation detection, context-aware

Local serverstdioPython

What is the Glin MCP server?

Most developer tooling work still happens through a UI a human drives. Glin MCP server moves it into the conversation instead. Content moderation and profanity detection MCP server with 19 tools, 24 language support, leetspeak/Unicode obfuscation detection, context-aware analysis, batch processing, and user tracking for AI-powered content safety.

The short version

The Open-Source AI Guardrail. Profanity, PII, Secrets, Soon: Prompt Injection — One Library, One MCP Server, Runs Offline.

The tools it exposes

The server publishes 14 tools. What each one is for:

  • check_profanity — Check text for profanity with detailed results
  • censor_text — Censor profanity with configurable replacement
  • analyze_context — Context-aware analysis with domain whitelists
  • batch_check — Check multiple texts in one operation
  • validate_content — Content validation with safety scoring (0-100)
  • detect_obfuscation — Detect leetspeak and Unicode tricks
  • get_supported_languages — List all 24 supported languages
  • explain_match — Explain why text was flagged with reasoning
  • suggest_alternatives — Suggest clean alternatives for profane content
  • analyze_corpus — Analyze up to 500 texts for moderation stats
  • compare_strictness — Compare results across strictness levels
  • create_regex_pattern — Generate regex patterns for custom detection

Getting it running

Installation goes through your MCP client rather than a global install: point it at glin-profanity on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

How it compares

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Glin's toolset — check_profanity, censor_text, analyze_context and 11 more — is a fair guide to whether it matches your workflow.

This entry was verified against Glin's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Glin.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
check_profanityCheck text for profanity with detailed results
censor_textCensor profanity with configurable replacement
analyze_contextContext-aware analysis with domain whitelists
batch_checkCheck multiple texts in one operation
validate_contentContent validation with safety scoring (0-100)
detect_obfuscationDetect leetspeak and Unicode tricks
get_supported_languagesList all 24 supported languages
explain_matchExplain why text was flagged with reasoning
suggest_alternativesSuggest clean alternatives for profane content
analyze_corpusAnalyze up to 500 texts for moderation stats
compare_strictnessCompare results across strictness levels
create_regex_patternGenerate regex patterns for custom detection
track_user_messageTrack user messages for repeat offender detection
get_user_profileGet moderation profile for a specific user

How to install the Glin MCP server

**Cursor** (`.cursor/mcp.json`):
```json
{
  "mcpServers": {
    "glin-profanity": {
      "command": "npx",
      "args": ["-y", "glin-profanity-mcp"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • Use Glin to check profanity.
  • Use Glin to censor text.
  • Use Glin to analyze context.

Frequently asked questions

It connects Glin to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (check_profanity, censor_text, analyze_context, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Glin directly.