StructOCR for LangChain
io.github.dracula911/structocr-mcp
Structured OCR & ID verification MCP: driver license PDF417 verify, PDF tables, 22 endpoints.
client:LangChain
transport:stdio
runtime:npm
Install StructOCR in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"structocr-mcp": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "structocr-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs