Skip to main content

MCP server for OCR-generated Markdown document review and diagnostics

Project description

doc-reviewer-mcp

MCP server for OCR-generated Markdown document review and diagnostics.

Features

  • ToC Alignment: Compares table of contents with actual headers using fuzzy matching
  • LaTeX Formula Validation: Detects syntax errors and OCR noise in formulas
  • Image Link Checking: Verifies referenced images exist with similar path suggestions
  • Git Integration: Checkpoint, diff, and rollback support for safe batch modifications

Installation

# Using uvx (recommended)
uvx doc-reviewer-mcp

# Using pip
pip install doc-reviewer-mcp

Usage

As MCP Server

Add to your MCP client configuration:

{
  "mcpServers": {
    "doc-reviewer": {
      "command": "uvx",
      "args": ["doc-reviewer-mcp"]
    }
  }
}

Available Tools

  • analyze_document - Comprehensive document analysis
  • analyze_toc - Table of contents alignment check
  • analyze_formulas - LaTeX formula validation
  • analyze_images - Image link verification
  • extract_headers - Extract all markdown headers
  • extract_toc - Extract ToC entries
  • git_checkpoint - Create a checkpoint before changes
  • git_diff_summary - View changes since checkpoint
  • git_rollback - Rollback to previous checkpoint
  • git_history - View commit history

Development

# Clone the repository
git clone https://github.com/yourusername/doc-reviewer-mcp.git
cd doc-reviewer-mcp

# Install dependencies
uv sync

# Run locally
uv run doc-reviewer-mcp

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

doc_reviewer_mcp-0.1.0.tar.gz (24.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

doc_reviewer_mcp-0.1.0-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

Details for the file doc_reviewer_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: doc_reviewer_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 24.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for doc_reviewer_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6f7b6055d5a7d24458531506515fdef949cf88b04fea74bc53f7a446273422c3
MD5 daa5c7e0a64225b6ffd1c43486d68cca
BLAKE2b-256 a437564f34281840fd214acd12f8c38aba28841646266259f6dc351e374f8093

See more details on using hashes here.

File details

Details for the file doc_reviewer_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: doc_reviewer_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 22.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for doc_reviewer_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a97cc517dad7be1b29b19f41e16b41a4b98e7e1d9fc0d873d23ca6816ba8d554
MD5 9c691ba74468808498e345b893eba31c
BLAKE2b-256 7c8793be9e18f5cebf6e1cdb920947237b25e4c428e0b8503c885efc98b79fcb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page