avoid-ai-writing-mcp
avoid-ai-writing-mcp
公開されている avoid-ai-writing-detector を使用して散文を監査する、ローカルで決定的な MCP サーバー。
2つの読み取り専用ツールを公開しています:
score_textは、簡潔なスコア、分類、信頼度、およびカウントを返します。audit_textは、フラグが付けられたすべてのパターン、提案された代替案、統計、および強調された文の領域を追加します。
サーバーはネットワーク呼び出しを行わず、言語モデルも使用しません。テキストはローカルの MCP プロセス内に留まります。スコアはヒューリスティックな文章パターンのシグナルであり、テキストを書いたのが人またはモデルであることを証明するものではありません。
要件
Node.js 18 以降
ローカル stdio サーバーをサポートする MCP ホスト
Related MCP server: Byakugan: Private, open-source AI-text checker
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.
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to evaluate locally. The text is not sent to any network service. | |
| context | No | Writing context. Technical mode suppresses patterns common in code-adjacent prose; defaults to general. | general |
Output Schema
| Name | Required | Description |
|---|---|---|
| label | Yes | |
| score | Yes | |
| issues | Yes | |
| context | Yes | |
| scorable | Yes | |
| truncated | Yes | |
| confidence | Yes | |
| highlights | Yes | |
| statistics | Yes | |
| word_count | Yes | |
| issue_count | Yes | |
| probabilities | Yes | |
| classification | Yes | |
| unscored_reason | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, and the description adds valuable behavior beyond that: the audit runs locally, is deterministic, returns up to 100 flagged patterns and 100 highlighted sentence regions, and includes truncation counts. It also disclaims that the result is heuristic rather than proof, which is essential context for the agent's interpretation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three sentences, each earning its place: one identifies the action and method, one lists the return bounds and truncation behavior, and one sets expectations and routes to the sibling. The most decision-relevant facts are front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the output schema exists, the annotations cover safety, and the description covers local processing, deterministic behavior, response bounds, truncation counts, and the heuristic caveat, an agent has everything it needs to select and invoke the tool correctly. The only thing left to the schema is the context enum, which is appropriately delegated.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the text and context parameters are already documented. The description adds no extra parameter semantics, but it doesn't need to because the schema carries that weight. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific action ('Audit text'), names the concrete detector ('the deterministic Avoid AI Writing detector'), and distinguishes this tool from its sibling score_text by describing the richer audit output. An agent can tell exactly what this tool does and how it differs from the sibling without opening the schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives clear usage context: it is a local, deterministic, heuristic writing audit and not proof of authorship. It explicitly says to use score_text when a compact result is needed, naming the alternative and the condition that selects it.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
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.
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to evaluate locally. The text is not sent to any network service. | |
| context | No | Writing context. Technical mode suppresses patterns common in code-adjacent prose; defaults to general. | general |
Output Schema
| Name | Required | Description |
|---|---|---|
| label | Yes | |
| score | Yes | |
| context | Yes | |
| scorable | Yes | |
| confidence | Yes | |
| word_count | Yes | |
| issue_count | Yes | |
| probabilities | Yes | |
| classification | Yes | |
| unscored_reason | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover read-only, idempotent, and non-destructive hints. The description adds critical behavioral traits: the detector is deterministic, it is a heuristic signal not proof of authorship, and it operates locally. These go beyond the annotations and help calibrate trust in the output.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences with no filler. The action and scope are front-loaded, the caveat is stated compactly, and the alternative is offered in the same breath. Every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has a rich output schema, complete parameter documentation, and strong annotations. The description covers the operation's purpose, the caveat about heuristic results, and the routing to audit_text. Nothing an agent needs to call it correctly is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% – both parameters have clear descriptions (text is local, context has default and behavior). The description itself does not add parameter-specific semantics beyond the schema, so the baseline of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('Score'), a resource ('text'), and the exact detector ('Avoid AI Writing'). It also names the sibling tool 'audit_text' and differentiates by saying when audit_text is needed, so it clearly distinguishes from the alternative.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly says to 'use audit_text when individual findings are needed', implying this tool is for a compact score. It also notes the operation is local and deterministic, giving clear context for when to choose this tool.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
1 tool update
- Changed
audit_text4 fields changed- added
Output schema / properties / highlights / maxItemsAdded value: +100 - added
Output schema / properties / issues / maxItemsAdded value: +100 - added
Output schema / properties / truncatedAdded value: +{ + "additionalProperties": false, + "properties": { + "highlights": { + "maximum": 9007199254740991, + "minimum": 0, + "type": "integer" + }, + "issues": { + "maximum": 9007199254740991, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "issues", + "highlights" + ], + "type": "object" +} - changed
Output schema / requiredPrevious value: -[ - "score", - "label", - "scorable", - "unscored_reason", - "classification", - "confidence", - "probabilities", - "word_count", - "issue_count", - "context", - "issues", - "statistics", - "highlights" -]New value: +[ + "score", + "label", + "scorable", + "unscored_reason", + "classification", + "confidence", + "probabilities", + "word_count", + "issue_count", + "context", + "issues", + "statistics", + "highlights", + "truncated" +]
2 tool updates
v0.1.0- First observed
audit_text - First observed
score_text
TDQS
Scored across 2 tools
score_text and audit_text have clearly separated purposes: one returns a compact classification while the other returns detailed flagged patterns and highlighted regions. The cross-references in the descriptions remove any real ambiguity about which tool to use.
Both tool names follow the same verb_noun pattern with lowercase snake_case and concise action words. This is fully consistent and predictable.
Two tools is slightly below the typical 3-15 range, but for a narrowly scoped local text detector the pair covers both a compact score and a detailed audit. Each tool has a distinct, useful role, so the small count feels intentional rather than inadequate.
The server's apparent domain is deterministic AI-writing detection on text, and the two tools cover the full user journey: getting a quick judgment or drilling into specific flagged patterns and highlighted regions. There are no obvious missing operations for this stated purpose.
Maintenance
Related MCP Connectors
DraftCheck: flags AI-writing patterns in prose with fix hints. Deterministic linter, not a detector.
Find AI-isms with evidence and fingerprint a writing voice from samples. 3 of 5 free.
Deterministic prompt-injection detector; signed, offline-verifiable verdicts. Not an LLM.
Six tools for SEO and AI-readability audits. 91 checks, 11 score modules.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI attribution audits and quick transparency checks on written content, providing authorship analysis and segment breakdowns for editorial review.22MIT
- AlicenseAqualityDmaintenanceA private, open-source AI-text checker. Get a read on whether text looks AI-written, the exact AI-tell spans to fix, a reuse check, and a grammar pass.4MIT
- AlicenseAqualityAmaintenanceBilingual (EN/ES) AI-writing detection that shows the evidence instead of a percentage: named tells with line and column, hidden-character inspection, and citation cross-checking against a document's own bibliography. Seven of its nine tools run entirely locally and never touch the network.1027MIT
- AlicenseAqualityCmaintenanceEnables editorial content QA over the Model Context Protocol with four local tools that analyze readability, AI-sounding language, SEO on-page factors, and produce full reports where every finding includes an actionable fix.41MIT