mcpField
L
Local Business Lead Finder

Local Business Lead Finder

ローカル
b2b.medicpc51.clビジネス・マーケティング02 週間前に更新

Local Business Lead Finder について

Local Business Lead Finder は、Google Maps 上で Places のウェブサイト URL がない地域事業者を探す MCP サーバーです。ウェブ制作、SEO、マーケティングの営業先探しに使え、結果を CSV に出力できます。

主な機能

  1. 01ウェブサイトのない事業者を検索
  2. 02都市と業種で検索
  3. 03Places API の結果をページ取得
  4. 04placeId で重複を排除
  5. 05見込み客を CSV に出力

活用シーン

  1. 01ウェブサイトのない歯科医院を探す
  2. 02地域 SEO の営業先リストを作成
  3. 03事業者リードを表計算用に保存

MCP 対応

MCP クライアントに `find_businesses_without_website` と `export_leads_csv` を公開します。Google Places API (New) を照会し、`GOOGLE_PLACES_API_KEY` が必要です。

設定

ローカルサーバーの設定はどのクライアントでも共通です。コピーしてクライアントの MCP 設定ファイルに貼り付けてください。

mcp.json · 共通設定
{
"mcpServers": {
"ellokillox-mcp-local-leads": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GOOGLE_PLACES_API_KEY",
"ghcr.io/ellokillox/mcp-local-leads:1.0.0"
],
"env": {
"GOOGLE_PLACES_API_KEY": "<GOOGLE_PLACES_API_KEY>"
}
}
}
}
起動コマンドdocker run -i --rm -e GOOGLE_PLACES_API_KEY ghcr.io/ellokillox/mcp-local-leads:1.0.0
設定が必要な環境変数
GOOGLE_PLACES_API_KEYシークレットGoogle Places API (New) key with billing enabled. Create it at https://console.cloud.google.com/google/maps-apis and enable 'Places API (New)'.

ローカルサーバーにはマシン上の実行環境(Node.js 18 以上など)が必要です。設定ファイルの場所はクライアントごとに異なります。

パッケージ
ocighcr.io/ellokillox/mcp-local-leads:1.0.0

ツール

ツール一覧はまだ取得されていません

ローカルサーバーのツールはマシン上で起動して初めて取得できます。メンテナーはまだツール一覧を提供していません。

README(原文)English

プロジェクトの README より

この README の日本語訳はまだありません。以下は英語の原文です。日本語の紹介はページ上部をご覧ください。

mcp-local-leads

ellokillox/mcp-local-leads MCP server

tests License: MIT deps Listed on mcpservers.org Listed on MCP Collection

An MCP server (Model Context Protocol) that finds local businesses that appear on Google Maps but have no website — the most obvious prospect list there is if you sell websites, SEO or marketing to local businesses.

Ask Claude Desktop / Claude Code / Cursor / any MCP client:

"Find dental clinics without a website in Temuco, Chile and save them to a CSV."

and the AI calls this server, which queries Google Places API (New), paginates, drops duplicates by placeId and returns only the businesses whose websiteUri is empty.

  • One file, zero dependencies. Standard library only, Python 3.9+ (tested in CI on 3.9, 3.12 and 3.13). No pip install, no Node, no build step.
  • Narrow field mask (11 fields). Places bills by the fields you request, so asking for less costs less.
  • Two tools: find_businesses_without_website and export_leads_csv.
  • No scraping, no third-party data brokers. It reads the field Google already returns.

Install

One command — the published image (official MCP Registry: io.github.ellokillox/mcp-local-leads, image on GHCR for amd64 and arm64):

docker run -i --rm -e GOOGLE_PLACES_API_KEY=your_key ghcr.io/ellokillox/mcp-local-leads:1.0.0

…and in a client config:

{
  "mcpServers": {
    "local-leads": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "-e", "GOOGLE_PLACES_API_KEY=your_key",
               "ghcr.io/ellokillox/mcp-local-leads:1.0.0"]
    }
  }
}

No Docker — one file. Save server.py, get a Google Places API (New) key with billing enabled: https://console.cloud.google.com/google/maps-apis. Enable Places API (New).

Claude Desktop (claude_desktop_config.json, macOS ~/Library/Application Support/Claude/, Windows %APPDATA%\Claude\):

{
  "mcpServers": {
    "local-leads": {
      "command": "python3",
      "args": ["/ABSOLUTE/PATH/TO/server.py"],
      "env": { "GOOGLE_PLACES_API_KEY": "YOUR_KEY_HERE" }
    }
  }
}

Claude Code / any client that takes a stdio command:

GOOGLE_PLACES_API_KEY=your_key python3 server.py

Restart the client and the tools show up.

Docker (this is also how directory checks build it):

docker build -t mcp-local-leads .
docker run -i --rm -e GOOGLE_PLACES_API_KEY=your_key mcp-local-leads

-i keeps stdin open and there is no -t: an MCP stdio server speaks one JSON line per message, and a pseudo-TTY would corrupt it. The image is python:3.12-slim plus server.py — nothing to install, runs as an unprivileged user.

Tools

