← Back to directory
O

Oxylabs Web API MCP Server

Official
Search the web, find companies, and scrape pages through the Oxylabs Web API.
Category
Browser #3 of 104
Stars
★ 94 Popular
Transport
stdio (local process) · Streamable HTTP
Runtime
Python 3.10+ · Hosted (no local runtime)
Credentials
API key / credential required
License
MIT
Last commit
Tools
7
62FMRS · C

The source describes this as Oxylabs' official MCP integration for the Web API, with seven primarily read-oriented tools and stdio plus remote streamable HTTP support. An Oxylabs Web API key is required; scraping accesses submitted pages, and calls may consume API usage.

Strongest · Documentation 17/20 Weakest · Maintenance 9/20

Reliability
10/20
Security and permissions
12/20
Maintenance
9/20
Documentation
17/20
Setup experience
14/20
Why each score
Reliability 10/20
The README lists seven read-only tools and describes queued fallback after synchronous timeouts, progress notifications, result retrieval, input limits, and error handling. It also claims offline tests and CI. This review can only statically assess the README and manifest, so it cannot verify the implementation, initialization and tool-list handshake, or the claimed tests and workflows. Under the static calibration, the score stays at or below 12 and below full marks.
Security and permissions 12/20
The manifest marks the API key as required and secret. The README describes environment-based credentials, per-request bearer keys, rate limiting, a private spill directory, risks of public HTTP deployment, and the fact that scraping can fetch arbitrary URLs, with network egress restrictions recommended. Deductions reflect that HTTP callers are not authenticated by the server, rate limiting is off by default, and the actual access controls and data flows cannot be verified here. The supplied material does not show a red-line behavior.
Maintenance 9/20
The materials provide an MIT license, a version, a PyPI and MCP Registry release description, a version consistency rule, and a support contact. The supplied evidence does not include release history, commit activity, issue response, dependency update records, or a security response policy. Stars and open issue count do not contribute to this score.
Documentation 17/20
The README covers remote and self-hosted modes, setup examples for several clients, an overview of all seven tools, configuration, batching and asynchronous requests, result-size limits, billing notes, and security considerations. Deductions reflect that tool parameter details and runtime behavior rely mainly on README claims, with no implementation or tests available to verify them in this review; some troubleshooting also points to external documentation.
Setup experience 14/20
The manifest identifies a PyPI package, and the README explains installation with uv, pipx, or source, with remote and local configuration examples for Claude, Codex, Cursor, Dify, and other clients. Runtime and credential requirements are stated. Deductions reflect that self-hosting requires Python, uv, and an API key, and HTTP deployment requires configuring an allowed-host list. Verifiable CI and test evidence is absent, so the static calibration caps the score at 15.

Static review · not runReviewed 2026-12-03

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesUses the network

Best for

  • Research and automation workflows that need Oxylabs Web API access through MCP.
  • People and teams able to protect an Oxylabs API key and manage associated API usage and costs.
  • Users who want either a hosted remote service or control over a self-hosted environment.

Not for

  • Users without an Oxylabs Web API key.
  • Users whose client requires OAuth sign-in, cannot send custom headers, and cannot use a self-hosted server.
  • Fully offline use or workflows where scraping must not access external websites.

Required permissions

  • Requires an Oxylabs Web API key; the remote service receives it in an Authorization Bearer header.
  • Scraping accesses submitted URLs and calls the Oxylabs Web API.
  • Self-hosted stdio mode can read the key from an environment variable; oversized local results may be written to a dedicated temporary directory.

Risks and side effects

  • API calls may consume usage or incur costs; self-hosted rate limiting is available but off by default.
  • With self-hosted HTTP, people who can reach a server using its environment key as a fallback may consume that key's quota.
  • The scraper fetches caller-provided URLs; restrict network egress when exposing the service to untrusted prompts.
  • Pages may be large; oversized synchronous results in HTTP mode may be truncated.

Setup

Before you start

Runtime:Python 3.10+ · Hosted (no local runtime)

OXYLABS_WEB_API_KEY requiredsecret Required Oxylabs Web API key; get it by creating a Web API instance in the Oxylabs dashboard.
Other optional settings (12)
OXYLABS_ENV_FILE optional Optional path to a `.env` file used to load OXYLABS_* settings.
OXYLABS_BASE_URL optional Optional Web API base URL; defaults to `https://webapi.oxylabs.io`.
OXYLABS_RETRIES optional Optional number of retries for transient errors; defaults to `2`.
OXYLABS_RATE_LIMIT optional Optional per-key spend cap, such as `100/1h`; off by default.
OXYLABS_MAX_INLINE_TOKENS optional Optional token budget for one reply; defaults to `10000`.
OXYLABS_SPILL_DIR optional Optional directory for locally spilled content and screenshots; defaults to a per-user directory in the system temp directory.
OXYLABS_SPILL optional Optional spill-storage switch; set to `0` to disable spilling in stdio mode; defaults to `1`.
MCP_TRANSPORT optional Optional transport, either `stdio` or `http`; defaults to `stdio`.
HOST optional Optional HTTP bind address; defaults to `127.0.0.1`.
PORT optional Optional HTTP port; defaults to `8080`.
MCP_ALLOWED_HOSTS optional Optional HTTP Host allowlist; defaults to `localhost:*` and `127.0.0.1:*`.
MCP_ALLOWED_ORIGINS optional Optional Origin allowlist for browser clients; empty by default.

Remote setup: add https://mcp.oxylabs.io/web-api-mcp in a client that supports remote HTTP MCP servers and custom headers, then set Authorization: Bearer <API key>. For self-hosting, install Python 3.10+ and uv, install oxylabs-web-api-mcp, and provide the key through OXYLABS_WEB_API_KEY; configure the client to use stdio. Exact client configuration varies.

claude_desktop_config.json
{"mcpServers":{"oxylabs-web-api":{"command":"oxylabs-web-api-mcp","env":{"OXYLABS_WEB_API_KEY":"${env:OXYLABS_WEB_API_KEY}"}}}}

Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "oxylabs-web-api": {
      "command": "oxylabs-web-api-mcp",
      "env": {
        "OXYLABS_WEB_API_KEY": "${env:OXYLABS_WEB_API_KEY}"
      }
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.oxylabs-web-api]
command = "oxylabs-web-api-mcp"

[mcp_servers.oxylabs-web-api.env]
OXYLABS_WEB_API_KEY = "${env:OXYLABS_WEB_API_KEY}"

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add oxylabs-web-api -e 'OXYLABS_WEB_API_KEY=${env:OXYLABS_WEB_API_KEY}' -- oxylabs-web-api-mcp

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Check that `search` and `scrape` appear in your client's MCP tool list. Ask it to search for a topic; returned web results confirm the connection and authentication are working.

Troubleshooting

  1. Check that OXYLABS_WEB_API_KEY is set and belongs to a valid Web API instance.
  2. For remote connections, verify the Authorization header uses Bearer <key>; some clients cannot send custom headers.
  3. For self-hosted HTTP, ensure MCP_ALLOWED_HOSTS includes the hostname clients use to connect.
  4. If a scrape returns very little text, the page may require JavaScript rendering; try run_js as the tool guidance suggests.
  5. Check tool output for authentication errors; a client may list tools even when calls fail due to a missing or invalid key.

Things to try

Once connected, you can ask your AI assistant things like:

  • Search for recent news about AI regulation and summarize the top results.
  • Find climate technology companies headquartered in London and list their industries and funding.
  • Scrape the Oxylabs homepage and summarize its main content in Markdown.

Tools 7

search read-only
Search the live web and return ranked organic results with titles, snippets, and URLs.
search_companies read-only
Find companies by name or free-text description and return profiles ranked by match.
scrape read-only
Scrape one or more URLs as Markdown; optionally request screenshots or extract JSON fields.
list_scrapers read-only
List available scraping endpoints or inspect the parameters for an endpoint.
run_scraper read-only
Run a dedicated scraping endpoint with its parameters to return content or structured JSON.
check_requests read-only
Wait for and collect results from API requests running in the background.
read_result read-only
Read oversized page content or company search results in parts using a request ID.

Use cases

Search the live web and retrieve ranked results.
Look up company profiles, including industry, size, headquarters, and funding.
Scrape pages as Markdown or extract selected fields as JSON.
Use dedicated scraping endpoints to retrieve structured data.

Supported clients

Claude Desktop
Claude Code
Cursor
Codex
Dify

Listed from the project's documentation, not tested by this site.

Overview

The Oxylabs Web API MCP Server gives MCP-capable clients live web search, company lookup, and page scraping. It is available as an Oxylabs-hosted remote service or for self-hosting; both options require an Oxylabs Web API key.

Similar servers

Source revision 96cf269145f7 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/web-api-mcp.svg)](https://followmcp.com/en/servers/web-api-mcp)