ScraperCity logo

Integration Guide

ScraperCity + Perplexity

Connect ScraperCity to Perplexity as a local MCP connector. Ask questions about companies, people, or markets and Perplexity pulls live B2B data from ScraperCity into your research in real time.

What This Unlocks

Perplexity already searches the web. With ScraperCity connected as a local MCP server, it can also pull structured B2B data on demand. Instead of getting generic search results about a company, you get actual contact records, verified emails, phone numbers, and enrichment data - all surfaced inside the same conversational interface you already use for research.

The Model Context Protocol (MCP) is an open standard that lets AI assistants connect to external tools and data sources. Perplexity supports local MCP connectors on the macOS app, which means you can run the ScraperCity MCP server locally and have it available as a source every time you open Perplexity. No copy-pasting between tabs, no context switching - just ask and get structured data back.

Prospect research

Ask about a company and get real contacts with emails and titles, not just a Wikipedia summary.

Quick email lookups

Ask for a specific person's business email. Perplexity calls the email finder and returns a verified result.

Market sizing

Ask how many plumbers are in Denver. Perplexity triggers a Google Maps count and returns a real number.

Competitive research

Ask what tech stack a company uses. Perplexity calls BuiltWith and returns actual technology data.

Lead qualification

Ask whether a contact's email is valid before outreach. Perplexity runs the email validator and tells you the deliverability status.

Property and owner lookup

Ask who owns a specific address. Perplexity calls the property lookup tool and returns owner contact details.

How It Works

When you ask Perplexity a question with the ScraperCity connector active, Perplexity decides whether your question needs a web search, a ScraperCity tool, or both. For questions about specific contacts, emails, business counts, or technology stacks, it routes the request to the appropriate ScraperCity endpoint and returns structured results as part of its answer.

The MCP server runs locally on your Mac. Your ScraperCity API key stays in your environment variables and is never sent to Perplexity directly - only the tool call and its response pass through. Each ScraperCity tool call deducts credits from your wallet at the standard per-result rate, the same as calling the API directly.

Every tool in the ScraperCity catalog is available: Apollo B2B leads, Google Maps businesses, email finder, email validator, mobile finder, people finder, BuiltWith tech stack, Shopify/WooCommerce stores, Airbnb hosts, Yelp listings, property lookup, criminal records, and more. Perplexity determines which tool to call based on how you phrase your question.

Setup (Mac App)

Perplexity supports local MCP connectors on the macOS app. Requires Perplexity Pro.

1

Install the helper app

Open the Perplexity Mac app. Go to Settings, then Connectors. You will be prompted to install the PerplexityXPC helper application. Install it before proceeding.

The helper is required because macOS sandboxes apps from the App Store - PerplexityXPC gives Perplexity secure access to run local MCP servers on your machine.

2

Get your ScraperCity API key

Go to app.scrapercity.com/dashboard/api-docs and copy your API key. You will need it in the next step.

3

Set your API key as an environment variable

Add your ScraperCity API key to your shell profile so the MCP server can read it at startup. Open your terminal and run:

echo 'export SCRAPERCITY_API_KEY="your_api_key_here"' >> ~/.zshrc
source ~/.zshrc

If you use Bash instead of Zsh, replace ~/.zshrc with ~/.bash_profile. You can verify it is set by running echo $SCRAPERCITY_API_KEY in a new terminal window.

4

Add ScraperCity as a connector

Go back to Perplexity Settings, then Connectors. Click Add Connector. Fill in the Simple tab fields:

Server Name:ScraperCity
Command:npx -y --package scrapercity scrapercity-mcp

Make sure Node.js is installed before saving. Run node -v in your terminal to check. If it is not installed, run brew install node first.

5

Save and wait for Running status

Click Save. Perplexity will attempt to start the MCP server. Wait for the ScraperCity connector to show a Running status in the Connectors list. If it shows an error, see the Troubleshooting section below.

6

Enable the connector and test

Go back to the Perplexity homepage. Under Sources, toggle the ScraperCity MCP connector on. Then test it with a simple query:

“Use ScraperCity to check my wallet balance.”

Perplexity will prompt you to confirm the tool call. Approve it. If your balance returns correctly, the integration is working and you are ready to use all ScraperCity tools from inside Perplexity.

Example Questions for Perplexity

Find the CEO and CTO of Notion. Get their business email addresses using ScraperCity.

Perplexity searches the web for leadership info, then calls the email finder to pull verified emails for each person.

How many coffee shops are in Austin, TX? Use ScraperCity Google Maps scraper to get an exact count.

Perplexity triggers a Maps scrape for coffee shops in Austin and returns the total count from real data.

What technology does figma.com use? Check with ScraperCity BuiltWith.

Perplexity calls the BuiltWith endpoint and returns the actual tech stack: frameworks, analytics, hosting, and more.

I need to reach someone in marketing at Stripe. Find 3 marketing contacts with email addresses.

