---
name: ScraperCity TAM Builder
description: Pull every company in a market across the database and the live scrapers, deduped into one total addressable list. Runs on the ScraperCity MCP server.
---

# ScraperCity TAM Builder

Pull every company in a market across the database and the live scrapers, deduped into one total addressable list.

## When to use it

Use when you need every company in the market, not a sample: every business in a category and region, with contacts attached.

## ScraperCity MCP tools this uses

- `query_lead_database`
- `scrape_maps`
- `scrape_store_leads`

Set up the server first: see https://scrapercity.com/mcp for the config and https://scrapercity.com/how-to-use for the start, poll, download pattern and error codes.

## Steps

1. Define the market with the user: category, region, and any platform or size constraints.
2. Pull the core from query_lead_database, the local businesses from scrape_maps, and any ecommerce brands from scrape_store_leads.
3. For each scrape, poll check_run_status until SUCCEEDED, then download_results.
4. Dedupe on domain and business name across all sources, keep the most complete record, and return one CSV.

## Inputs

A market definition: category plus region, e.g. medical spas in Texas.

## Output

One deduped CSV of every company in the market, with a column noting the source of each row.

## Cost and tips

Run the sources in parallel where you can. Match on domain first, then normalized business name, to catch duplicates across sources.

Scrapers draw per result from your wallet balance. find_emails and find_mobiles charge only when a result is found. The B2B database is unlimited on the $149/mo plan. Check counts before you export so spend stays predictable.
