← All integrations
Import.io + Claude API

Live web data in the Claude API with the MCP connector

Add the Import.io Web Scraper MCP endpoint to mcp_servers and Claude calls the scraping tools server-side, inside a single Messages API request. No MCP client to run.

Connects via
MCP
Setup
5 min
Available on
10,000 free successful calls, then $0.0002 per call
import os, anthropic

client = anthropic.Anthropic()
resp = client.beta.messages.create(
    model="claude-sonnet-5",
    max_tokens=2000,
    betas=["mcp-client-2025-11-20"],
    mcp_servers=[{
        "type": "url",
        "url": "https://mcp.import.io/mcp",
        "name": "importio",
        "authorization_token": os.environ["IMPORTIO_MCP_KEY"],
    }],
    tools=[{"type": "mcp_toolset", "mcp_server_name": "importio"}],
    messages=[{"role": "user", "content":
        "Extract name, price and stock for every product on https://example.com/c/laptops"}],
)
print(resp.content)

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

Claude API

Pass one server in mcp_servers and Claude calls Import.io tools server-side.

What teams do with it.

Price checks inside your product

Answer customer or analyst questions with the current page, fetched at request time.

Is this item cheaper at any of these three retailers today?

Research agents that cite

Claude reads the pages it relies on and returns the URLs with the answer.

Summarize the returns policy of these five retailers with links.

Narrow agents by design

Allowlist only the tools a use case needs, for example fetch and extract, and leave browser actions off.

Extract name, price and stock for every product on this category page.

Set it up.

  1. Create an MCP key at mcp.import.io.
  2. Add the Import.io server to mcp_servers, with the key as authorization_token.
  3. Reference it from an mcp_toolset entry in tools. Allowlist tools if you want a narrow agent.
  4. Send the mcp-client-2025-11-20 beta. The SDK sets the header from betas.

Questions.

Can I restrict which Import.io tools Claude can call?

Yes. Set default_config enabled to false on the toolset and enable only the tools you want, such as 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 Claude API
the live web.