web-api-mcp — Claude Code MCP server: web search and scraping
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.
MIT ★ 78 updated 2026-11-23
claude mcp add web-api-mcp -e OXYLABS_WEB_API_KEY=<OXYLABS_WEB_API_KEY> -- uvx oxylabs-web-api-mcpWhat web-api-mcp 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.
What it helps with
- web search and page extraction
- find companies from names or descriptions
- extract page fields as JSON
- collect results from background requests
Example prompts for the agent
- 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.
How to install web-api-mcp
1Platform CLI
claude mcp add web-api-mcp -e OXYLABS_WEB_API_KEY=<OXYLABS_WEB_API_KEY> -- uvx oxylabs-web-api-mcpReplace <…> 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>
2Platform CLI: remote server
claude mcp add --transport http web-api-mcp https://mcp.oxylabs.io/web-api-mcp1Platform CLI: remote server
codex mcp add web-api-mcp --url https://mcp.oxylabs.io/web-api-mcp2Platform CLI
codex mcp add web-api-mcp --env OXYLABS_WEB_API_KEY=<OXYLABS_WEB_API_KEY> -- uvx oxylabs-web-api-mcpReplace <…> 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>
Config file
{
"mcpServers": {
"web-api-mcp": {
"url": "https://mcp.oxylabs.io/web-api-mcp"
}
}
}{
"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>
Config file
{
"servers": {
"web-api-mcp": {
"type": "http",
"url": "https://mcp.oxylabs.io/web-api-mcp"
}
}
}{
"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>
1Platform CLI: remote server
gemini mcp add -t http web-api-mcp https://mcp.oxylabs.io/web-api-mcp2Platform CLI
gemini mcp add -e OXYLABS_WEB_API_KEY=<OXYLABS_WEB_API_KEY> web-api-mcp uvx oxylabs-web-api-mcpReplace <…> 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>
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about web-api-mcp
How do I install web-api-mcp in Claude Code?
Run claude mcp add web-api-mcp -e OXYLABS_WEB_API_KEY=<OXYLABS_WEB_API_KEY> -- uvx oxylabs-web-api-mcp. An Oxylabs Web API key is required.
What does web-api-mcp do?
It gives an agent tools to search the web and company listings, extract page content, and run dedicated scrapers. Results can be returned as Markdown or structured data.
What does web-api-mcp require?
You need an Oxylabs Web API key. Remote use requires an MCP client that supports HTTP servers with custom headers; self-hosting requires Python 3.10+ and uv.