Stretch: Shrink Pages & PDFs, Watch for Changes for LangChain
io.github.christurtleday-hue/stretch
Shrink pages and long PDFs into query packs, and watch URLs for real changes.
client:LangChain
transport:streamable-http
Install Stretch: Shrink Pages & PDFs, Watch for Changes in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"stretch": {
"transport": "streamable_http",
"url": "https://mcp.apify.com/?tools=geeky_goth_gamer/stretch",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs