Q1-Reviewer-MCP
An MCP server that simulates a ruthless Q1 journal reviewer to analyze academic manuscripts for red flags and generate a formatted .docx decision letter.
README
<p align="center"> <img src="logo-q1-reviewer-mcp.png" alt="Q1-Reviewer-MCP Logo" width="200"/> </p>
<h1 align="center">Q1-Reviewer-MCP</h1>
<p align="center"> <em>"Get rejected by us before you get rejected by them."</em> </p>
<p align="center"> <a href="https://pypi.org/project/q1-reviewer-mcp/"><img src="https://img.shields.io/pypi/v/q1-reviewer-mcp?style=for-the-badge&color=1F3864&label=PyPI" alt="PyPI Version"></a> <a href="https://python.org"><img src="https://img.shields.io/pypi/pyversions/q1-reviewer-mcp?style=for-the-badge&color=375623" alt="Python"></a> <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-red.svg?style=for-the-badge" alt="License"></a> <a href="https://modelcontextprotocol.io"><img src="https://img.shields.io/badge/MCP-Compatible-blue?style=for-the-badge&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0id2hpdGUiIGQ9Ik0xMiAyQzYuNDggMiAyIDYuNDggMiAxMnM0LjQ4IDEwIDEwIDEwIDEwLTQuNDggMTAtMTBTMTcuNTIgMiAxMiAyem0tMiAxNWwtNS01IDEuNDEtMS40MUwxMCAxNC4xN2w3LjU5LTcuNTlMMTkgOGwtOSA5eiIvPjwvc3ZnPg==" alt="MCP"></a> </p>
<p align="center"> <strong>An AI-powered MCP server that simulates a ruthless Q1 journal Reviewer #2 β so your manuscript gets torn apart before it ever reaches the real one.</strong> </p>
π― What Is This?
Q1-Reviewer-MCP is a Model Context Protocol (MCP) server that turns Claude into a merciless academic peer reviewer. It reads your .docx manuscript, applies a battle-tested Q1 Red Flag Matrix, and produces a professionally formatted .docx decision letter β complete with color-coded severity ratings.
Think of it as having a permanently angry Reviewer #2 living inside your AI assistant, catching the exact issues that get manuscripts rejected from Nature, Cell, Plant Physiology, and other Q1 journals.
The Problem It Solves
Academic authors routinely receive "Major Revision" or "Reject" decisions due to preventable issues:
- π΄ Overclaiming in the Discussion ("We proved that...")
- π΄ Causal language without mechanistic evidence
- π Weak knowledge-gap framing in the Introduction
- π Insufficient biological replicates (n < 3)
- π‘ Missing statistical test justification
- π‘ No limitations paragraph
These issues are invisible to the author but predictable to an experienced reviewer. Q1-Reviewer catches them before submission.
β¨ Features
<table> <tr> <td width="50%">
π¬ Q1 Red Flag Matrix
Embedded review criteria covering:
- Overclaiming detection β flags "prove", "perfectly", "definitively" in biological contexts
- Causal language audit β catches "X causes Y" when only correlation data exists
- Introduction analysis β detects missing knowledge gap statements
- Methodology audit β flags n<3 replicates, missing normality tests, absent controls
- Discussion audit β catches new data, excessive speculation, missing limitations
- Results verification β ensures claims reference figures/tables
</td> <td width="50%">
π Professional Output
Decision letters that look like real journal reviews:
- Color-coded severity β π΄ Critical (red), π Major (orange), π’ Positive (green)
- Structured format β Editor Decision β Concerns β Revisions β Strengths
- Times New Roman, justified β academic standard formatting
- Issue-level guidance β THE FLAW β THE Q1 STANDARD β THE DIRECTION
- Saved as
.docxβ ready to share with co-authors
</td> </tr> <tr> <td>
π§ 3-Tier Section Detection
Handles any manuscript format:
- Tier 1: Word Heading styles (most reliable)
- Tier 2: Bold/uppercase keyword matching (no styles? no problem)
- Tier 3: Full-text fallback (unstructured? we'll still review it)
</td> <td>
π Smart Language Detection
Designed for scientific manuscripts:
- Multi-section sampling for accuracy
- Filters Latin taxonomic names (Arabidopsis thaliana, E. coli)
- Won't mistake in vitro or et al. for non-English text
</td> </tr> </table>
ποΈ Architecture
Q1-Reviewer-MCP follows the Tool-as-Data-Fetcher pattern β the MCP server is purely a filesystem operator. All analytical intelligence lives in the host LLM (Claude), guided by the Q1 Red Flag Matrix embedded in tool descriptions.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β HOST LLM (Claude) β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β Q1 Red Flag Matrix β β
β β (Embedded in tool descriptions β auto-injected) β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β Reasons, analyzes, generates critique β
ββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββ
β MCP Protocol (stdio)
ββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββ
β Q1-Reviewer-MCP Server (Python) β
β ββββββββββββββββββββ βββββββββββββββββββββββββββββββββ β
β β parse_manuscript_ β β generate_docx_report() β β
β β sections() β β Writes formatted .docx β β
β β Reads .docx β β decision letter to disk β β
β ββββββββββββββββββββ βββββββββββββββββββββββββββββββββ β
β β
β π manuscript_v1.docx β π Q1_Review_Report.docx β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Why this design?
- π§ All intelligence upgrades automatically β when Claude improves, reviews improve
- π° Zero server-side LLM costs β no API calls from the server
- π§ͺ Easy to test β server only does file I/O
- π Secure β no ports, no HTTP, no authentication (stdio only)
π¦ Installation
Prerequisites
- Python 3.10+
- Claude Desktop or Cursor (any MCP-compatible host)
Install from PyPI
pip install q1-reviewer-mcp
Install from Source
git clone https://github.com/ZaEyAsa/Q1-reviewer-mcp.git
cd Q1-reviewer-mcp
pip install -e .
βοΈ Configuration
Claude Desktop
Add to your Claude Desktop config file:
- Windows:
%APPDATA%\Claude\claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"q1-reviewer": {
"command": "python",
"args": ["-m", "q1_reviewer.server"]
}
}
}
Note: If
pythonisn't in your PATH, use the full path (e.g.,"C:\\Python313\\python.exe"on Windows).
Cursor
Add the same configuration in Cursor Settings β MCP Servers.
Verify Installation
After restarting Claude Desktop, you should see three tools available:
parse_manuscript_sectionsβ reads your manuscriptgenerate_docx_reportβ writes the review reportcompare_revisionsβ compares V1 review with V2 manuscript (Phase 3)
π Usage
Quick Start
- Open Claude Desktop
- Provide your manuscript path:
Please review my manuscript at:
C:/Users/me/Desktop/my_paper_v1.docx
Save the review report to the same directory.
- Claude will:
- π Read and parse your manuscript sections
- π¬ Apply the Q1 Red Flag Matrix
- π Generate a detailed critique
- πΎ Save a formatted
.docxdecision letter
What You'll Get
A professional .docx report containing:
| Section | Description |
|---|---|
| Editor Decision | Overall verdict (Accept / Minor Revision / Major Revision / Reject) |
| Critical Concerns | π΄ Issues that would likely cause immediate rejection |
| Major Concerns | π Significant issues requiring substantial revision |
| Minor Concerns | Issues that should be addressed but aren't dealbreakers |
| Recommended Revisions | Numbered action items for the author |
| Positive Aspects | π’ Strengths of the manuscript (yes, we're fair too) |
Example Output
Each issue follows the structured format:
issue_1: Pervasive Overclaiming
THE FLAW: The manuscript uses "proved" and "definitively demonstrated" in the Discussion, which are absolute claims inappropriate for biological research.
THE Q1 STANDARD: Q1 journals expect hedged language that reflects the inherent uncertainty of experimental biology. Only mathematical proofs allow "prove."
THE DIRECTION: Replace absolute claims with "suggest", "indicate", or "support the hypothesis that."
π Q1 Red Flag Matrix
The review engine applies these rule categories:
<details> <summary><strong>π΄ Overclaiming Rules</strong> (click to expand)</summary>
- Flags absolute language: "prove", "perfect", "completely", "definitively", "undoubtedly"
- Context-aware: accepts in mathematical/structural biology proofs
- Flags causal language ("X causes Y") when only correlation data is presented
- Suggests appropriate alternatives: "indicate", "suggest", "demonstrate" </details>
<details> <summary><strong>π Introduction Audit Rules</strong></summary>
- Detects missing knowledge gap statements
- Flags overpromising scope (claims vs. actual methodology)
- Checks for the critical sentence: "However, [specific gap] remains unknown" </details>
<details> <summary><strong>π¬ Methodology Audit Rules</strong></summary>
- Statistical test justification required
- Normality test reference for parametric tests
- Biological replicates: n β₯ 3 or power analysis
- Negative controls in functional assays
- Units on all numerical measurements </details>
<details> <summary><strong>π¬ Discussion Audit Rules</strong></summary>
- New data in Discussion (must appear in Results first)
- Speculation depth limit (max 2 inferential steps)
- Mandatory limitations paragraph
- Data-claim alignment check </details>
π Project Structure
q1-reviewer-mcp/
βββ src/q1_reviewer/
β βββ server.py # MCP server entry point
β βββ tools/
β β βββ parse.py # π parse_manuscript_sections()
β β βββ report.py # π generate_docx_report()
β β βββ compare.py # π compare_revisions() [Phase 3]
β βββ formatting/
β β βββ docx_builder.py # .docx formatting engine
β βββ utils/
β βββ section_splitter.py # 3-tier section detection
β βββ lang_check.py # Language detection
βββ tests/
β βββ test_parse.py # 34 unit tests
β βββ test_report.py # 15 unit tests
β βββ test_e2e.py # End-to-end pipeline test
β βββ fixtures/ # Test manuscripts
βββ config/
β βββ claude_desktop_config.json # Example config
βββ logo-q1-reviewer-mcp.png # Project logo
βββ pyproject.toml
βββ requirements.txt
βββ LICENSE
βββ CHANGELOG.md
π§ͺ Testing
# Run all tests (49 tests)
python -m pytest tests/ -v
# Run specific modules
python -m pytest tests/test_parse.py -v # Section parsing tests
python -m pytest tests/test_report.py -v # Report generation tests
# Run end-to-end pipeline test
python tests/test_e2e.py
πΊοΈ Roadmap
| Phase | Name | Status | Description |
|---|---|---|---|
| 1 | The Overclaim Detector | β Complete | MVP: parse .docx, apply Red Flag Matrix, generate .docx report |
| 2 | The Full Reviewer | π Planned | Full-section analysis (Intro, Methods, Results) with per-issue severity scoring |
| 3 | The Editor | π Designed | V1βV2 revision comparison with LLM-as-a-Judge scoring |
π§ Tech Stack
| Component | Technology |
|---|---|
| Language | Python 3.10+ |
| MCP Framework | Official MCP Python SDK (FastMCP) |
| Document I/O | python-docx |
| Language Detection | langdetect |
| Transport | stdio |
| Host Client | Claude Desktop / Cursor |
π€ Contributing
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Run the tests (
python -m pytest tests/ -v) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
π License
This project is licensed under the MIT License β see the LICENSE file for details.
π€ Author
ZaEyAsa β GitHub
π Related Projects
- Q1-Crafter-MCP β AI-powered academic writing assistant (the writing companion to Q1-Reviewer)
<p align="center"> <em>Because every manuscript deserves a Reviewer #2 before it meets the real one.</em> </p>
<p align="center"> <sub>Built with β€οΈ for the academic community</sub> </p>
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.