Skip to content
LangChain

API Screenshot for LangChain

io.github.matbrons/api-screenshot

Clean full-page screenshots of real sites: cookie banners, pop-ups, chat widgets and ads removed.

client:LangChain transport:streamable-http runtime:oci

Install API Screenshot in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "api-screenshot": {
            "transport": "streamable_http",
            "url": "https://{host}/mcp",
        }
})

tools = await client.get_tools()

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

API Screenshot in other clients