# Oxylabs Web API MCP server

> Provides AI agents with live web access to search, scrape pages as Markdown or JSON, and execute dedicated web scrapers.

- Repository: https://github.com/oxylabs/web-api-mcp
- Page: https://hostedmcp.org/servers/oxylabs/web-api-mcp
- Official: yes
- Transport: —
- Stars: 54
- License: MIT

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `MCP_ALLOWED_HOSTS` | no | no |  |
| `OXYLABS_ENV_FILE` | no | no |  |
| `OXYLABS_WEB_API_KEY` | no | no |  |

## FAQ

### What can the Oxylabs Web API MCP server do?

It allows agents to search the live web, scrape URLs as Markdown or JSON (including JS-heavy pages), list available scrapers, and run dedicated scraping endpoints.

### How do I connect to the remote MCP server?

You can connect to the hosted server by adding the URL to your client and providing your Oxylabs Web API key as a Bearer token in the Authorization header.

### What happens if a scrape request times out?

If a synchronous call times out, the request is automatically sent to an asynchronous endpoint and the agent receives a request ID to collect the results later.
