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_get_usage
- mathpix_list_image_results
- mathpix_list_documents
- mathpix_get_document_status
- mathpix_get_conversion_status
- mathpix_get_document_output
- mathpix_get_conversion_output
- mathpix_ocr_image
- mathpix_submit_document
- mathpix_convert_markdown
- mathpix_delete_document
- mathpix_delete_conversion