file-systemsai-ml

Lizeur (PDF OCR)

silverbzh

by silverbzh

Easily convert PDF content into clean markdown text with Lizeur’s OCR text recognition, using Mistral AI’s smart OCR and

Extracts and converts PDF content to clean markdown text using Mistral AI's OCR service with intelligent caching to avoid re-processing documents.

github stars

1

0 commentsdiscussion

Both formats append explainx.ai attribution and the canonical URL for this MCP server listing.

Intelligent caching systemUses Mistral AI's OCR modelClean markdown output

best for

  • / AI assistants working with document analysis
  • / Processing scanned PDFs or image-based documents
  • / Converting PDFs for AI model consumption

capabilities

  • / Extract text from PDF documents using OCR
  • / Convert PDF content to markdown format
  • / Cache processed documents automatically
  • / Process scanned or image-based PDFs

what it does

Extracts text content from PDF files and converts it to clean markdown format using Mistral AI's OCR service. Features intelligent caching to avoid reprocessing the same documents.

about

Lizeur (PDF OCR) is a community-built MCP server published by silverbzh that provides AI assistants with tools and capabilities via the Model Context Protocol. Easily convert PDF content into clean markdown text with Lizeur’s OCR text recognition, using Mistral AI’s smart OCR and It is categorized under file systems, ai ml.

how to install

You can install Lizeur (PDF OCR) in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

license

MIT

Lizeur (PDF OCR) is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

readme

Lizeur - PDF Content Extraction MCP Server

Lizeur is a Model Context Protocol (MCP) server that enables AI assistants to extract and read content from PDF documents using Mistral AI's OCR capabilities. It provides a simple interface for converting PDF files to markdown text that can be easily consumed by AI models.

<a href="https://glama.ai/mcp/servers/@SilverBzH/lizeur"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@SilverBzH/lizeur/badge" alt="Lizeur MCP server" /> </a>

Features

  • PDF OCR Processing: Uses Mistral AI's latest OCR model to extract text from PDF documents
  • Intelligent Caching: Automatically caches processed documents to avoid re-processing
  • Markdown Output: Returns clean markdown text for easy integration with AI workflows
  • FastMCP Integration: Built with FastMCP for optimal performance and ease of use

Prerequisites

  • Python 3.10
  • UV package manager
  • Mistral AI API key

Installation

From pypi

pip install lizeur

And add the following configuration to your mcp.json file:

Note: Lizeur will be installed in the python3.10 folder. If this folder is not in your system PATH, your IDE may not be able to detect the lizeur binary.

Solution: You can add the full path to the lizeur binary in the command field to ensure your IDE can locate it.

{
  "mcpServers": {
    "lizeur": {
      "command": "lizeur",
      "env": {
        "MISTRAL_API_KEY": "your-mistral-api-key-here",
        "CACHE_PATH": "your cache path",
      }
    }
  }
}

Manual

1. Clone the Repository

git clone https://github.com/SilverBzH/lizeur
cd lizeur

2. Create and Activate Virtual Environment

# Create a virtual environment
uv venv --python 3.10

# Activate the virtual environment
# On macOS/Linux:
source .venv/bin/activate

# On Windows:
# .venv\Scripts\activate

3. Install Dependencies and Build

# Install dependencies
uv sync

# Build the package
uv build

4. Install System-Wide

# Install the package system-wide
uv pip install --system .

This will install the lizeur command globally on your system.

Usage

Once configured, the MCP server provides two tools that can be used by AI assistants:

Available Functions

read_pdf

  • Function: read_pdf
  • Parameter: absolute_path (string) - The absolute path to the PDF file
  • Returns: Complete OCR response including all pages with markdown content, bounding boxes, and other OCR metadata

read_pdf_text

  • Function: read_pdf_text
  • Parameter: absolute_path (string) - The absolute path to the PDF file
  • Returns: Markdown text content from all pages without the full OCR metadata (simpler for agents to process)

Example Usage in AI Assistant

The AI assistant can now use the tools like this:

What the OP command looks like for this specific controller, here is the doc /path/to/document.pdf

The MCP server will:

  1. Check if the document is already cached
  2. If not cached, upload the PDF to Mistral AI for OCR processing This will use your MISTRAL API key and cost money
  3. Extract the text and convert it to markdown
  4. Cache the result for future use
  5. Return the markdown content

Note: Use read_pdf_text when you only need the text content, or read_pdf when you need the complete OCR response with metadata. read_pdf can be confusion for some agent if the pdf file is big.

Development

Local Development Setup

# Install in development mode
uv pip install -e .

# Run the server directly
python main.py

Project Structure

  • main.py - Main server implementation with FastMCP integration
  • pyproject.toml - Project configuration and dependencies
  • uv.lock - Locked dependency versions

Dependencies

  • mcp[cli]>=1.12.4 - Model Context Protocol implementation
  • mistralai>=0.0.10 - Mistral AI Python client

License

This project is licensed under the MIT License.

Support

For issues and questions, please refer to the project repository or contact the maintainers.

FAQ

What is the Lizeur (PDF OCR) MCP server?
Lizeur (PDF OCR) is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
How do MCP servers relate to agent skills?
Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
How are reviews shown for Lizeur (PDF OCR)?
This profile displays 50 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.6 out of 5—verify behavior in your own environment before production use.

