Skip to content
LangChain

DocQA MCP for LangChain

com.agentsconsultants.api/docqa

AI document verification: catch hallucinations, arithmetic errors, and field mismatches.

client:LangChain transport:stdio runtime:npm

Install DocQA MCP in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "docqa": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "docqa-mcp"],
        }
})

tools = await client.get_tools()

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

DocQA MCP in other clients