doc_to_markdown
Convert images, PDFs, and Word documents to Markdown.
Turn a scan, PDF or Word file into plain text, into Markdown, or into just the fields and tables you name.
LABSCO SUMMARY
The distinction that matters is between converting a document to Markdown, which gives a model everything, and extraction, which takes a key or a table_header and returns only that — the difference between putting a page in the context window and putting a field there. If you refer to the extraction tool by name in a prompt, note that it is spelled general_information_extration.
A document-recognition server over TextIn, three tools that each take a local path: text recognition, targeted extraction, and Markdown conversion.
APP_ID and APP_SECRET for a TextIn account, with MCP_SERVER_REQUEST_TIMEOUT alongside them in the same configuration. Every tool takes a path, so the documents have to sit where the server can open them.
One command plus credentials — npx -y @intsig/server-textin, then supply credentials
USE CASES
Point recognition at the file and get its text back, for the photographed and scanned pages that copy-paste cannot touch.
Convert the document to Markdown so headings and tables survive the trip, rather than flattening the whole thing into a wall of recognised text.
Name the keys you want and the header row of the table you want, and get those values back instead of the whole document — the difference between reading an invoice and processing a stack of them.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
doc_to_markdownConvert images, PDFs, and Word documents to Markdown.
general_information_extrationAutomatically identify and extract information from documents, or identify and extract user-specified information.
recognition_textText recognition from images, Word documents, and PDF files.
BEFORE YOU INSTALL
3 tools when we connected.
CONTEXT COST
Rated by the size of the 3 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
Add the block to your client, or run the command directly.
{
"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
}
}
}In the Config file block, <YOUR_APP_ID> and <YOUR_APP_SECRET> are the APP_ID and APP_SECRET of your TextIn account — TextIn's guide explains where to find them: https://www.textin.com/doc/guide/account/%E5%A6%82%E4%BD%95%E8%8E%B7%E5%8F%96app%20id?status=first. The npx command has no block: run it with APP_ID and APP_SECRET set in your environment.
npx -y @intsig/server-textin