Repository avatar
AI Tools
v1.0.0
active

plagx-mcp

io.github.plagiarismcheckerx/plagx-mcp

APA/MLA citations, reference list checks, BibTeX, DOI lookup and an essay draft checker.

Documentation

Plagx Cite + Preflight MCP

Free academic writing tools by Plagiarism Checker X, for AI assistants.

Plagx Cite + Preflight MCP is a free, open-source Model Context Protocol server for citations and draft checks. Ask Claude, ChatGPT, Cursor or any MCP client to format an APA or MLA reference list, write an in-text citation, look up a DOI, find duplicate references, convert BibTeX, or preflight an essay for word count, reading time, citations missing from the reference list, punctuation and basic grammar.

  • No account, no API key, nothing stored
  • Runs on your computer; only DOI lookups go online (public Crossref API)
  • Read-only tools with MCP safety annotations
  • Built on the open-source plagx-cite and plagx-preflight libraries

Tools

ToolWhat it does
check_draftWord, sentence and paragraph counts, reading time, Flesch reading ease; in-text citations with no reference entry and references never cited; word limits and required headings; long sentences and paragraphs; unmatched quotes and brackets, spacing; repeated words, a/an, sentence capitals, common word confusions; optional passive-voice hints
format_referencesAPA 7 reference list or MLA 9 Works Cited, sorted, as text, Markdown or HTML, from CSL-JSON or BibTeX
cite_in_textParenthetical or narrative in-text citation, with page numbers
check_referencesLikely duplicates (same DOI or title), invalid DOIs, missing title, author or year; optional online DOI check
lookup_doiDOI → CSL-JSON reference plus formatted APA/MLA citation
bibtex_to_cslBibTeX → CSL-JSON
csl_to_bibtexCSL-JSON → BibTeX

Example prompts:

  • "Check my essay before I submit it. The limit is 1,500 words, APA."
  • "Turn these three DOIs into an APA reference list."
  • "Are there duplicates in this BibTeX file?"
  • "Give me the MLA in-text citation for page 42 of this book."

Install

Requires Node.js 18 or later.

Claude Desktop

Download plagx-mcp.mcpb from the latest release and open it, or add this to claude_desktop_config.json:

{
  "mcpServers": {
    "plagx": { "command": "npx", "args": ["-y", "plagx-mcp"] }
  }
}

Claude Code

claude mcp add plagx -- npx -y plagx-mcp

Cursor, Windsurf, Cline, VS Code

Use the same command and args (npx -y plagx-mcp) in the client's MCP settings. For VS Code:

code --add-mcp '{"name":"plagx","command":"npx","args":["-y","plagx-mcp"]}'

Docker

docker build -t plagx-mcp .
docker run -i --rm plagx-mcp                                   # stdio
docker run --rm -p 3000:3000 plagx-mcp --http 3000             # http://localhost:3000/mcp

Streamable HTTP

npx -y plagx-mcp --http 3000    # http://127.0.0.1:3000/mcp (set HOST=0.0.0.0 to listen on all interfaces)

The HTTP endpoint is stateless and needs no authentication. The handler in src/http.js uses web-standard Request/Response, so it also runs on Cloudflare Workers, Deno and Bun.

Privacy

Text and references are processed in memory and discarded. Only DOIs are sent, and only to Crossref and doi.org. See PRIVACY.md.

Development

npm install
npm test          # tool and HTTP tests (offline)
npm run inspect   # open the MCP Inspector
PathWhat it does
src/server.jsThe MCP server and its tools
src/http.jsStreamable HTTP handler (web-standard)
src/node-http.jsRuns the HTTP handler on Node
src/worker.js, wrangler.jsoncCloudflare Workers deployment of the hosted endpoint
src/poe.jsPoe server bot at /poe: draft report, DOI citations or BibTeX reference list from a pasted message
plugin/Claude plugin: the MCP server plus a check-academic-draft skill
bin/plagx-mcp.jsCLI: stdio by default, --http [port] for HTTP
server.jsonOfficial MCP Registry entry
manifest.jsonClaude Desktop extension (MCPB) manifest

Plagx Cite + Preflight - Free Citation & Draft Checker

An open-source writing utility for students, researchers and developers. Format references, check citations, and preflight drafts before you submit.

Developed by Plagiarism Checker X.

Plagx Cite + Preflight gives citation help and writing suggestions; it does not detect plagiarism or AI-generated text. For full document checks, explore Text Similarity Detector and its AI Content Detector.

License

MIT © Plagiarism Checker X

NPM
plagx-mcp
Install Command
npm install plagx-mcp