Outscraper MCP Server

io.github.outscraperPublished by GitHub account outscraperv0.2.3Updated Oct 24, 2026

Outscraper MCP business discovery, Maps intelligence, enrichment, reviews, and contact data.

Overview

AI-generated overview

Outscraper's official MCP server lets an assistant search businesses, pull Google Maps and review data, enrich companies and contacts, and extract structured AI

What you can do
Search and retrieve businesses and places: structured business search, single-business lookup, Google Maps search, photos, reviews and chain info, plus Yellow Pages, Tripadvisor and Indeed search and Yelp, Booking and Trustpilot reviews and data. Enrich companies and contacts: company insights, emails and contacts from known domains, email validation and phone enrichment. Run web searches: Google Search and Google Images. Extract structured data from a single page with the AI scraper. Manage async jobs and account: submit, poll, list and delete requests, and check account balance.
When to use it
Useful for local business prospecting and lead generation, reputation and review analysis, enriching known company domains with contacts and firmographics, and pulling structured data from a single page. Less suited to browser automation, generic OAuth SaaS integrations or crawling sessions that need a persistent browser.
Requirements
Either the hosted remote endpoint or a local process via npx (Node.js). An Outscraper API key is required: OUTSCRAPER_API_KEY in stdio mode, or the X-OUTSCRAPER-API-KEY header (also Authorization Bearer or X-API-KEY) in hosted HTTP mode. Network access to the Outscraper API.
Before you install
Every tool call is forwarded to the Outscraper API and consumes paid account credit, so check balance and usage. The API key is a secret; URL-path auth is less private because URLs tend to appear in logs, so prefer header auth. requests_delete deletes async requests. Free-form query parsing on business search is unreliable; structured filters work better.

Installation

In SourceWeft

  1. Open Outscraper MCP Server in the dashboard and add it to a workspace.
  2. Connect X-OUTSCRAPER-API-KEY credentials. They are stored privately and never shown on public pages.
  3. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.outscraper%2Foutscraper-mcp-server/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "outscraper": {
      "type": "http",
      "url": "https://mcp.outscraper.com/mcp",
      "headers": {
        "X-OUTSCRAPER-API-KEY": "<YOUR_API_KEY>"
      }
    }
  }
}

README

Outscraper MCP

Official MCP server for Outscraper.

Connect AI agents to Outscraper for business discovery, Google Maps intelligence, company and contact enrichment, review analysis, search, and structured web extraction.

Best For

  • local business prospecting and lead generation
  • Google Maps place, photo, and review intelligence
  • company and contact enrichment from known domains
  • async data collection workflows with polling
  • extracting structured information from a single page

Not Ideal For

  • browser automation or multi-step UI interaction
  • generic OAuth-based SaaS integrations
  • arbitrary document search outside the Outscraper data surface
  • website crawling sessions that require a persistent browser

Common Workflows

  • find businesses with businesses_search, then enrich a chosen record with businesses_get
  • search Google Maps places, then fetch reviews or photos for reputation analysis
  • enrich a company domain, validate emails, and check contact coverage
  • submit async jobs, then poll them with requests_get
  • extract structured data from a page with ai_scraper

It exposes production-ready MCP tools for:

  • business discovery and enrichment
  • Google Maps places, reviews, photos, and chain detection
  • company insights, emails, email validation, and phone enrichment
  • Google Search and Google Images search
  • Yellow Pages, Booking, Yelp, Tripadvisor, Trustpilot, and Indeed data
  • account balance checks and async request lifecycle management

The server supports stdio and HTTP transports, npm-based installation, hosted header or URL auth, and a normalized structuredContent result shape for MCP clients and agents.

What It Does

This MCP server exposes Outscraper data sources and enrichment workflows to MCP-compatible clients.

It is designed for:

  • business and place discovery
  • Google Maps review and photo retrieval
  • contact and company enrichment
  • AI-assisted structured extraction from a single page with ai_scraper
  • async request submission and polling through requests_get

