Skip to content
LangChain

Website Screenshot & PDF API (Full Page, HTML to Image) for LangChain

io.github.pagecraftapi/website-screenshot-pdf

Website Screenshot & PDF API (Full Page, HTML to Image)

client:LangChain transport:streamable-http

Install Website Screenshot & PDF API (Full Page, HTML to Image) in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

Website Screenshot & PDF API (Full Page, HTML to Image) in other clients