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

Uploaded Python 3

File details

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

File metadata

  • Download URL: doc_reviewer_mcp-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 44adde78945f626a8f8775b6d37a5280557dfe9f9acb0b7c7218aa00b386bc0b
MD5 3c750ee15283717324ad685b7cf696bb
BLAKE2b-256 344d9dd66581ba3f2bb39d7c6ade29ba6fb83871976ee2ce3776a260a92ca27a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: doc_reviewer_mcp-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 22.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e06e7463895762a2312422c0fdc3fe51040d9558cc75e01e498cfca6586ca627
MD5 7766b7c3c6e059956c7f73e4c234bd95
BLAKE2b-256 d6225e229b574066458178698313e651b5df62b5612bea65cc26fbb99bc79db8

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