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.1.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.1-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: doc_reviewer_mcp-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 42cefcc73f8cdf184b34dc1b46fdbba08ab3b5cc91a65dfe47b212f7040eeb33
MD5 5a767669ed78c090bf058598e4499039
BLAKE2b-256 0af462f89cf0e6fba6cbfdaa3b3daa75a3073a5532ebe3018e1fea7c272503da

See more details on using hashes here.

File details

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

File metadata

  • Download URL: doc_reviewer_mcp-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 08b6388befd5c0422e9a1c5ffc919d4faafddb40b62382b6dad7ebf2df89115d
MD5 4b6c604e64b4602dfe02b1675986e037
BLAKE2b-256 36bfaac1aa11c5ae8d6723cb44b71fb05e8f7a1317a41d87bd48844ef2749763

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