WriteStat MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
WriteStat MCP Server
MCP server for text readability analysis and AI pattern detection. Helps writers identify AI-like patterns and improve readability.
Created by Du'An Lightfoot | @labeveryday
Installation
pip install writestat-mcp
# Optional: ML-based detection (~500MB for torch/transformers)
pip install writestat-mcp[ml]
# Required: NLTK data
python -c "import nltk; nltk.download('punkt_tab')"Related MCP server: gptzero-mcp
Tools
Tool | Description |
| Readability metrics (Flesch-Kincaid, SMOG, etc.) |
| Complex sentences with explanations |
| Pattern-based AI detection (60+ patterns) |
| ML detection via GPT-2 perplexity (optional) |
| Process multiple texts in parallel |
| Before/after comparison |
Claude Desktop Setup
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%/Claude/claude_desktop_config.json (Windows):
{
"mcpServers": {
"readability-mcp": {
"command": "uvx",
"args": ["writestat-mcp"]
}
}With Claude Code
# After PyPI publish
# Pattern detection only (lightweight)
claude mcp add writestat-mcp -- uvx writestat-mcp
# Or with ML detection (~500MB download)
claude mcp add writestat-mcp -- uvx "writestat-mcp[ml]"
# From local source
cd /path/to/writestat-mcp
pip install -e .
claude mcp add writestat-mcp -- writestat-mcpExample Prompts
Full analysis workflow:
I just wrote this blog post. Check the readability, find any difficult sentences, and flag anything that sounds too AI-generated. Then suggest improvements:
Editing pass:
This is my draft and my revised version. Compare them and tell me if the readability improved and if I removed the AI-sounding phrases. {First_draft} vs {second_draft}
Quick AI check:
Does this paragraph have any AI tells? Be specific about which phrases to fix:
Target audience check:
I'm writing for high school students. Is this text at the right reading level? Which sentences are too complex:
AI Detection: What to Expect
This tool uses heuristic pattern matching and zero-shot perplexity scoring—not a fine-tuned classifier.
How It Works
Pattern detection: Catches stylistic markers (em dashes, filler phrases, buzzwords)
ML detection: Measures perplexity, vocabulary diversity, burstiness
Accuracy Context
Research shows fine-tuned RoBERTa models achieve ~99% F1 on ChatGPT detection (Guo et al., 2023). Our lightweight approach won't match that. It's designed for:
Quick pattern screening
Catching obvious AI tells
Educational awareness about AI writing patterns
Not suitable for: Academic integrity decisions, high-stakes verification
What the Research Found
The HC3 paper identified key ChatGPT markers we detect:
Lower perplexity (more predictable) ✓
Lower vocabulary diversity ✓
Formal conjunctions ("Furthermore", "It's important to note") ✓
Organized structure with clear transitions ✓
Score Interpretation
Readability (Flesch-Kincaid Grade)
Grade | Audience |
5- | Elementary |
6-8 | Middle school |
9-12 | High school |
13+ | College |
AI Probability (ML)
Score | Interpretation |
0-30 | Likely human |
30-60 | Uncertain |
60-100 | Likely AI |
Requirements
Python 3.10+
Core: fastmcp, textstat, nltk
Optional
[ml]: torch, transformers
License
MIT
References
HC3: How Close is ChatGPT to Human Experts? - Guo et al., 2023
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
DraftCheck: flags AI-writing patterns in prose with fix hints. Deterministic linter, not a detector.
Paste a draft and see the habits that make writing read like it came from an AI model.
Find AI-isms with evidence and fingerprint a writing voice from samples. 3 of 5 free.
Scores whether a page reads as AI-generated and names the tells to fix.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceDetects AI-generated content by analyzing 24 writing patterns, provides style analysis, plagiarism check, text humanization suggestions, and offers batch detection and version comparison tools.-
- AlicenseNot gradedqualityCmaintenanceEnables AI content detection with sentence-level and paragraph-level AI probability scoring to identify and fix AI-generated text.MIT
- AlicenseAqualityCmaintenanceEnables detection and elimination of AI slop in text, providing tools to analyze writing for overused phrases, structural issues, and verbosity, and offers human writing rules tailored to context.33MIT
- 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.-