In practice, the server acts as a thin MCP layer over the Outscraper API:

  • MCP clients call tools on this server
  • the server authenticates with an Outscraper API key
  • requests are forwarded to Outscraper endpoints
  • results are returned in a normalized MCP tool envelope

Quick Start

bash
set OUTSCRAPER_API_KEY=YOUR_API_KEYnpx -y outscraper-mcp

For MCP clients, configure:

  • command: npx
  • args: ["-y", "outscraper-mcp"]
  • env: OUTSCRAPER_API_KEY=YOUR_API_KEY

For task-oriented workflows, copy-paste examples, and example agent skills, see the examples folder.

Current Tools

  • ping
  • businesses_search
  • businesses_get
  • ai_scraper
  • google_maps_search
  • google_maps_reviews
  • company_insights
  • emails_and_contacts
  • emails_validator
  • google_maps_photos
  • chain_info
  • yellowpages_search
  • booking_reviews
  • phones_enricher
  • tp_data (legacy alias for trustpilot_data)
  • trustpilot_data
  • tp_reviews (legacy alias for trustpilot_reviews)
  • trustpilot_reviews
  • yelp_reviews
  • tripadvisor_search
  • tripadvisor_reviews
  • google_search
  • google_search_images
  • indeed_search
  • balance_get
  • requests_get
  • requests_list
  • requests_delete

These tools are aligned to the current documented Outscraper API shapes, including:

  • POST /businesses
  • POST /ai-scraper
  • GET /businesses/{business_id}
  • GET /google-maps-search
  • GET /google-maps-photos
  • GET /google-search
  • GET /google-search-images
  • GET /yellowpages-search
  • GET /booking-reviews
  • GET /phones-enricher
  • GET /trustpilot
  • GET /trustpilot-reviews
  • GET /yelp-reviews
  • GET /tripadvisor-search
  • GET /tripadvisor-reviews
  • GET /indeed-search
  • GET /google-maps-reviews
  • GET /company-insights
  • GET /emails-and-contacts
  • GET /email-validator
  • documented ai_chain_info enrichment via google-maps-search
  • GET /profile/balance
  • GET /requests/{requestId}
  • DELETE /requests/{requestId}
  • GET /requests

Unified Tool Result Shape

Every tool now returns the same structured envelope:

json
{  "data": {},  "meta": {    "service": "company_insights",    "operation": "get"  },  "async": {    "id": "request-id",    "status": "Pending",    "results_location": "https://api.outscraper.com/requests/request-id",    "is_async_submission": true,    "next_step": "Call requests_get with request_id=\"request-id\" to check progress."  }}

async is present when the response is an async submission or exposes async request metadata.

Execution Mode

Async-capable tools now accept:

json
{  "execution_mode": "auto"}

Available values:

  • auto: let the MCP server choose sync or async
  • sync: force direct response mode
  • async: force async submission mode

The old boolean async is still accepted for compatibility, but execution_mode now has priority.

Install

The recommended way to use this MCP server is from npm.

Run from npm

bash
npx -y outscraper-mcp

Provide OUTSCRAPER_API_KEY through your MCP client config or shell environment.

The server auto-loads .env on startup via dotenv.

On Windows, if a client cannot find npx, use the full Node.js path instead, for example:

json
{  "command": "C:\\Program Files\\nodejs\\npx.cmd",  "args": ["-y", "outscraper-mcp"]}

Security

Security-sensitive issues should be reported according to SECURITY.md.

Connection Modes

The server currently supports these connection patterns:

1. Local stdio MCP

Best for:

  • Claude Desktop
  • Claude Code
  • Cursor
  • VS Code
  • Windsurf
  • local MCP development

Auth source:

  • OUTSCRAPER_API_KEY environment variable

Transport:

  • local process over stdio

2. Remote stateless Streamable HTTP

Best for:

  • hosted MCP endpoints
  • n8n
  • reverse proxy or domain-based deployment
  • containerized remote usage

