Docpick MCP

Docpick extracts structured JSON from documents and exposes OCR, schema discovery and extraction through a local MCP server.

Local serverstdioPythonApache-2.0

What is the Docpick MCP Server?

Docpick extracts structured JSON from documents and exposes OCR, schema discovery and extraction through a local MCP server.

Extract fields from a document

Docpick combines OCR with schema-driven extraction. Its built-in schemas cover invoices, receipts, purchase orders, bank statements and other document types. Use list_schemas to inspect the available fields before selecting a schema. Extraction returns structured data, while the OCR-only tool returns recognized text and supporting recognition information.

Install the MCP extra

The Python package requires Python 3.11 or later. MCP support is an optional dependency: install docpick[mcp] before running docpick-mcp over stdio. OCR backends and the OpenAI-compatible model endpoint have their own configuration. A local model endpoint can be used, while a hosted endpoint may require its provider's credentials. Installing the MCP extra alone does not install every OCR engine.

Compare output with the original

Start with a short sample invoice whose values you can verify. Compare extracted totals, dates and line items with the source image or PDF. If a field is absent or poorly recognized, inspect the OCR text before changing the extraction prompt. Keep the source document available when reviewing a structured result, especially when totals or identifiers feed another system.

Project documentation

Repository and setup guide

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
extract_documentExtract document data using a selected schema.
ocr_documentRecognize document text without structured LLM extraction.
list_schemasList built-in schemas and fields.

How to install the Docpick MCP Server

{
  "mcpServers": {
    "docpick": {
      "command": "docpick-mcp",
      "args": []
    }
  }
}

Configuration

Python 3.11 or later, docpick[mcp], a configured OCR backend and a compatible model endpoint for structured extraction.

Frequently asked questions

Yes. ocr_document exposes recognized text separately from the schema-driven extract_document tool.