The missing link between AI models and the real‑world web: one API that delivers clean, structured data from any site.
The Oxylabs MCP server provides a bridge between AI models and the web. It enables them to scrape any URL, render JavaScript-heavy pages, extract and format content for AI use, bypass anti-scraping measures, and access geo-restricted web data from 195+ countries.
This implementation leverages the Model Context Protocol (MCP) to create a secure, standardized way for AI assistants to interact with web content.
Why Oxylabs MCP? 🕸️ ➜ 📦 ➜ 🤖Imagine telling your LLM "Summarise the latest Hacker News discussion about GPT‑7" – and it simply answers.
MCP (Multi‑Client Proxy) makes that happen by doing the boring parts for you:
Oxylabs MCP provides two sets of tools that can be used together or independently:
Oxylabs Web Scraper API ToolsThe Oxylabs AI Studio MCP server provides various AI tools for your agents:
When you've set up the MCP server with Claude, you can make requests like:
https://www.google.com/search?q=ai
page?https://www.amazon.de/-/en/Smartphone-Contract-Function-Manufacturer-Exclusive/dp/B0CNKD651V
with parse enabledhttps://www.amazon.de/-/en/gp/bestsellers/beauty/ref=zg_bs_nav_beauty_0
with parse and render enabledhttps://www.bestbuy.com/site/top-deals/all-electronics-on-sale/pcmcat1674241939957.c
https://news-site.com
in JSON format.https://example-store.com
https://complex-app.com
Before you begin, make sure you have:
Via Smithery CLI:
npx
command-line toolVia uv:
uv
package manager – install it using this guideuv
package manager – install it using this guideThe Oxylabs MCP Universal Scraper accepts these parameters:
Parameter Description Valuesurl
The URL to scrape Any valid URL render
Use headless browser rendering html
or None
geo_location
Sets the proxy's geo location to retrieve data. Brasil
, Canada
, etc. user_agent_type
Device type and browser desktop
, tablet
, etc. output_format
The format of the output links
, md
, html
smithery
Auto install with Smithery CLI
# example for Claude Desktop npx -y @smithery/cli@latest install @upstash/context7-mcp --client claude --key <smithery_key>
uvx
# macOS and Linux curl -LsSf https://astral.sh/uv/install.sh | sh # Windows powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
{ "mcpServers": { "oxylabs": { "command": "uvx", "args": ["oxylabs-mcp"], "env": { "OXYLABS_USERNAME": "OXYLABS_USERNAME", "OXYLABS_PASSWORD": "OXYLABS_PASSWORD", "OXYLABS_AI_STUDIO_API_KEY": "OXYLABS_AI_STUDIO_API_KEY" } } } }
uv
# macOS and Linux curl -LsSf https://astral.sh/uv/install.sh | sh # Windows powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
{ "mcpServers": { "oxylabs": { "command": "uv", "args": [ "--directory", "/<Absolute-path-to-folder>/oxylabs-mcp", "run", "oxylabs-mcp" ], "env": { "OXYLABS_USERNAME": "OXYLABS_USERNAME", "OXYLABS_PASSWORD": "OXYLABS_PASSWORD", "OXYLABS_AI_STUDIO_API_KEY": "OXYLABS_AI_STUDIO_API_KEY" } } } }Manual Setup with Claude Desktop
Navigate to Claude → Settings → Developer → Edit Config and add one of the configurations above to the claude_desktop_config.json
file.
Navigate to Cursor → Settings → Cursor Settings → MCP. Click Add new global MCP server and add one of the configurations above.
Oxylabs MCP server supports the following environment variables
Name Description DefaultOXYLABS_USERNAME
Your Oxylabs Web Scraper API username OXYLABS_PASSWORD
Your Oxylabs Web Scraper API password OXYLABS_AI_STUDIO_API_KEY
Your Oxylabs AI Studio API key LOG_LEVEL
Log level for the logs returned to the client INFO
*At least one set of credentials (Web Scraper API or AI Studio) is required to use the MCP server.
The Oxylabs MCP server supports two independent services:
OXYLABS_USERNAME
and OXYLABS_PASSWORD
OXYLABS_AI_STUDIO_API_KEY
You can use either service independently or both together. The server will automatically detect which credentials are available and enable the corresponding tools.
Server provides additional information about the tool calls in notification/message
events
{ "method": "notifications/message", "params": { "level": "info", "data": "Create job with params: {\"url\": \"https://ip.oxylabs.io\"}" } }
{ "method": "notifications/message", "params": { "level": "info", "data": "Job info: job_id=7333113830223918081 job_status=done" } }
{ "method": "notifications/message", "params": { "level": "error", "data": "Error: request to Oxylabs API failed" } }
Distributed under the MIT License – see LICENSE for details.
Established in 2015, Oxylabs is a market-leading web intelligence collection platform, driven by the highest business, ethics, and compliance standards, enabling companies worldwide to unlock data-driven insights.
Made with ☕ by Oxylabs. Feel free to give us a ⭐ if MCP saved you a weekend.RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4