Auth source when CLOUD_SERVICE=true:

  • X-OUTSCRAPER-API-KEY
  • X-API-KEY
  • Authorization: Bearer <api-key>
  • /v1/mcp/<api-key> path auth

Transport:

  • HTTP POST /mcp
  • HTTP POST /v1/mcp/<api-key>

3. Remote stateful HTTP/SSE

Best for:

  • session-based MCP usage
  • clients that rely on stateful HTTP transport semantics

Auth source when CLOUD_SERVICE=true:

  • the same header or URL-based auth options as stateless HTTP

Transport:

  • POST /mcp
  • GET /mcp
  • DELETE /mcp
  • and the same /v1/mcp/<api-key> route pattern

Note:

  • stateful mode stores sessions in process memory, so it is better suited to a single instance or sticky-session deployment than horizontal scaling

ChatGPT Connector

If you want to connect this server to ChatGPT as a remote MCP connector, the simplest hosted form is:

text
https://your-domain.example/v1/mcp/YOUR_API_KEY

Recommended setup:

  1. Deploy the server over HTTPS behind a real domain or reverse proxy.
  2. Enable hosted mode with CLOUD_SERVICE=true.
  3. Use the URL-auth route if the connector cannot attach custom auth headers.
  4. Prefer header auth for server-to-server clients when custom headers are available.

Typical connector values:

  • Name: Outscraper MCP
  • Description: Business discovery, Google Maps data, enrichment, search, and AI scraping
  • MCP Server URL: https://your-domain.example/v1/mcp/YOUR_API_KEY
  • Authentication: None

Notes:

  • URL-auth is the most convenient option for connector-style setup, but it is less private than header auth because URLs are more likely to appear in logs.
  • Avoid temporary tunnels that inject browser warning pages unless your connector can bypass them cleanly.

Hosted Header Auth Mode

If you want hosted behavior, enable:

bash
set CLOUD_SERVICE=true

Then the HTTP caller can send the Outscraper API key in one of these headers:

  • Authorization: Bearer <api-key>
  • X-API-KEY: <api-key>
  • X-OUTSCRAPER-API-KEY: <api-key>

In CLOUD_SERVICE=true HTTP mode, request headers are used as the API key source. In local stdio mode, OUTSCRAPER_API_KEY is still required. HTTP requests without one of these auth forms are rejected before MCP processing begins.

Hosted URL Auth Mode

For ChatGPT-style connectors or other hosted setups that cannot send custom headers, you can also pass the API key in the path:

text
http://localhost:3000/v1/mcp/YOUR_API_KEY

This route supports the same MCP behavior as /mcp, but authenticates from the URL path when CLOUD_SERVICE=true. For server-to-server integrations, header auth is still preferred because URL-based API keys are more likely to appear in logs.

Run with Streamable HTTP

bash
set HTTP_STREAMABLE_SERVER=trueset HOST=localhostset PORT=3000npx -y outscraper-mcp

MCP endpoint:

text
http://localhost:3000/mcp

Hosted URL auth endpoint:

text
http://localhost:3000/v1/mcp/YOUR_API_KEY

Health endpoint:

text
http://localhost:3000/health

Run with Docker Compose

This repository also includes a docker-compose.yml for hosted/container deployments:

bash
docker compose up --build -d

Default container behavior:

  • binds 3000:3000
  • enables CLOUD_SERVICE=true
  • enables stateless Streamable HTTP
  • listens on 0.0.0.0
  • uses https://api.outscraper.com as the upstream API base URL

Endpoints:

text
http://localhost:3000/mcphttp://localhost:3000/v1/mcp/YOUR_API_KEYhttp://localhost:3000/health

Important notes for Docker usage:

  • this compose file is intended for hosted remote access, not local stdio clients
  • by default it expects callers to authenticate per request, not through a single server-wide API key
  • if you put the service behind a domain or reverse proxy, prefer header auth for server-to-server usage
  • URL auth is available mainly for connector flows that cannot attach custom headers

