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
- 01Text recognition for images, Word and PDF
- 02Document conversion to Markdown
- 03ID and invoice recognition
- 04Accepts local file paths or HTTP/HTTPS URLs
Use cases
- 01Converting scanned documents or PDFs to Markdown for LLM input
- 02Extracting key fields and tables from invoices
- 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.
npx -y @intsig/server-textinAPP_IDAPP_SECRETSecretMCP_SERVER_REQUEST_TIMEOUTLocal servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
3Saved tool list · updated 2w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| path | string | Yes | Read the complete contents of a file from the file system. |
Details
From the project READMETextIn OCR MCP
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 pathora URL (HTTP/HTTPS) pointing to a document
- Return: Text of the document.
- Supports conversion for:
- Image (Jpeg, Jpg, Png, Bmp)
-
doc_to_markdown- Convert images, PDFs, and Word documents to Markdown.
- Inputs:
path(string, required):file pathora URL (HTTP/HTTPS) pointing to a document
- Return: Markdown of the document.
- Supports conversion for:
- 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 pathora URL (HTTP/HTTPS) pointing to a documentkey(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:
- 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
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.