Skip to main content Switch to mobile version research-mcp 0.2.0 MCP server for editing Microsoft Word documents safely and citing from Zotero (Windows)
pip install research-mcp Copy PIP instructions
Needs Windows, the desktop Microsoft Word, and the Zotero desktop app.
An MCP server that lets an AI assistant (Claude, ChatGPT, Codex, Cursor, VS Code…) edit your Word documents without breaking them, and cite from your Zotero library with live Zotero citations. Every edit is checked before it is saved, keeps your formatting, and can be undone in one call.
Claude Desktop (one click)
Download research-mcp- .mcpb from the latest release.
Double-click it. Claude Desktop opens and asks to install it. Click Install.
Optional: fill in the Zotero write key (see Zotero write key).
Claude Desktop sets up Python and everything else itself.
Download research-mcp-install.cmd from the latest release and double-click it (or paste the prompt from Ask your AI to install it into the app). It installs uv if needed and runs setup.
Quit the ChatGPT app from the system tray and open it again.
Type /mcp in a chat: research is in the list.
On Windows some ChatGPT chats don't show local tools yet; if yours doesn't, use a Codex chat in the same app.
Paste this into the ChatGPT or Codex app, Claude Code, Cursor or any assistant that can run commands on your PC:
Install the research-mcp MCP server for me: follow https://github.com/Russell-Day/research-mcp/blob/main/llms-install.md Everyone else (one command)
Install uv if you don't have it (PowerShell):
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" Open a new terminal, then run:
uvx research-mcp setup Setup checks Word and Zotero, asks for an optional Zotero write key, and offers to add the server to each MCP client it finds: Claude Desktop, Claude Code, the ChatGPT app and Codex (they share one config), Cursor and VS Code. It backs up every file it changes ( .bak) and keeps your other servers. Restart the client afterwards. research-mcp-install.cmd from the latest release does the same with a double-click.
By hand, the server entry is just uvx research-mcp (stdio). For example, in a mcpServers file:
{ "mcpServers": { "research": { "command": "uvx", "args": ["research-mcp"] } } } ChatGPT on the web
The ChatGPT app runs research-mcp on your PC and needs none of this. ChatGPT on the web only reaches MCP servers on a public HTTPS address, so it has its own command. With uv installed (see above), run:
uvx research-mcp chatgpt It starts the server on your PC, opens a free Cloudflare quick tunnel to it (no account; cloudflared is downloaded once and checked against its published SHA-256), and prints a connector URL like https:// .trycloudflare.com/mcp/ , also copied to the clipboard. Then, in ChatGPT on the web with developer mode (per OpenAI, full MCP with write tools is for Business and Enterprise/Edu; Pro gets read/fetch tools only):
Settings > Apps (or Apps & Connectors) > Advanced settings: turn on Developer mode (some accounts have it under Settings > Security).
Create a connector (Create app or +): any name, paste the URL, Authentication No authentication, tick "I trust this application".
In a chat, pick it from the + menu. Tools that change a document or your library are marked as writes, so ChatGPT may ask before running them, depending on its permission settings.
The URL is the password. Anyone who has it can use the tools while the window is open. Don't share it; --new-token makes a new one (old connectors stop working).
Keep the window open while you use ChatGPT. Ctrl+C (or closing the window) stops the server and the tunnel.
The quick-tunnel address changes every start, so you paste the new URL into the connector each time. For a fixed address, run your own tunnel or reverse proxy to a fixed port and pass it: uvx research-mcp chatgpt --port 8765 --url https://research.example.com (https only: the URL holds the password).
--read-only exposes only the tools that read (inspect, audit, search Zotero; no page renders or PDF exports, since those write files): a good start. Nothing on disk or in Zotero can be changed, but the tools can still read any .docx on this PC (set RESEARCH_MCP_ROOT_DIR to limit them to one folder).
Cloudflare ends a request after about 100 seconds, so a very long tool call (rendering a big document) can fail through the tunnel; run it again or render fewer pages.
Tracked edits. Turn tracking on once per document with edit_document(track_changes=true, ...) (or the op set_track_changes). From then on text edits, new and deleted paragraphs, table rows and sections rewritten (rows added or removed included), new tables, citations deleted or inserted land as Word tracked changes by "Claude" (or the author you set), for anyone opening the file, a copy included. Document styling and table formatting are recorded with Word's own Track Changes under the same author; what Word can't track (a cell merge, page margins Word didn't record) is applied and gets a Word comment saying what changed. Bookmark cleanup can't be tracked yet: it says so and runs only with tracked: false. The older tracked_replace_text/tracked_replace_paragraph ops still work as aliases. find and anchor can be up to 5000 characters long.
Every write needs the sha256 from the last read, so it never edits a version it hasn't seen. A document open in Word is refused (save and close it first); the tools never touch the Word window you are working in. Undo history lives in %LOCALAPPDATA%\research_mcp\checkpoints.
Agent tips: skills/word-research/SKILL.md (works as a Claude skill, or paste it into your assistant's instructions).
Zotero must be running. In Zotero 7: Edit → Settings → Advanced, tick "Allow other applications on this computer to communicate with Zotero". That turns on the local API that searching and citing use (http://127.0.0.1:23119/api/).
Optional. Only add_zotero_item_by_doi and update_zotero_item need it (they write through Zotero's web API, then Zotero syncs the change to your desktop library).
Go to https://www.zotero.org/settings/keys and click Create new private key.
Tick Allow library access and Allow write access, save, and copy the key.
Note Your user ID for use in API calls on the same page.
Run uvx research-mcp setup and paste them in (or enter them in Claude Desktop's extension settings).
%APPDATA%\research-mcp\config.env, one KEY=value per line. Environment variables override it. research-mcp setup writes it for you.
Running from a git checkout
If you run the server from a git clone over HTTP under a supervisor that restarts it when it exits (a :loop in a .cmd file, a service manager), --exit-when-stale lets it pick up new commits by itself:
uv run python -m research_mcp.server --transport streamable-http --port 8000 --exit-when-stale Once a minute it checks the clone. It exits with code 75 when master has new commits that change src/, pyproject.toml or uv.lock, those files in the working tree match the commit (uncommitted work is never loaded), and no tool call has started or finished for --stale-idle-seconds (default 300). --idle-log also waits until that file (e.g. the supervisor's log) is that old. When the new commits change the Word worker's code, the worker is asked to shut down first (a busy worker postpones the exit by a minute). Each exit is appended to restarts.jsonl in %LOCALAPPDATA%\research_mcp and written as one line to stderr. The flag is ignored under stdio, and git errors or timeouts just skip that minute's check.
uvx research-mcp doctor checks Windows, Python, Word, Zotero and the write key, shows the config file, and lists which clients have the server entry (named research). It exits with code 1 when something required is missing, and prints a fix for each problem. Zotero counts as required: the tools read your library through the Zotero app, so it has to be running with its local API on.
Tools don't show up: quit the client fully (also from the system tray) and open it again.
"Zotero is not running" (doctor exits 1; setup still writes the client configs but ends with [FAIL] Zotero and exit 1): start Zotero and leave it open. No need to run setup again.
"local API is off": see Zotero settings.
A write is refused because the file is open: save and close the document in Word, then retry.
New version not picked up: uvx research-mcp@latest setup, or uv cache clean research-mcp.
Everything runs on your PC: Word, your documents and Zotero's local API. The only requests that leave it:
Zotero web API (api.zotero.org), only when you set a write key: the two tools that change your library use it, and setup and doctor check the key with one read-only call (doctor --offline skips it).
Adding a reference by DOI sends the DOI to CrossRef (api.crossref.org) for its metadata, with your ZOTERO_MCP_CONTACT_EMAIL if you set one. With that email set, it also sends the DOI and the email to Unpaywall (api.unpaywall.org) and, when Unpaywall knows an open-access PDF, downloads it from the site Unpaywall names and attaches it to the new item.
research-mcp chatgpt sends ChatGPT's tool calls and their results (document and Zotero text) through Cloudflare's tunnel to OpenAI, while it runs. The other ways to run it don't.
Tool calls are logged on your PC only, in %LOCALAPPDATA%\research_mcp\logs\mcp_traffic.jsonl (next to the undo history; change it with RESEARCH_MCP_LOG_DIR). Each line holds the tool's arguments and result, so it contains text from your documents and Zotero items. At 20 MB the log moves to mcp_traffic.1.jsonl (replacing the older one), so it never takes more than about 40 MB. report_issue notes go to ISSUES.md in the same folder. Delete the folder at any time.
Edit feedback (edit_feedback) keeps, per document, the short spans the assistant changed and what you kept, in ~/research_mcp/edit_feedback (change it with RESEARCH_MCP_FEEDBACK_DIR; never inside OneDrive): a .jsonl log and a readable .md. It is never pruned; delete the files at any time.
MIT. See LICENSE. Contributions welcome: CONTRIBUTING.md.
Author: research-mcp contributors
Both files in this release have provenance metadata.
MIT View SPDX License List
citations claude docx mcp microsoft-word zotero
Development Status 4 - Beta
Intended Audience Science/Research
Operating System Microsoft :: Windows
Programming Language Python :: 3
Topic Office/Business :: Office Suites
Release files for research-mcp 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 1.5 MB
Release files / research_mcp-0.2.0.tar.gz
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 verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.
Release files / research_mcp-0.2.0-py3-none-any.whl
Security for research-mcp 0.2.0
Both files in this release have been uploaded with provenance metadata.
With provenance research_mcp-0.2.0.tar.gz Nov 18, 2026
With provenance research_mcp-0.2.0-py3-none-any.whl Nov 18, 2026
Attestation for research_mcp-0.2.0.tar.gz
Attestation for research_mcp-0.2.0-py3-none-any.whl
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
Nov 18, 2026 2 release files Full provenance
Nov 8, 2026 2 release files Full provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