Run with Stateful HTTP/SSE Mode

This mode uses local session management:

bash
set SSE_LOCAL=trueset HOST=localhostset PORT=3000npx -y outscraper-mcp

You can also enable the same mode with:

bash
set HTTP_STATEFUL_SERVER=trueset HOST=localhostset PORT=3000npx -y outscraper-mcp

In this mode the server accepts:

  • POST /mcp for initialize and subsequent requests
  • GET /mcp for the session stream
  • DELETE /mcp for session termination

The session is tracked through the mcp-session-id header.

Hosted URL auth also works in stateful mode through:

text
http://localhost:3000/v1/mcp/YOUR_API_KEY

Client Setup

Claude Desktop

Add this to your Claude Desktop MCP config:

json
{  "mcpServers": {    "outscraper": {      "command": "npx",      "args": ["-y", "outscraper-mcp"],      "env": {        "OUTSCRAPER_API_KEY": "YOUR_API_KEY"      }    }  }}
Claude Code

Add the server with the Claude Code CLI:

bash
claude mcp add outscraper -e OUTSCRAPER_API_KEY=YOUR_API_KEY -- npx -y outscraper-mcp
Cursor

Add this to your global MCP configuration:

json
{  "mcpServers": {    "outscraper": {      "command": "npx",      "args": ["-y", "outscraper-mcp"],      "env": {        "OUTSCRAPER_API_KEY": "YOUR_API_KEY"      }    }  }}
Windsurf

Add this to your MCP config:

json
{  "mcpServers": {    "outscraper": {      "command": "npx",      "args": ["-y", "outscraper-mcp"],      "env": {        "OUTSCRAPER_API_KEY": "YOUR_API_KEY"      }    }  }}
VS Code

For settings.json:

json
{  "mcp": {    "inputs": [      {        "type": "promptString",        "id": "outscraperApiKey",        "description": "Outscraper API Key",        "password": true      }    ],    "servers": {      "outscraper": {        "command": "npx",        "args": ["-y", "outscraper-mcp"],        "env": {          "OUTSCRAPER_API_KEY": "${input:outscraperApiKey}"        }      }    }  }}
Cline / Roo Code / other command-based MCP clients

Use the standard stdio command form:

json
{  "mcpServers": {    "outscraper": {      "command": "npx",      "args": ["-y", "outscraper-mcp"],      "env": {        "OUTSCRAPER_API_KEY": "YOUR_API_KEY"      }    }  }}
n8n

For n8n or other HTTP MCP clients, run the server in Streamable HTTP mode:

bash
set HTTP_STREAMABLE_SERVER=trueset HOST=localhostset PORT=3000set OUTSCRAPER_API_KEY=YOUR_API_KEYnpx -y outscraper-mcp

Then use:

text
http://localhost:3000/mcp

Tool Examples

Search businesses with structured filters

json
{  "filters": {    "country_code": "US",    "states": ["NY"],    "cities": ["New York"],    "types": ["restaurant", "cafe"]  },  "fields": ["name", "phone", "website", "address", "rating", "reviews"],  "limit": 25}

Natural-language query support on /businesses currently depends on Outscraper's own parser behavior. In live testing, structured filters were reliable while free-form query values often returned Could not parse query into a valid request format.

Extract structured data with AI Scraper

json
{  "query": "https://outscraper.com",  "prompt": "Extract company name, company description, and people mentioned on the page.",  "schema": {    "type": "object",    "required": [],    "properties": {      "company_name": { "type": "string" },      "company_description": { "type": "string" },      "people": {        "type": "array",        "items": { "type": "string" }      }    }  },  "execution_mode": "sync"}

Use execution_mode: "async" if you want a request id and plan to poll later with requests_get.

Get one business

json
{  "business_id": "YOUR_BUSINESS_ID",  "fields": ["name", "phone", "website", "address", "rating", "reviews"]}

Search Google Maps

json
{  "query": ["restaurants brooklyn usa"],  "limit": 20,  "language": "en",  "region": "us"}

