Skip to main content
Glama
avoid-ai-writing-mcp

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。

工具输入

两个工具都接收:

字段

类型

必填

说明

text

string

是

要在本地评估的文本(最多 100,000 个字符)。

context

enum

否

general(默认)、technical、marketing 或 personal。

technical 模式可以减少代码相关写作中常见模式带来的噪音。其他模式则保留检测器上下文相关的行为。

开发

npm install
npm test
npm run inspect

npm run inspect 会针对本地 stdio 入口启动官方 MCP Inspector。

范围

本包有意不提供重写工具。重写需要编辑判断,而且通常需要托管模型;添加重写会破坏该服务器确定性、本地化、隐私保护的约定。

许可

MIT

Available Tools

2 tools
audit_textAudit text for AI-writing patternsA
Read-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 patternsA
Read-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

    A4.4/5.0

    Scored across 2 tools

    Disambiguation4/5

    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.

    Naming Consistency5/5

    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.

    Tool Count3/5

    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.

    Completeness3/5

    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

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      A
      maintenance
      Analyzes 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.
      -
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables 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.
      -
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables 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.
      -
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables 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.
      -