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.0.tar.gz (25.3 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.0-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: doc_reviewer_mcp-0.2.0.tar.gz
  • Upload date:
  • Size: 25.3 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.0.tar.gz
Algorithm Hash digest
SHA256 93fff698fad6f55c83a4b9f731e64389d3448a68111d8482ddc540114878e2a3
MD5 83eb68f88d124936bf0e70aa7ee5fc2f
BLAKE2b-256 a1a83be03ff2c24ee163f003075dc2d9422e4f24bf5393caf15808425f648078

See more details on using hashes here.

File details

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

File metadata

  • Download URL: doc_reviewer_mcp-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 23.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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 658ade2daafe1e4a93c76ab95a3338825cceb17b553522c617e261336cc06e44
MD5 2a33718d22a52ea8ab911de0b12e904d
BLAKE2b-256 c72fd52f8169a447e2e0b36d2e758b4b251681832338f537354b903ed96c33a2

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