Skip to content

Menu

Oxylabs MCP Server logo

Oxylabs MCP Server

Published

At a glance

GitHub repository
oxylabs/oxylabs-mcp
Watch out for
Every tool calls a paid Oxylabs product, so usage is billed against your Web Scraper API or AI Studio account once the free trial or free credits run out.

The Oxylabs MCP server is published by Oxylabs under the MIT license and gives an agent access to two of the company's products: the Web Scraper API and Oxylabs AI Studio. Through it an agent can scrape a URL, render JavaScript-heavy pages, pull Google and Amazon results as parsed JSON, and run prompt-driven crawls or browser sessions. The README says the proxy network behind it covers 195+ countries for geo-targeted requests.

There is a choice of two setups. Oxylabs hosts an instance at https://mcp.oxylabs.io/mcp, where credentials travel in request headers. Or you run the Python package oxylabs-mcp from PyPI with uvx, which speaks stdio by default and can also serve streamable HTTP if you want to host it yourself. It is listed in the official MCP registry as io.oxylabs/oxylabs-mcp.

One thing to check before you start: the README notes that customers of the newer Oxylabs Web API should use the separate web-api-mcp repository instead. This repo remains fully supported for Web Scraper API and AI Studio accounts.

How it connects

Your AI app

An assistant or agent that supports MCP

Oxylabs MCP Server

Runs as

  • Python (uv / pip)
  • Remote (HTTP)

Gives the agent

  • General scraping
  • Search and shopping parsers
  • AI extraction
  • Crawling and site maps
  • Browser agent
  • Web search

Oxylabs

Signs in with

  • API key
Your AI app talks to Oxylabs MCP Server over the Model Context Protocol, and the server carries out the work. Built from the setup and capability sections on this page.

What it can do

General scraping
universal_scraper fetches any URL with optional JavaScript rendering and geo-targeting, and returns Markdown, HTML or a list of links.
Search and shopping parsers
google_search_scraper, amazon_search_scraper and amazon_product_scraper return results from those sites, optionally parsed into structured JSON.
AI extraction
ai_scraper pulls content from a URL using AI-based extraction and can output JSON, CSV, Markdown or TOON. generate_schema builds an OpenAPI-format JSON schema to guide that extraction.
Crawling and site maps
ai_crawler follows a site from a starting URL according to a prompt and collects data across pages, while ai_map lists a site's URLs filtered by keywords or a prompt.
Browser agent
ai_browser_agent drives a real browser from a prompt, navigating, clicking and filling forms, then returns what it found.
Web search
ai_search runs a web search and can return the Markdown content of each result.

Setting it up

You need at least one credential: a Web Scraper API token (or username and password) from the Oxylabs dashboard, or an AI Studio API key. For the hosted server in Claude Code, run claude mcp add --transport http oxylabs https://mcp.oxylabs.io/mcp --header "Authorization: Bearer YOUR_API_TOKEN" --header "X-Oxylabs-AI-Studio-Api-Key: YOUR_API_KEY". In Cursor or another client that accepts custom headers, add an mcpServers entry named oxylabs with "url": "https://mcp.oxylabs.io/mcp" and the same two headers. To run locally instead, install uv, then add an entry with "command": "uvx", "args": ["oxylabs-mcp"] and an env block holding OXYLABS_API_TOKEN (or OXYLABS_USERNAME and OXYLABS_PASSWORD) and OXYLABS_AI_STUDIO_API_KEY. In Claude Desktop that goes in claude_desktop_config.json via Settings, Developer, Edit Config; in Cursor, under Settings, Cursor Settings, MCP, Add new global MCP server. Only set the variables you have real values for, because placeholders make tool calls fail.

Run in a terminal
claude mcp add --transport http oxylabs https://mcp.oxylabs.io/mcp

If the server needs a sign-in or an API key, the setup notes above say which. Combine several servers in the MCP config generator

Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)

Where it helps

  • Fetch a JavaScript-rendered product page as Markdown and summarise its specs for a comparison table.
  • Pull parsed Google search results for a keyword from a specific country to check local rankings.
  • Track Amazon prices by scraping search results and individual product pages into JSON.
  • Crawl a documentation site with ai_crawler and collect every page that mentions a given API.
  • Map a competitor's site with ai_map to find all pricing or changelog URLs before scraping them.

Limitations and things to watch

  • Every tool calls a paid Oxylabs product, so usage is billed against your Web Scraper API or AI Studio account once the free trial or free credits run out.
  • The Web Scraper API tools and the AI Studio tools need separate credentials, and calling a tool without its credential returns an error.
  • The README says clients that only support OAuth for remote servers, such as a claude.ai custom connector, cannot pass the required headers yet, so those users need the local setup.
  • Customers of the newer Oxylabs Web API are pointed to the separate web-api-mcp repository rather than this server.
  • The browser agent can fill forms and click through pages on live sites, so review its prompts before letting it act on anything with side effects.

Sources

Written from the project's own documentation, checked November 2026.

How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…