Skip to content
LangChain

Mathpix MCP by usefulapi for LangChain

io.usefulapi/mathpix

Run OCR billed by Mathpix on images and PDFs, read results and usage, delete outputs in Mathpix.

client:LangChain transport:streamable-http tools:12

Install Mathpix MCP by usefulapi in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "mathpix": {
            "transport": "streamable_http",
            "url": "https://mathpix.usefulapi.io/mcp",
        }
})

tools = await client.get_tools()

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

What LangChain can do once it is connected

Mathpix MCP by usefulapi in other clients