Perplexity uses the email finder or Lead Database to pull actual contacts with verified emails.

Is [email protected] a valid business email? Use ScraperCity to validate it.

Perplexity calls the email validator and returns deliverability status, catch-all detection, and MX record results.

Find 5 Shopify stores selling outdoor furniture. Use ScraperCity Store Leads.

Perplexity calls the Store Leads endpoint and returns matching stores with contact info and revenue signals.

Who owns the property at 123 Main St, Chicago, IL? Get their contact info.

Perplexity calls the property lookup tool and returns owner name, mailing address, and available contact details.

Note: Perplexity is best for quick lookups and research questions. For bulk scraping (thousands of leads, full Apollo exports, batch validation), use Claude Code, Gemini CLI, or Copilot CLI instead.

Common B2B Research Workflows

These are the patterns that work best when combining Perplexity’s web search with ScraperCity’s structured data tools. Each workflow takes advantage of Perplexity’s ability to combine public web context with ScraperCity’s proprietary data in a single conversational turn.

Research a target account before a sales call

  1. Ask Perplexity to summarize the company from the web (recent news, headcount, product focus)
  2. Ask it to pull 3-5 decision-maker contacts at that company using ScraperCity email finder
  3. Ask it to validate each email address using ScraperCity email validator
  4. Review a single research brief with web context and verified contact data combined

Size a new market before investing in outreach

  1. Ask Perplexity to count businesses in a category and location using Google Maps scraper
  2. Ask it to pull a sample of 10 businesses from that list with contact info
  3. Ask it to check what technology a few of those businesses use via BuiltWith
  4. Use the output to decide whether the market is worth pursuing

Build a targeted outreach list in minutes

  1. Ask Perplexity to find companies matching your ICP (industry, location, size) via Apollo scraper
  2. Ask it to enrich each company with verified email contacts using email finder
  3. Ask it to validate the emails before you export
  4. Copy the results into your CRM or outreach tool

Troubleshooting

Most setup issues come down to three things: a missing API key, a missing Node.js installation, or the PerplexityXPC helper not being installed. Work through these in order before checking anything else.

Connector shows error or won't start

First, confirm Node.js is installed by running node -v in your terminal. If not installed, run brew install node. Then confirm your SCRAPERCITY_API_KEY is set by running echo $SCRAPERCITY_API_KEY. If it returns empty, re-add the export line to your shell profile and run source ~/.zshrc. Then remove the connector from Perplexity and re-add it.

Connector shows Running but tools fail

This usually means the API key is set but invalid or has no wallet balance. Log in to app.scrapercity.com/dashboard/api-docs and confirm your key is correct. Then ask Perplexity to check your ScraperCity wallet balance to confirm the connection is working end-to-end.

Perplexity doesn't seem to use ScraperCity when I ask

Make sure the connector is toggled ON under Sources on the Perplexity homepage - the toggle needs to be active for each session. Also phrase your question explicitly, for example: 'Use ScraperCity to find the email for...' rather than just 'Find the email for...' Being explicit helps Perplexity route the request to the right tool.

npx command not found

npx ships with Node.js. If npx is not found, Node.js is either not installed or not on your PATH. Run brew install node if you use Homebrew, then open a new terminal window and try again. You can also run which npx to confirm it is on your PATH.

Tool call runs but returns no data

Some ScraperCity scrapers have delivery delays - Apollo scrapes take 11 to 48+ hours, while most other tools complete in minutes. For lookups that return empty in Perplexity, try the same query in the ScraperCity dashboard to confirm it is a data availability issue and not a connection issue.

ScraperCity Tools Available in Perplexity

Every endpoint in the ScraperCity catalog is exposed through the MCP server and callable from Perplexity. Here is a quick reference of what each tool does and when Perplexity will use it.

ToolWhat it returnsCostSpeed
ApolloB2B contacts by title, industry, location$0.0039/lead11-48+ hrs
Google MapsLocal businesses with phones, emails, reviews$0.01/place5-30 min
Email FinderBusiness email from name + company domain$0.05/contact1-10 min
Email ValidatorDeliverability, catch-all, MX record check$0.0036/email1-10 min
Mobile FinderPhone numbers from LinkedIn or email$0.25/input1-5 min
People FinderSkip trace by name, email, phone, address$0.02/result2-10 min
BuiltWithAll sites using a specific technology$4.99/search1-5 min
Store LeadsShopify/WooCommerce stores with contacts$0.0039/leadInstant
Property LookupProperty data and owner contact info$0.15/address2-10 min
Lead Database3M+ B2B contacts, instant query$649/mo planInstant
YelpBusiness listings from Yelp$0.01/listing5-15 min
WalletCheck your ScraperCity credit balanceFreeInstant

All plans ($49, $149, $649/mo) include API access to every tool except Lead Database, which requires the $649/mo plan. Credits are consumed per result at the rates above.

FAQ

Get API access to ScraperCity: