doc2json for LangChain
io.github.pufferfishllc3548-cmd/doc2json
Convert a PDF or DOCX text layer into JSON, Markdown, and tables. $0.02 USDC/call via x402 on Base.
client:LangChain
transport:streamable-http
tools:2
Install doc2json in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"doc2json": {
"transport": "streamable_http",
"url": "https://mcp.paidtoolindex.com/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs