npm package

profanease

Updated 2026-07-16 View source ↗

#164 of 203 by Downloads / week among npm packages

3.8k Downloads / week

Modern, lightweight profanity detection & content moderation toolkit with l33t speak detection, multi-language support, and guard rails

About

Modern, lightweight profanity detection & content moderation toolkit for JavaScript/TypeScript.

Profanease ships an MCP (Model Context Protocol) server, allowing AI assistants like Claude, Cursor, and others to use profanity filtering as a tool.

Claude Desktop (claudedesktopconfig.json):

Claude Code (.mcp.json in project root):

All tools accept: text, language (en/all), normalize, categories, customwords, customonly.

User: "Check if this user comment is appropriate: [text]" > The AI calls profaneaseanalyze with the text and gets back match details, severity, categories, and cleaned text — then makes an informed moderation decision.

Use Profanease.custom() to create a filter with only…

Excerpted from www.npmjs.com/package/profanease

Latest metrics

Downloads / week 3.8k 2026-07-16