How do I install Sensitive Lexicon Mcp?
You can install it globally via `npm install -g sensitive-lexicon-mcp` or locally by cloning the Git repository and running `npm install && npm run build`.
@zephyrpersonal
Basic information
A Model Context Protocol (MCP) server that provides sensitive word detection and filtering capabilities for Large Language Models (LLMs), powered by the comprehensive https://github.com/konsheng/Sensitive-lexicon Chinese word database.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"sensitive-lexicon": {
"command": "npx",
"args": [
"sensitive-lexicon-mcp"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
Fetch the live tool list by running this server in a temporary sandbox using the button above.
Sensitive Lexicon Mcp is an MCP (Model Context Protocol) server built on the Sensitive-lexicon sensitive word library. It provides large language models (LLMs) with sensitive word detection and filtering capabilities, supporting multiple categories such as political, pornography, violence, and advertisement. It is designed for developers and users who need to moderate or redact sensitive content in AI applications.
Install globally via npm install -g sensitive-lexicon-mcp or locally in a project. Configure it as an MCP server in supported clients (Claude Desktop, Continue.dev, Cline, Zed, Cursor) by adding a JSON entry with npx sensitive-lexicon-mcp. The server exposes tools like detect_sensitive_words and filter_sensitive_words that accept text and optional categories or replacement parameters. Environment variables (SENSITIVE_UPDATE_INTERVAL, SENSITIVE_CACHE_SIZE, DEBUG) allow customization.
get_categories and get_word_count.You can install it globally via `npm install -g sensitive-lexicon-mcp` or locally by cloning the Git repository and running `npm install && npm run build`.
It provides four tools: `detect_sensitive_words`, `filter_sensitive_words`, `get_categories`, and `get_word_count`. Each accepts JSON parameters and returns structured results.
The server includes 15 categories: `covid19`, `gfw`, `other`, `subversive`, `advertisement`, `political`, `violence`, `livelihood`, `weapons`, `pornography-type`, `pornography`, `supplementary`, `corruption`, `tencent`, and `illegal-urls`.
Yes. The `filter_sensitive_words` tool accepts an optional `replacement` parameter (default `"***"`). You can provide any string, like `"[已屏蔽]"`.
No. Sensitive Lexicon Mcp runs locally using the standard MCP stdio transport; it does not require any authentication or external API key. The lexicon is fetched from a public GitHub repository.

Model Context Protocol Servers

Couples therapist Figs O'Sullivan (LMFT, 17 years, endorsed by Sue Johnson, creator of EFT) inside your AI. Ask relationship questions answered from his clinical writing, name the pattern in a fight, get a three-step rep
YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

Handl speaks the Model Context Protocol. Your whole billing operation — projects, invoices, clients, reports, approvals — as tools any AI assistant can call, inside your autonomy rules.

Model Context Protocol Servers
Comments