Skip to content
LangChain

Website Screenshot API for LangChain

io.github.prometheus-maker/website-screenshot

Full-page, first-screen, mobile or element screenshots of any URL as PNG, JPEG or PDF.

client:LangChain transport:streamable-http

Install Website Screenshot API in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "website-screenshot": {
            "transport": "streamable_http",
            "url": "https://mcp.apify.com/?tools=prometheus-maker/website-screenshot",
        }
})

tools = await client.get_tools()

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

Website Screenshot API in other clients