Skip to content
LangChain

Stretch: Agent Usage-Savings Pack (distill, extract, query, watch) for LangChain

io.github.christurtleday-hue/usage-savings

Shrink what an agent reads: distill, markdown, extract, query, diffs, evidence.

client:LangChain transport:streamable-http

Install Stretch: Agent Usage-Savings Pack (distill, extract, query, watch) in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "usage-savings": {
            "transport": "streamable_http",
            "url": "https://mcp.apify.com/?tools=geeky_goth_gamer/agent-starter-kit,geeky_goth_gamer/pdf-docx-to-markdown,geeky_goth_gamer/cited-evidence-pack,geeky_goth_gamer/ai-context-distiller,geeky_goth_gamer/live-link-citation-verifier,geeky_goth_gamer/spreadsheet-json-query-engine,geeky_goth_gamer/page-doc-semantic-diff,geeky_goth_gamer/validated-table-invoice-extractor,geeky_goth_gamer/page-structured-data-extractor,geeky_goth_gamer/citation-verifier,geeky_goth_gamer/official-docs-pack,geeky_goth_gamer/schema-guided-page-extractor,geeky_goth_gamer/evidence-claim-verifier",
        }
})

tools = await client.get_tools()

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

Stretch: Agent Usage-Savings Pack (distill, extract, query, watch) in other clients