Fetch Google Maps reviews

json
{  "query": ["ChIJrc9T9fpYwokRdvjYRHT8nI4"],  "reviews_limit": 20,  "sort": "newest",  "language": "en"}

Get company insights

json
{  "query": ["outscraper.com"],  "fields": ["name", "description", "industry"],  "execution_mode": "async"}

Find emails and contacts

json
{  "query": ["outscraper.com"],  "preferred_contacts": ["technical", "decision makers"],  "execution_mode": "sync"}

Validate email addresses

json
{  "query": ["[email protected]"],  "execution_mode": "sync"}

Fetch Google Maps photos

json
{  "query": ["NoMad Restaurant, NY, USA"],  "photos_limit": 5,  "limit": 1,  "execution_mode": "sync"}

Get chain info

json
{  "query": ["Starbucks, New York, NY, USA"],  "limit": 1,  "execution_mode": "sync"}

Get Trustpilot business data

json
{  "query": ["outscraper.com"],  "execution_mode": "sync"}

Search Google

json
{  "query": ["outscraper"],  "pages_per_query": 1,  "execution_mode": "sync"}

Search Google Images

json
{  "query": ["outscraper"],  "limit": 5,  "execution_mode": "sync"}

Search Indeed

json
{  "query": ["https://www.indeed.com/jobs?q=software+engineer&l=New+York%2C+NY"],  "limit": 10,  "execution_mode": "sync"}

Check account balance

json
{}

Delete async request

json
{  "request_id": "YOUR_REQUEST_ID"}

Known Limitations

  • businesses_search works reliably with structured filters, but free-form query values on /businesses may fail with Could not parse query into a valid request format. This behavior was reproduced against the live API, not only inside the MCP layer.
  • ai_scraper works best through POST with a JSON body. In live validation, POST accepted prompt and schema reliably, while GET variants around schema and query_schema did not match the same behavior consistently.
  • When Outscraper OpenAPI examples and live API behavior differ, live endpoint behavior should be treated as the source of truth.
  • businesses_search is intentionally exposed here as a synchronous MCP tool because the current /businesses OpenAPI shape is request-body-based and did not prove to be a stable async-style workflow during live validation.
  • execution_mode="auto" is heuristic-driven. It is designed to choose a practical default, but callers that need deterministic behavior should explicitly use sync or async.
  • HTTP hosted mode requires correct auth headers when CLOUD_SERVICE=true; stdio mode still expects OUTSCRAPER_API_KEY in the process environment.
  • chain_info is implemented from the documented ai_chain_info enrichment on google-maps-search, because Outscraper currently does not describe a standalone chain info endpoint.
  • builtwith is not currently exposed as a tool because Outscraper currently does not document a dedicated BuiltWith endpoint.

Tool Selection Notes

  • Use businesses_search for structured business discovery with filters and cursor pagination.
  • Use businesses_get once you already have a concrete business id.
  • Use google_maps_search for Google Maps-style place discovery from human search queries.
  • Use google_maps_reviews when the user specifically needs review data rather than place discovery.
  • Use company_insights for firmographics and company profile enrichment.
  • Use emails_and_contacts for contact discovery from known domains.
  • Use requests_get, requests_list, and requests_delete only for async lifecycle management.
  • Use balance_get for account and billing checks, not business data retrieval.

Notes

  • The server supports stdio, stateless Streamable HTTP, and stateful local HTTP/SSE mode.
  • CLOUD_SERVICE=true enables header-based API key resolution for HTTP requests.
  • For npm publication, package contents are intentionally limited to runtime artifacts and docs.
  • Client-specific config snippets in this README are meant as practical templates; the exact settings UI and config key names may vary slightly between MCP clients and versions.

Source: README.md at commit 2fe2b89

Tools

0
This server asks for a credential such as an API key, so SourceWeft could not read its tools without one and has not indexed them.

Version history

1
  1. v0.2.3LatestSep 16, 2026

Score

85% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts