io.github.Raffaele86/local-leads-mcp

Registre officiel Sécurité

Find local businesses with no website via OpenStreetMap, then verify them. No API keys needed.

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

PYPI package local-leads-mcp
Claude Code
claude mcp add local-leads-mcp -e 'BRAVE_API_KEY=<your brave_api_key>' -e 'GOOGLE_CSE_API_KEY=<your google_cse_api_key>' -e 'GOOGLE_CSE_CX=<GOOGLE_CSE_CX>' -e 'PAGESPEED_API_KEY=<your pagespeed_api_key>' -- uvx local-leads-mcp==0.1.1
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "local-leads-mcp": {
            "command": "uvx",
            "args": [
                "local-leads-mcp==0.1.1"
            ],
            "env": {
                "BRAVE_API_KEY": "<your brave_api_key>",
                "GOOGLE_CSE_API_KEY": "<your google_cse_api_key>",
                "GOOGLE_CSE_CX": "<GOOGLE_CSE_CX>",
                "PAGESPEED_API_KEY": "<your pagespeed_api_key>"
            }
        }
    }
}

Variables d'environnement

  • BRAVE_API_KEY secret Brave Search API key (enables confirm_no_website)
  • GOOGLE_CSE_API_KEY secret Google Programmable Search API key (alternative to Brave)
  • GOOGLE_CSE_CX Google Programmable Search engine id (used with GOOGLE_CSE_API_KEY)
  • PAGESPEED_API_KEY secret Google PageSpeed Insights API key (adds Lighthouse scores to score_website)

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. local-leads-mcp
  2. Why this and not a maps scraper?
  3. Quickstart (60 seconds)
  4. Tools
  5. Ethics & fair use
  6. See also
  7. License

local-leads-mcp

Find local businesses that need a website — and prove it — from your AI agent.

One MCP server that discovers local businesses via OpenStreetMap and then verifies them with the checks that separate a real lead list from a pile of false positives. Built for freelancers and agencies that use Claude, Cursor or any MCP client for prospecting.

No API keys required for the core workflow: discovery, website verification, email deliverability check and weak-site scoring all run on free, open infrastructure (Overpass, Nominatim, DNS-over-HTTPS, plain HTTP).

Why this and not a maps scraper?

The hard part of local prospecting isn't getting a list of businesses — it's not embarrassing yourself. Lead lists built from raw map data are full of traps this server checks for explicitly:

  • "No website" that isn't. OSM data can be stale; a missing website tag proves nothing. verify_website checks apex and www and redirects (an apex domain that doesn't resolve while the site lives happily on www. is a classic false "no website"), and confirm_no_website uses a web search as the final word.
  • A Facebook page is not a website. Social profiles, booking aggregators (Fresha, TheFork, Treatwell…), directory listings and free subdomains (*.wixsite.com, *.business.site…) are classified as not_own_site, not as "has a website".
  • Emails that bounce. check_mx predicts deliverability before you ever write to a lead (no MX = guaranteed bounce; PEC-only domains are flagged).
  • "The site is bad" needs evidence. score_website returns citable issues (no HTTPS, no mobile viewport, missing title/meta/H1, no sitemap…), not vibes — optionally with Lighthouse scores via the PageSpeed API.

Every verdict ships with the raw checks that produced it, so your agent can show its work.

Quickstart (60 seconds)

{
  "mcpServers": {
    "local-leads": {
      "command": "uvx",
      "args": ["local-leads-mcp"]
    }
  }
}

That's it — no credentials. Then ask your agent things like:

Find 20 restaurants in Turin with no website, verify each one, and give me a CSV of the confirmed ones with a phone number.

Optional environment variables
VariableEnables
BRAVE_API_KEYconfirm_no_website via Brave Search API
GOOGLE_CSE_API_KEY + GOOGLE_CSE_CXconfirm_no_website via Google Programmable Search
PAGESPEED_API_KEYLighthouse scores inside score_website

Tools

Discovery (OpenStreetMap — no key)
  • find_businesses(area, category, website_filter, phone_prefix, require_phone, limit) — businesses in a city/district, filtered by website presence. ~35 friendly categories plus any raw OSM key=value tag.
  • list_categories() — the category → OSM tag map.
Verification (no key)
  • verify_website(domain_or_url) — verdicts: live_own_site, not_own_site, domain_exists_no_site, no_website_found; includes per-URL evidence.
  • check_mx(domain) — email deliverability pre-check via DNS-over-HTTPS.
Qualification (no key; PageSpeed optional)
  • score_website(url) — 0–100 weak-site score with named issues + CMS/tech detection (WordPress, Wix, Shopify, …).
Confirmation (needs a search key)
  • confirm_no_website(business_name, city) — the final word on "really no website?", classifying search results into own-site candidates vs listings/socials.
Export
  • export_leads(leads_json, format) — CSV, JSON or Markdown table.

Ethics & fair use

  • Data sources are public: OpenStreetMap (© OSM contributors, ODbL), public DNS, and the businesses' own public pages.
  • OSM requests are rate-limited locally (min 1 s between calls) and carry a descriptive User-Agent, per the Nominatim and Overpass usage policies. For heavy workloads, run your own Overpass instance.
  • This server discovers and verifies — it does not scrape personal emails and it does not send anything. How you contact a business is on you: follow your local rules (GDPR and friends).

See also

seo-stack-mcp — the same idea for SEO data: Google Search Console, GA4, Bing Webmaster and Microsoft Clarity in one MCP server. Prospect with local-leads, then monitor the sites you build with seo-stack.

License

MIT.


Built by Raffaele Nocera — web consulting for local businesses. If this tool helps you win a client, I'd love to hear about it.

Questions fréquentes

Qu'est-ce que io.github.Raffaele86/local-leads-mcp ?

Find local businesses with no website via OpenStreetMap, then verify them. No API keys needed.

Comment installer io.github.Raffaele86/local-leads-mcp ?

Il s'exécute sur votre machine. Dans Claude Code : claude mcp add local-leads-mcp -e 'BRAVE_API_KEY=<your brave_api_key>' -e 'GOOGLE_CSE_API_KEY=<your google_cse_api_key>' -e 'GOOGLE_CSE_CX=<GOOGLE_CSE_CX>' -e 'PAGESPEED_API_KEY=<your pagespeed_api_key>' -- uvx local-leads-mcp==0.1.1. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour io.github.Raffaele86/local-leads-mcp ?

Oui. Il attend BRAVE_API_KEY, GOOGLE_CSE_API_KEY, PAGESPEED_API_KEY, à renseigner dans sa configuration.

io.github.Raffaele86/local-leads-mcp est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient io.github.Raffaele86/local-leads-mcp ?

Il est publié par Raffaele86. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.