# web-api-mcp

web-api-mcp is a Claude Code MCP server that searches the live web, finds companies, and extracts content from pages through Oxylabs Web API. It can return page data as Markdown or structured output.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 78 repo stars
- Author: oxylabs
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/oxylabs/web-api-mcp
- Updated: 2026-11-23
- Security check: automated, 2026-11-24 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/web-api-mcp

## What it does

The server gives an agent tools for web searches, company lookups, and page extraction. Other tools run Oxylabs scraping endpoints or collect the results of requests that are still processing.

An Oxylabs Web API key is required. Remote access needs an MCP client that supports HTTP servers with custom headers. Running the server locally requires Python 3.10+ and `uv`; the available tools are the same in both modes.

## Requirements
- Needs: Python and uv (commands run via uvx)
- Remote server: `https://mcp.oxylabs.io/web-api-mcp`
- Environment variables: `OXYLABS_WEB_API_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

1. **Platform CLI**
```bash
claude mcp add web-api-mcp -e OXYLABS_WEB_API_KEY=<OXYLABS_WEB_API_KEY> -- uvx oxylabs-web-api-mcp
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from oxylabs-web-api-mcp <command>

2. **Platform CLI: remote server**
```bash
claude mcp add --transport http web-api-mcp https://mcp.oxylabs.io/web-api-mcp
```

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add web-api-mcp --url https://mcp.oxylabs.io/web-api-mcp
```

2. **Platform CLI**
```bash
codex mcp add web-api-mcp --env OXYLABS_WEB_API_KEY=<OXYLABS_WEB_API_KEY> -- uvx oxylabs-web-api-mcp
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from oxylabs-web-api-mcp <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "web-api-mcp": {
            "url": "https://mcp.oxylabs.io/web-api-mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "web-api-mcp": {
            "command": "uvx",
            "args": [
                "oxylabs-web-api-mcp"
            ],
            "env": {
                "OXYLABS_WEB_API_KEY": "<OXYLABS_WEB_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from oxylabs-web-api-mcp <command>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "web-api-mcp": {
            "type": "http",
            "url": "https://mcp.oxylabs.io/web-api-mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "web-api-mcp": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "oxylabs-web-api-mcp"
            ],
            "env": {
                "OXYLABS_WEB_API_KEY": "<OXYLABS_WEB_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from oxylabs-web-api-mcp <command>

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http web-api-mcp https://mcp.oxylabs.io/web-api-mcp
```

2. **Platform CLI**
```bash
gemini mcp add -e OXYLABS_WEB_API_KEY=<OXYLABS_WEB_API_KEY> web-api-mcp uvx oxylabs-web-api-mcp
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from oxylabs-web-api-mcp <command>

## When to use it
- web search and page extraction
- find companies from names or descriptions
- extract page fields as JSON
- collect results from background requests

## Example prompts
- Search the web for recent pages about this topic and summarize the findings.
- Find companies matching this description and compare their profiles.
- Read this page and return the requested fields as JSON.

## Similar
- [срезAI — MCP-сервер и поисковый API для ИИ-агентов](https://affpapa.org/en/nevibecode/mcp/srezai-mcp-server-i-poiskovyi-api-dlia-ii-agentov.md) — MCP server
- [scrapy-web-scraping](https://affpapa.org/en/nevibecode/skills/scrapy-web-scraping.md) — skill · 2100 installs
- [web-reader](https://affpapa.org/en/nevibecode/skills/web-reader.md) — skill · 1700 installs
- [venice-augment](https://affpapa.org/en/nevibecode/skills/venice-augment.md) — skill · ★ 178 repo stars
- [web-search](https://affpapa.org/en/nevibecode/skills/answerzhao-web-search.md) — skill · 101 installs
- [firecrawl](https://affpapa.org/en/nevibecode/skills/firecrawl.md) — skill · 104900 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
