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.2.1.tar.gz (26.4 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.2.1-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: doc_reviewer_mcp-0.2.1.tar.gz
  • Upload date:
  • Size: 26.4 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.2.1.tar.gz
Algorithm Hash digest
SHA256 8d48f048396460b82973ef57824b6b521a1078d0a35e909957e61373013df272
MD5 417421c0c5a32337be35677003992293
BLAKE2b-256 e2e270058c6cf5925016adb0fea9a047c59cb814d524e4c54315d77b447e526e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: doc_reviewer_mcp-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 24.5 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.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 76cb9dc26c2fd76e43a4444469550ddc650c84c93bf09cfd7a45ce03faa280e2
MD5 2265014efc647e5bc29717bcc0726e5d
BLAKE2b-256 560c016ec493f87770ce750886f22e04fa627d8b8d2682315125e5201dab8be0

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