avoid-ai-writing-mcp
Locally audit prose for AI-writing patterns with two deterministic, read-only MCP tools—no network calls or language model.
score_text: Returns a compact 0–100 score, classification, confidence, probabilities, and word/issue counts.audit_text: Returns the score plus up to 100 flagged patterns, suggested alternatives, statistics, and up to 100 highlighted sentence regions with truncation counts.Inputs: Both accept
text(1–100,000 characters) and optionalcontext:general,technical,marketing, orpersonal.Privacy/scope: Text stays local; results are heuristic writing-pattern signals, not proof of authorship.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@avoid-ai-writing-mcp Can you check this text for AI writing patterns?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
avoid-ai-writing-mcp
Maintenance mode. This project is stable and receives security fixes. New features aren't planned, but issues and pull requests are still welcome.
A local, deterministic MCP server for auditing prose with the published
avoid-ai-writing-detector.
Each release pins one exact detector version (the
avoid-ai-writing-detector entry in package.json dependencies), so scores
can differ from the newest detector CLI on the same text. Dependabot checks
daily and opens a pull request that moves the pin to the newest detector; the
new detector reaches npm with the next release of this package.
It exposes two read-only tools:
score_textreturns a compact score, classification, confidence, and counts.audit_textadds a bounded set of flagged patterns, suggested alternatives, statistics, and highlighted sentence regions.
The server makes no network calls and uses no language model. Text stays inside the local MCP process. Scores are heuristic writing-pattern signals, not proof that a person or model wrote the text.
Requirements
Node.js 20 or newer
An MCP host that supports local stdio servers
Related MCP server: slop-guard
Install
Add this server to Claude Code:
claude mcp add avoid-ai-writing -- npx -y avoid-ai-writing-mcpOr add it to an MCP JSON configuration:
{
"mcpServers": {
"avoid-ai-writing": {
"command": "npx",
"args": ["-y", "avoid-ai-writing-mcp"]
}
}
}To run the current source directly from GitHub instead, use
github:conorbronsdon/avoid-ai-writing-mcp as the package spec.
The package uses stdio for protocol messages. It does not open a port or send input to an API.
Tool inputs
Both tools accept:
Field | Type | Required | Description |
| string | yes | Text to evaluate locally (maximum 100,000 characters). |
| enum | no |
|
technical mode reduces noise from patterns that are normal in code-adjacent
writing. The other modes preserve the detector's context-specific behavior.
audit_text returns at most 100 issues and 100 highlighted regions. Its
truncated field reports how many additional items the detector produced.
Development
npm install
npm test
npm run inspectnpm run inspect launches the official MCP Inspector against the local stdio
entry point.
Scope
This package intentionally does not expose a rewrite tool. Rewriting requires editorial judgment and often a hosted model; adding that would undermine this server's deterministic, local, privacy-preserving contract.
License
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.-