find_businesses_without_website
ArgumentTypeDefaultMeaning
citystring (required)—e.g. "Temuco, Chile", "Austin, TX"
nichestring—"dental clinics", "plumbers", "restaurants"… without it, generic local businesses
countrystring—appended to the query when the city does not include it
limitint 1–6020how many businesses without a website to return
page_sizeint 1–2020results per Places request (Google's cap is 20)
max_pagesint 1–33pages to read — each page is a billed request
languagestring—languageCode for results, e.g. "es", "en"

Returns leads (name, address, city, phone, rating, review count, type, Maps URL, coordinates, placeId), plus businesses_seen, with_website, without_website, requests, pages and next_page_token so the model knows what it actually did and what it cost in requests.

The city field is parsed from Google's formattedAddress, which ends with the country: for "Av. Alemania 123, Temuco, La Araucanía, Chile" the city column is La Araucanía, not Chile.

export_leads_csv

Writes the leads array to a CSV (12 columns, UTF-8 with BOM so Excel opens it correctly). Excel, Numbers and LibreOffice all import it as-is.

What was actually tested

python3 test_mcp_local_leads.py — 45 checks against a mock of Places API (New) served on localhost, driving server.py over real stdio JSON-RPC:

3) Busqueda real contra el mock (2 paginas)
  OK    negocios vistos = 7
  OK    con web = 3
  OK    sin web = 4
  OK    ids sin web y sin duplicados: ['p1', 'p3', 'p5', 'p7']
  OK    textQuery = dental clinics in Temuco, Chile
  OK    la 2a peticion envia pageToken
  OK    field mask estrecha: 11 campos
  OK    ciudad = penultima parte de la direccion ('La Araucanía', no 'Chile')
...
== 45 comprobaciones · 0 fallos ==

python3 test_mcp_sdk_client.py — the same server driven by the official Python MCP SDK (stdio_client + ClientSession), i.e. the same code path Claude Desktop uses: initialize → list_tools → call_tool for both tools, 4 leads returned, CSV written.

Both scripts are in this repo's tests/ folder and run in CI on every push (.github/workflows/test.yml, Python 3.9 / 3.12 / 3.13). The SDK interop step needs Python 3.10+, because that is the SDK's own minimum; the server itself does not.

test_mcp_docker.py — the same handshake inside the container, from the published Dockerfile (this is the check directories that build servers run: the image must start and answer introspection):

1) docker build                    OK  imagen construida
2) arranque sin clave              OK  isError=true y el mensaje nombra GOOGLE_PLACES_API_KEY
3) initialize / tools/list         OK  serverInfo.name = mcp-local-leads · 2 herramientas
4) tools/call contra el mock       OK  3 negocios vistos · 2 sin web · ids ['p1','p3']
                                   OK  field mask 11 campos · clave en X-Goog-Api-Key
5) export_leads_csv                OK  2 filas escritas dentro del contenedor
== RESULTADO: TODO OK (16 comprobaciones) ==

Limits (read this before you buy a key)

  • Places has no emails. It returns phone and address; finding a decision-maker's email is a separate step (and a separate problem).
  • Every page is billed by Google. Set max_pages low while you experiment. Check current Places pricing before running this at scale — prices are Google's to change, so this repo does not quote them.
  • "No website" means Places has no websiteUri. Some businesses have a Facebook page instead; that is still a business that needs a website.
  • Results honour Google's own ranking for the text query. Different niches and cities behave differently; there is no magic query.

Related

  • Free n8n version of the same first step (Places → Google Sheets, built-in nodes only): n8n-find-local-businesses-without-website
  • If you want the rest of the pipeline — lead scoring rubric, per-business research prompts, first-contact templates in ES/EN, industry configurations and the n8n workflows — that is a paid kit at https://b2b.medicpc51.cl (Spanish, local payment in Chile).

This server is free and MIT on purpose: MIT means take it and use it.

Español

Servidor MCP que encuentra negocios locales que aparecen en Google Maps pero no tienen sitio web: la lista de prospectos más obvia que existe si vendes webs, SEO o marketing a negocios locales. Un solo archivo, sin dependencias, Python 3.9+.

Le pides a tu cliente de IA: «busca clínicas dentales sin web en Temuco y guárdalas en un CSV» y el modelo llama a este servidor, que consulta Places API (New), pagina, descarta duplicados por placeId y devuelve solo los que no tienen websiteUri.

Instalación: guarda server.py, pon tu clave en GOOGLE_PLACES_API_KEY y añade el servidor a claude_desktop_config.json (el ejemplo está arriba). El campo city se toma de la penúltima parte de la dirección, porque Google termina en el país.

Limitaciones: Places no devuelve correos (solo teléfono y dirección), cada página se factura y «sin web» significa que Places no tiene websiteUri — puede tener una página de Facebook, que sigue siendo un negocio sin web.

License

MIT — see LICENSE.

コメント

MCP は初めてですか?

プロトコルの概要から最初のサーバーの導入まで、よくある疑問にまとめて答えます。

AI アプリケーションが外部のツールやデータソースに統一的な方法で接続するためのオープンなプロトコルです。クライアントはモデルとの対話を担い、MCP サーバーはツール・リソース・プロンプトテンプレートを提供します。標準メッセージでやり取りするため、1 つのサーバーを複数のクライアントで再利用できます。