avoid-ai-writing-mcp
avoid-ai-writing-mcp
一个本地、确定性的 MCP 服务器,用于通过已发布的 avoid-ai-writing-detector 审计文稿。
它提供两个只读工具:
score_text返回一个紧凑的评分、分类、置信度和计数。audit_text额外提供每个被标记的模式、建议的替代方案、统计信息以及高亮的句子区域。
该服务器不进行任何网络调用,也不使用语言模型。文本始终留在本地 MCP 进程内。评分只是启发式的写作模式信号,并不能证明文本由人类还是模型撰写。
环境要求
Node.js 18 或更高版本
支持本地 stdio 服务器的 MCP 主机
Related MCP server: slop-guard
从 GitHub 运行
将该服务器添加到 Claude Code:
claude mcp add avoid-ai-writing -- npx -y github:conorbronsdon/avoid-ai-writing-mcp或者将其添加到 MCP JSON 配置中:
{
"mcpServers": {
"avoid-ai-writing": {
"command": "npx",
"args": ["-y", "github:conorbronsdon/avoid-ai-writing-mcp"]
}
}
}当这个包发布到 npm 后,将 GitHub 包引用替换为 avoid-ai-writing-mcp。
该包使用 stdio 进行协议消息。它不会打开端口,也不会将输入发送到任何 API。
工具输入
两个工具都接收:
字段 | 类型 | 必填 | 说明 |
| string | 是 | 要在本地评估的文本(最多 100,000 个字符)。 |
| enum | 否 |
|
technical 模式可以减少代码相关写作中常见模式带来的噪音。其他模式则保留检测器上下文相关的行为。
开发
npm install
npm test
npm run inspectnpm run inspect 会针对本地 stdio 入口启动官方 MCP Inspector。
范围
本包有意不提供重写工具。重写需要编辑判断,而且通常需要托管模型;添加重写会破坏该服务器确定性、本地化、隐私保护的约定。
许可
MIT
Available Tools
2 toolsaudit_textAudit text for AI-writing patternsARead-onlyIdempotent
Audit text locally with the deterministic Avoid AI Writing detector. Returns the score plus up to 100 flagged patterns and 100 highlighted sentence regions, with truncation counts. This is a heuristic writing audit, not proof of authorship; use score_text for a compact result.
Inputs: text (required), context. Returns: label, score, issues, context, +10 more
score_textScore text for AI-writing patternsARead-onlyIdempotent
Score text locally with the deterministic Avoid AI Writing detector. Returns a compact 0-100 pattern score, classification, confidence, and counts. This is a heuristic signal, not proof of authorship; use audit_text when individual findings are needed.
Inputs: text (required), context. Returns: label, score, context, scorable, +6 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
Both tools run the same detector over the same input and differ only in output verbosity, which is inherent overlap, but the descriptions explicitly route agents between them ('use score_text for a compact result', 'use audit_text when individual findings are needed'). An agent can select correctly, though the boundary is finer than ideal.
Both names follow the same verb_noun pattern (audit_text, score_text) using short, concrete verbs and the shared _text suffix. The convention is fully predictable.
Two tools for a single deterministic detector is thin, and the pair could arguably be one tool with a verbosity/detail flag. The split is defensible for output-size reasons but sits at the lower bound of usefulness.
Scoring and detailed auditing are both covered, including truncation counts, so the core analysis loop is closed. However, there is no remediation surface (suggested rewrites/fixes), no batch or file-based input, and no way to act on the flagged patterns.
Maintenance
Related MCP Connectors
See which phrases read as AI-written, rewrite what reads machine-made, and audit whole sites.
- AssetFeed AI DetectionDeprecatedcom.assetfeed
Estimate how much of an English text or web page reads as AI-written. Read-only, two tools.
Detect AI slop in text, HTML, pages, and project folders. Free, no API key.
DraftCheck: flags AI-writing patterns in prose with fix hints. Deterministic linter, not a detector.
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceAnalyzes text and files for formulaic AI writing patterns, returning a 0-100 score, band label, specific violations with context, and concrete revision advice. Runs entirely locally with rule-based heuristics, requiring no LLM judge or API calls.-
- FlicenseNot gradedqualityAmaintenanceEnables agents to score prose from 0-100 for formulaic AI writing tells using pure rule-based heuristics, exposing tools to analyze inline text or files on disk and return violation details, band labels, and concrete advice without any LLM judge or network calls.-
- FlicenseNot gradedqualityAmaintenanceEnables agents and users to analyze text or files for formulaic AI writing patterns and receive a 0–100 score, band label, violations with surrounding context, and concrete advice. It works programmatically without LLM judges or API calls.-
- FlicenseNot gradedqualityAmaintenanceEnables agents to analyze inline prose or files on disk for formulaic AI writing patterns, returning a 0-100 score, band label, specific violations with context, and concrete advice. Uses purely programmatic, configurable rules with no LLM judge or API calls.-