Use Cases

Code & Document Analysis

Read, analyze, and understand files in your project

Example

Summarize README, analyze code structure, find TODO comments across codebase

Navigate large codebases 5x faster, understand projects quickly

Automated File Operations

Create, move, rename, and organize files based on natural language instructions

Example

Organize downloads by file type, rename files following convention, batch process images

Save hours on manual file organization

Content Search & Extraction

Search files for patterns, extract data, find information across directories

Example

Find all config files with API keys, extract emails from documents, search logs for errors

Find information instantly instead of manual grep/find

File Generation & Templates

Generate boilerplate files, apply templates, create project structures

Example

Create React component with tests and styles, generate OpenAPI spec, scaffold new project

Eliminate repetitive file creation work

Implementation Guide

Prerequisites

  • Claude Desktop or Cursor with MCP support
  • File system permissions for directories you want to access
  • Understanding of file paths and directory structure
  • Backup of important files before bulk operations

Time Estimate

10-20 minutes including configuration

Installation Steps

  1. 1.Install filesystem MCP server (often built-in with Claude Desktop)
  2. 2.Configure allowed directories in MCP config for security
  3. 3.Test read: 'Show me contents of ~/Documents/test.txt'
  4. 4.Test write: 'Create a new file notes.md in current directory'
  5. 5.Test search: 'Find all .js files containing TODO'
  6. 6.Test batch operations: 'Rename all .jpeg files to .jpg'
  7. 7.Verify file permissions and access controls

Troubleshooting

  • Permission denied: Check file/directory permissions, run with appropriate user
  • Path not found: Verify path is absolute or relative to working directory
  • MCP server can't access directory: Add to allowed directories in config
  • File already exists: Use overwrite flag or check before writing
  • Operation failed: Check disk space, file locks, antivirus interference

Best Practices

✓ Do

  • +Configure allowed directories explicitly—don't grant full filesystem access
  • +Back up important files before bulk operations
  • +Use dry-run mode for risky operations when available
  • +Validate file paths before operations
  • +Set appropriate file permissions on created files
  • +Log file operations for audit trail
  • +Test operations on sample files first

✗ Don't

  • Don't grant MCP access to system directories (/etc, /System)
  • Don't allow write access to production config files
  • Don't skip backup before bulk delete/move operations
  • Don't use for sensitive files (passwords, keys) without encryption
  • Don't ignore file permission errors—investigate root cause
  • Don't expose personal documents without considering privacy

💡 Pro Tips

  • Use .gitignore patterns to exclude sensitive files from AI access
  • Create sandboxed working directory for file experiments
  • Combine with version control (git) for easy rollback
  • Use file watching for real-time monitoring and reactions
  • Create templates for common file generation tasks
  • Leverage file metadata (timestamps, size) for smart organization

Technical Details

Architecture

MCP server provides file I/O operations (read, write, search, metadata) as tools Claude can invoke with natural language instructions.

Protocols

  • Local file system API
  • Glob patterns for search
  • File streams for large files

Compatibility

  • macOS
  • Linux
  • Windows
  • Local files only (no remote filesystems by default)

When to Use This

✓ Use When

Use for code analysis, file organization, content search, template generation, and automating repetitive file operations. Best for local development workflows.

✗ Avoid When

Avoid for system-critical files, sensitive credentials, production environments, or when file integrity is paramount. Don't use on files you can't afford to lose.

Integration

  • Combine with git for version-controlled file operations
  • Integrate with code editors for seamless workflow
  • Use with backup tools for safety net
  • Pair with file watchers for automated reactions

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.

List & Promote Your MCP Server

Share your MCP server with the developer community

GET_STARTED →
MCP server reviews

Ratings

4.650 reviews
  • Sakura Harris· Dec 28, 2024

    Lizeur (PDF OCR) is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.

  • Omar Robinson· Dec 28, 2024

    Lizeur (PDF OCR) reduced integration guesswork — categories and install configs on the listing matched the upstream repo.

  • Liam Zhang· Dec 24, 2024

    I recommend Lizeur (PDF OCR) for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.

  • Aanya Abbas· Dec 16, 2024

    Strong directory entry: Lizeur (PDF OCR) surfaces stars and publisher context so we could sanity-check maintenance before adopting.

  • Kofi Reddy· Nov 23, 2024

    I recommend Lizeur (PDF OCR) for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.

  • Sakura Anderson· Nov 19, 2024

    Lizeur (PDF OCR) reduced integration guesswork — categories and install configs on the listing matched the upstream repo.

  • Soo Garcia· Nov 19, 2024

    Lizeur (PDF OCR) is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.

  • Neel Liu· Nov 3, 2024

    Strong directory entry: Lizeur (PDF OCR) surfaces stars and publisher context so we could sanity-check maintenance before adopting.

  • Neel Farah· Oct 22, 2024

    I recommend Lizeur (PDF OCR) for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.

  • Liam Liu· Oct 14, 2024

    Strong directory entry: Lizeur (PDF OCR) surfaces stars and publisher context so we could sanity-check maintenance before adopting.

showing 1-10 of 50

1 / 5