Skip to content
LangChain

DocuSense for LangChain

io.github.hksharma2004/docusense

Agents read PDFs and docs by section and claim: ~20x fewer tokens, hash-verified citations, diffs.

client:LangChain transport:stdio runtime:pypi

Install DocuSense in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "docusense": {
            "transport": "stdio",
            "command": "uvx",
            "args": ["docusense-mcp"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

DocuSense in other clients