← All integrations
Import.io + MCP SDKs

Call Import.io from the MCP Python and TypeScript SDKs

Skip the framework. Open a Streamable HTTP session to Import.io Web Scraper MCP at https://mcp.import.io/mcp and call any Import.io tool from your own code.

Connects via
MCP
Setup
10 min
Available on
10,000 free successful calls, then $0.0002 per call
import asyncio, os
from mcp import ClientSession
from mcp.client.streamable_http import streamablehttp_client

async def main():
    headers = {"Authorization": f"Bearer {os.environ['IMPORTIO_MCP_KEY']}"}
    async with streamablehttp_client("https://mcp.import.io/mcp", headers=headers) as (read, write, _):
        async with ClientSession(read, write) as session:
            await session.initialize()
            result = await session.call_tool("importio_page_text",
                                             {"url": "https://example.com", "max_chars": 4000})
            print(result.content[0].text)

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

MCP SDKs

Call Import.io tools directly from the official Python and TypeScript SDKs.

What teams do with it.

Deterministic scraping calls

Call importio_page_text or importio_extract_data yourself when you don’t need a model in the loop.

Build your own client

Embed Import.io in a product that already speaks MCP.

Test and debug tool calls

Inspect exact inputs and outputs before wiring tools into an agent.

Set it up.

  1. Install the SDK: pip install mcp, or npm install @modelcontextprotocol/sdk.
  2. Open a Streamable HTTP transport to https://mcp.import.io/mcp with a bearer header.
  3. Initialize the session and call tools by name.

Questions.

Is there an Import.io-specific SDK?

You don’t need one. The server speaks standard MCP, so the official SDKs, and every framework built on them, work unchanged.

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 MCP SDKs
the live web.