Skip to main content
Glama
imshibaji

Headless Lead Scraping MCP Server

by imshibaji

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LLM_MODELYesModel identifier, e.g., qwen3.
LLM_API_KEYYesAPI key for the LLM endpoint. Use a dummy value like 'ollama' or 'lm-studio' for local servers.
LLM_BASE_URLYesBase URL of the OpenAI-compatible API endpoint.
LLM_PROVIDERYesLLM provider identifier: ollama, lmstudio, openai, or any OpenAI-compatible provider.
SEARCH_ENGINESNoComma-separated list of search engines to use, in priority order (e.g., googlemaps,yahoo,duckduckgo,bing,startpage).
MAPS_SEARCH_URLNoURL template for Google Maps search (e.g., https://www.google.com/maps/search/).
MAPS_MAX_RESULTSNoMaximum number of results to retrieve from Google Maps.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_webA

Search the live web across prioritized sources: googlemaps (browser-rendered local places) first, then web engines (yahoo, duckduckgo, bing) and related engines (startpage). No search API key or search provider SDK is required.

scrape_pageB

Fetch a public webpage in real time. Uses HTTP first and Playwright for JavaScript-rendered pages.

extract_leadsB

Extract supported lead fields from supplied public page content using the configured LLM.

find_leadsA

Find leads in priority order: Google Maps places first (browser-rendered, incl. phone/website/address), then live web search engines, then related search engines. Crawls relevant pages, extracts and verifies leads with the LLM, deduplicates, filters by requiredFields, and stores them locally.

list_stored_leadsB

Read leads stored locally by this MCP server.

filter_leadsA

Filter stored leads by keyword, required field presence, and minimum confidence.

export_leadsB

Export stored leads (optionally filtered) to a CSV or JSON file on disk.

clear_stored_leadsA

Delete all locally stored lead records.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/imshibaji/leads-scrapper-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server