Open-Detector MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPEN_DETECTOR_MODEL | No | Alternative 2-class Hugging Face text-classification model. | followsci/bert-ai-text-detector |
| OPEN_DETECTOR_DEVICE | No | Device selection: auto, cpu, cuda, or mps. | auto |
| OPEN_DETECTOR_READY_TIMEOUT | No | Seconds a tool waits for the startup model download. | 900 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Open-Detector scores English academic text for AI-like style, paragraph by paragraph.
Reliable unit: the paragraph. Single-sentence scores are noisy; only use detail="windows" to locate candidate spans inside a paragraph that is already flagged, and re-score the whole paragraph after editing.
Humanizing workflow:
get_model_status - first run downloads ~440 MB. Pass warmup=true to load the model before the first scoring call.
detect_ai_file(path) or detect_ai_text(text) - overall ai_pct and per-paragraph scores. Paragraph indices are stable for the same input.
get_rewrite_plan(path=... or text=...) - ranked paragraphs with full text and concrete style issues. Rewrite structure and specificity, not just synonyms; light paraphrases do not move the score.
Preserve claims, numbers, citations and section structure. Never invent evidence.
compare_texts(original, rewrite) or compare_files(before_path, after_path) - the delta tells you whether the rewrite helped. Repeat until every paragraph is below 50% AI, ideally below 20%.
References are excluded by default (exclude_references=true). Scores are stylistic evidence, not proof of misconduct.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_model_statusA | Check whether the detector is cached, downloading, or loaded. Returns instantly unless warmup=true. Call this before the first detection so you can warn the user about the one-time ~440 MB Hugging Face download. Set warmup=true to load the model into memory before scoring (adds a few seconds, avoids a slow first detection). |
| detect_ai_textA | Score a string of academic text for AI-like style, paragraph by paragraph. Args: text: The text to analyse. detail: 'paragraph' (default, reliable) or 'windows' (adds weak 3-sentence candidate spans inside flagged paragraphs; doubles cost). include_text: Include each paragraph's full text in the response. Off by default to keep context small. exclude_references: Drop everything after a References/Bibliography heading (default true; reference lists skew the average). Returns overall ai_pct (0-100, higher = more AI-like), verdict, paragraph bands, per-paragraph scores with stable indices, and deterministic style flags. |
| detect_ai_fileA | Score a local paper (.txt, .md, .tex, .docx, .pdf) without loading it into context. Args: path: Path to the file (~ is expanded). detail: 'paragraph' (default) or 'windows'. include_text: Include each paragraph's full text (large; usually use get_rewrite_plan or read_paragraphs instead). exclude_references: Drop the bibliography (default true). DOCX body paragraphs and PDF page text are extracted; DOCX tables are skipped. Same response shape as detect_ai_text, plus source metadata. |
| get_rewrite_planA | Rank the paragraphs most worth rewriting and explain what to change. Pass exactly one of 'path' or 'text'. Returns the overall score plus targets sorted by ai_pct, each with full paragraph text, deterministic style issues (uniform sentence length, stock transitions, buzzwords, em dashes, etc.) and concrete hints. This is the best tool to start a humanization pass. Args: path: Paper file (.txt/.md/.tex/.docx/.pdf). text: Text to analyse instead of a file. top_n: Maximum number of targets to return (default 5). min_ai_pct: Only include paragraphs at or above this score (default 50). include_text: Include each target's full text (default true). exclude_references: Drop the bibliography (default true). |
| read_paragraphsA | Fetch exact paragraph text by index (for rewriting without loading the whole paper). Indices come from detect_ai_file / get_rewrite_plan and are stable for the same file and exclude_references setting. Request at most 50 at a time. |
| compare_textsA | Score two versions of a text and report the before/after delta. Paragraphs are paired by index, so use it for paragraph-level rewrites or in-place edits that preserve paragraph boundaries. Negative delta_ai_pct is an improvement. Also returns per-paragraph deltas and improved/regressed counts. |
| compare_filesB | Compare two versions of a paper on disk (e.g. original.docx vs revised.docx). Same response as compare_texts. Paragraph counts should match for index pairing to be meaningful; the response warns when they differ. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| humanize_paper | Guided workflow for lowering a paper's detected AI score without changing its claims. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| guide | Scoring semantics, thresholds, and the humanization loop. |
TDQS
Scored across 7 tools
Each tool has a clearly stated role, and descriptions explicitly differentiate the text-vs-file pairs (detect_ai_text/detect_ai_file, compare_texts/compare_files). The only mild overlap is that get_rewrite_plan accepts either path or text, so it partially duplicates the detection tools' input surface, but its output purpose (ranked rewrite targets) is distinct.
All seven tools follow a consistent snake_case verb_noun pattern (get_model_status, detect_ai_text, detect_ai_file, get_rewrite_plan, read_paragraphs, compare_texts, compare_files). The verb choice is meaningful and predictable: get/read for retrieval, detect for scoring, compare for deltas.
Seven tools is well within the ideal 3-15 range and every tool earns its place: status check, two entry points for scoring, a planning tool, a targeted paragraph reader, and two comparison variants. No redundant or filler tools.
The surface covers the full workflow: warmup/status, scoring (text and file), rewrite planning, targeted paragraph retrieval, and before/after comparison, with paragraph indices linking tools together. Minor gaps exist around configuration (thresholds, model choice) and explicit model unload/reset, but agents can work around these.