mcpField
T
TextIn OCR MCP

TextIn OCR MCP

Local
github.com/intsig-textinMedia & Design29Updated 72w ago

About TextIn OCR MCP

TextIn OCR MCP is the official MCP server from TextIn.com for extracting text from documents and images. It converts files to Markdown and also handles ID and invoice recognition.

Key features

  1. 01Text recognition for images, Word and PDF
  2. 02Document conversion to Markdown
  3. 03ID and invoice recognition
  4. 04Accepts local file paths or HTTP/HTTPS URLs

Use cases

  1. 01Converting scanned documents or PDFs to Markdown for LLM input
  2. 02Extracting key fields and tables from invoices
  3. 03Pulling text out of images and office files

MCP support

This is an MCP server that exposes the recognition_text, doc_to_markdown and general_information_extration tools to MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"textin": {
"command": "npx",
"args": [
"-y",
"@intsig/server-textin"
],
"env": {
"APP_ID": "<APP_ID>",
"APP_SECRET": "<APP_SECRET>",
"MCP_SERVER_REQUEST_TIMEOUT": "<MCP_SERVER_REQUEST_TIMEOUT>"
}
}
}
}
Run commandnpx -y @intsig/server-textin
Environment variables to set
APP_ID
APP_SECRETSecret
MCP_SERVER_REQUEST_TIMEOUT

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@intsig/server-textin

Tools

3

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
pathstringYesRead the complete contents of a file from the file system.

Details

From the project README

TextIn OCR MCP

TextIn

English | 中文

TextIn OCR MCP Server

TextIn MCP Server is a tool for extracting text and performing OCR on documents, including document text recognition, ID recognition, and invoice recognition. It also supports converting documents into Markdown format.

Tools
  • recognition_text

    • Text recognition from images, Word documents, and PDF files.
    • Inputs:
      • path (string, required): file path or a URL (HTTP/HTTPS) pointing to a document
    • Return: Text of the document.
    • Supports conversion for:
      • PDF
      • Image (Jpeg, Jpg, Png, Bmp)
  • doc_to_markdown

    • Convert images, PDFs, and Word documents to Markdown.
    • Inputs:
      • path (string, required): file path or a URL (HTTP/HTTPS) pointing to a document
    • Return: Markdown of the document.
    • Supports conversion for:
      • PDF
      • Microsoft Office Documents (Word, Excel)
      • Image (Jpeg, Jpg, Png, Bmp)
  • general_information_extration

    • Automatically identify and extract information from documents, or identify and extract user-specified information.
    • Inputs:
      • path (string, required): file path or a URL (HTTP/HTTPS) pointing to a document
      • key (string[], optional): The non-tabular text information that the user wants to identify, input format is an array of strings.
      • table_header (string[], optional): The table information that the user wants to identify, input format is an array of strings.
    • Return: The key information JSON.
    • Supports conversion for:
      • PDF
      • Microsoft Office Documents (Word, Excel)
      • Image (Jpeg, Jpg, Png, Bmp)

When the input is a URL, it does not support handling access to protected resources.

Setup

APP_ID and APP_SECRET

Click here to register for a TextIn account.

Get Textin APP_ID and APP_SECRET by following the instructions here.

NPX
{
  "mcpServers": {
    "textin-ocr": {
      "command": "npx",
      "args": [
        "-y",
        "@intsig/server-textin"
      ],
      "env": {
        "APP_ID": "<YOUR_APP_ID>",
        "APP_SECRET": "<YOUR_APP_SECRET>",
        "MCP_SERVER_REQUEST_TIMEOUT": "600000"
      },
      "timeout": 600
    }
  }
}

License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.