← All integrations
Import.io + LangChain & LangGraph

Web scraping tools for LangChain and LangGraph

MultiServerMCPClient turns the Import.io Web Scraper MCP into LangChain tools. Hand them to create_agent or any LangGraph node.

Connects via
MCP
Setup
10 min
Available on
10,000 free successful calls, then $0.0002 per call
Python
import asyncio, os
from langchain_mcp_adapters.client import MultiServerMCPClient
from langchain.agents import create_agent

async def main():
    client = MultiServerMCPClient({
        "importio": {
            "transport": "streamable_http",
            "url": "https://mcp.import.io/mcp",
            "headers": {"Authorization": f"Bearer {os.environ['IMPORTIO_MCP_KEY']}"},
        }
    })
    tools = await client.get_tools()
    agent = create_agent("openai:gpt-5", tools)
    out = await agent.ainvoke({"messages": [{"role": "user",
        "content": "Extract all job titles and locations from https://example.com/careers"}]})
    print(out["messages"][-1].content)

asyncio.run(main())

How it connects.

Source

The web

Any public page, rendered, through managed proxies

Engine

Import.io

Rendering, proxy routing, captcha handling, extraction

Path

Import.io MCP

https://mcp.import.io/mcp

Destination

LangChain & LangGraph

Load Import.io tools with langchain-mcp-adapters into any agent.

What teams do with it.

Retrieval from the live web

Fetch pages at question time instead of relying on a stale index.

What changed on this pricing page since last month?

Extraction nodes in a graph

One node collects pages, the next validates rows, the last writes to your store.

Extract all job titles and locations from this careers page.

Mix with your own tools

Combine Import.io with SQL, vector search or internal APIs in the same agent.

Look up our price for these SKUs, then fetch competitor prices.

Set it up.

  1. pip install langchain langchain-mcp-adapters.
  2. Create a MultiServerMCPClient with the Import.io URL, streamable_http transport and a bearer header.
  3. await client.get_tools() and pass the tools to your agent.

Questions.

Can I filter the tool list?

Yes. get_tools() returns a list; keep only the tools the agent needs, for example importio_web_fetch and importio_extract_data.

What does the Import.io MCP cost?

Signup includes 10,000 successful calls. After that it is $0.0002 per successful call. Setup requests, tool listings, malformed requests, blocked requests and failed upstream calls are never billed, and you can set a monthly spend limit that stops paid usage when reached.

OAuth or API key?

Use OAuth in interactive clients that support it: the client opens a sign-in, stores the credentials and reuses them. Use an API key for scripts, servers and clients without OAuth, sent as Authorization: Bearer mcp_live_…. Keep keys out of prompts and shared config files.

Which tools does the server expose?

importio_web_fetch, importio_render, importio_extract_data and importio_get_html, page helpers such as importio_page_text, importio_page_links and importio_search_cards, and browser actions for clicks, form input, scrolling, pagination, waits, screenshots and captcha handling. Requests can pick a proxy country and type, with bounded retries when a page blocks.

Give LangChain & LangGraph
the live web.