Skip to main content

Writing Editor MCP

An MCP server that helps your AI assistant edit research papers, explanations and technical documentation.

You give the assistant a draft. The server tells the assistant how to edit it, and then checks the edited version against your original. The check catches numbers, citations, links and required terms that went missing or changed.

  • No API key. Your assistant's own model does the writing.
  • Nothing leaves your machine through this server, and it stores nothing.

Install

You need uv. The command uvx writing-editor-mcp downloads and starts the server.

Codex

codex mcp add writing-editor -- uvx writing-editor-mcp

Claude Code

claude mcp add writing-editor -- uvx writing-editor-mcp

Claude Desktop, Cursor, VS Code and other apps with a JSON config

{
  "mcpServers": {
    "writing-editor": {
      "command": "uvx",
      "args": ["writing-editor-mcp"]
    }
  }
}

VS Code uses servers instead of mcpServers. If the app can't find uvx, replace "uvx" with the full path that which uvx prints.

Restart the app or start a new chat after adding the server.

Use it

Ask your assistant in plain words. For example:

Use writing-editor to revise this results paragraph for software engineering researchers. Keep "median" and "95%" exactly as written.

[paste your paragraph]

The assistant edits the paragraph and runs the check. It keeps how strongly each claim is stated, and when your draft announces parts (for example "three ways"), it keeps naming each part where its results appear. Read the result yourself before using it. The check finds mechanical problems, not changes in meaning.

When the draft is missing something, the edited text contains a note for you instead of a made-up fact:

  • [TODO: …] a missing fact or definition
  • [CITE: …] a claim that needs a citation
  • [CHECK: …] a number or claim that looks inconsistent

Tools

revise_writing

Edits a draft.

Option What it does
draft The text to edit. Required. Up to 32,000 characters.
genre research, explainer (default) or documentation.
audience Who will read it, for example "first-year PhD students".
paper_section For one part of a paper: title, abstract, introduction, related_work, method, evaluation, results, discussion, limitations, conclusion or caption. Each has its own rules. For example, results leads with the finding, and abstract becomes one paragraph with no citations.
keep_terms Words or phrases that must stay exactly as written.
samples Up to 5 examples of writing you like, up to 6,000 characters each. The edit borrows their structure, not their sentences.
target_words A length to aim for, within 10%.
source_format plain, markdown or latex. LaTeX is detected automatically.

Most assistants, including Codex and Claude, get back editing instructions (host_revision_needed) and write the new version themselves. Apps that let a server ask their model to write (called MCP sampling) get back the finished text and its check in one step.

review_revision

Compares an original and an edited version. It takes draft, revision (the edited text), and the same samples, keep_terms, target_words and source_format you gave revise_writing.

It reports:

  • numbers, units, links, citations, quotations, code and LaTeX references that changed or disappeared
  • any keep_terms that are missing
  • eight or more words copied in a row from your samples
  • word counts, and whether the text is within 10% of target_words
  • in LaTeX, a % after a number that LaTeX would treat as a comment
  • qualifier_changes: words that set how strong a claim is, such as "often", "most", "could", "only", "not" or "full", that were dropped or added. "Often" becoming "could" makes a claim weaker; adding "full" makes it stronger. Swapping "every" for "each" is not listed.
  • style notes: wording that readers of scientific text stumble over, such as "respectively", "in order to", "utilize", a non-statistical "significant", or a sentence that starts with a numeral

The status is no_mechanical_flags or review_flags. Qualifier changes and style notes never change the status, because many are fine edits, so read each one. A flagged item can be a correct edit, and a clean result doesn't prove the meaning is unchanged.

Run from a copy of the code

git clone https://github.com/subedikushal/writing-editor-mcp
codex mcp add writing-editor -- uv --directory /full/path/to/writing-editor-mcp run writing-editor-mcp

License

MIT

Metadata

Release files for writing-editor-mcp 0.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for writing-editor-mcp 0.2.5
File Size Uploaded Provenance Actions
writing_editor_mcp-0.2.5.tar.gz 14.7 kB With provenance Details for writing_editor_mcp-0.2.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for writing-editor-mcp 0.2.5
File Interpreter ABI Platform Actions
writing_editor_mcp-0.2.5-py3-none-any.whl Python 3 none any Details for writing_editor_mcp-0.2.5-py3-none-any.whl

Total release size: 31.9 kB

Release files / writing_editor_mcp-0.2.5.tar.gz

Download URL writing_editor_mcp-0.2.5.tar.gz
Size 14.7 kB
Tags Source
SHA-256 checksum
How to use checksums
67ff09d1771af84714a1e34f7092efcdc18b31a5d66a4bcdb381be54fbd1d785
BLAKE2b-256 checksum
How to use checksums
e0e2969aa915156dd7d24a1d6cdc10061936f5f5a2ae8c5996d4021e38373ec9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / writing_editor_mcp-0.2.5-py3-none-any.whl

Download URL writing_editor_mcp-0.2.5-py3-none-any.whl
Size 17.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
92a7acefef8cbfe666936c4d3539d1b01e11e27829823574e7c8e04e7ca03cf9
BLAKE2b-256 checksum
How to use checksums
193e1764bf8274f3632cfb9fa28edf3e0d475633a49ebe88f4fd86881199f942
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Security for writing-editor-mcp 0.2.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for writing_editor_mcp-0.2.5.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.5 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page