
plek
com.useplek/plek
Local business leads for AI agents: US places with emails, phones and socials, pay per result.
Documentation
plek
Local business leads for your AI agent.
One ask finds the places, reads their websites, checks the emails and hands back clean rows.
Website · Quickstart · Catalog · llms.txt · API reference

What it does
Ask your agent for "every med spa in Miami with an email" and plek does the whole job in one call:
- Find places: live Google Maps results, or 18M+ US places from Overture Maps open data.
- Read websites: emails, phones and social profiles from each business's own site (it follows robots.txt).
- Verify emails: valid, catch-all, invalid or unknown.
- Clean rows: one de-duplicated format, as JSON or CSV.
No scrapers to run, no provider accounts, no subscription. A prepaid balance, charged per result.
Quickstart
Paste this into Claude Code, ChatGPT, Cursor, Grok or OpenClaw:
set up plek - https://useplek.com/llms.txt
Your agent reads the setup file, installs the CLI and asks for your key. New keys come by email with $1 of free credit.
CLI
curl -fsSL https://useplek.com/install.sh | sh
plek signup you@company.com # the key arrives by email
plek login
plek search "dentist" --near "Phoenix, AZ"
plek leads "roofer" --near "Dallas, TX" --verify --csv leads.csv
plek balance
plek topup 20
MCP
claude mcp add --transport http plek https://useplek.com/mcp/ --header "X-Plek-Token: plek_..."
Tools: search_places, get_leads, start_leads_job, get_job, balance, topup.
REST
curl -H "X-Plek-Token: plek_..." \
"https://useplek.com/v1/leads?q=med%20spa&near=Miami,%20FL&limit=20"
Every paid response carries X-Plek-Cost-Micro (1 USD = 1,000,000 micro).
OpenClaw
mkdir -p ~/.openclaw/skills/plek
curl -fsSL https://useplek.com/skill.md -o ~/.openclaw/skills/plek/SKILL.md
Pricing
| Per 1,000 | |
|---|---|
| Place from open map data | $0.50 |
| Place from live Google Maps | $2.00 |
| Lead with an email found | + $3.00 |
| Verified email | + $1.00 |
| Failed provider call | $0 |
The email price is charged only when an email is found. Big pulls reserve the worst case up front and refund the rest. Free credit covers up to 100 results per call; there are 60 requests a minute per account.
Self-hosting
python3 -m venv .venv && .venv/bin/pip install -e '.[dev]'
.venv/bin/pytest -q # recorded data, no live calls
python scripts/download_overture.py --out data # open data, about 1.4 GB
.venv/bin/uvicorn plek.main:app --reload
The website is a Next.js static export in web/ (pnpm build), served by the API at /.
After changing a price run python scripts/export_catalog.py; after changing skill.md run
python scripts/export_skill.py. Tests fail if either copy is out of date.
Defaults are for running locally; the hosted service sets them in fly.toml and Fly secrets.
| Variable | Local default | Meaning |
|---|---|---|
PLEK_DATABASE_URL | sqlite:///plek.db | SQLite or Postgres |
PLEK_PUBLIC_URL | http://localhost:8000 | Base URL used in links and docs |
PLEK_OVERTURE_DIR | data | Where the open data lives |
DATAFORSEO_LOGIN / DATAFORSEO_PASSWORD | – | Google Maps source (without it, open data is the default) |
MILLIONVERIFIER_API_KEY | – | Email verification |
RESEND_API_KEY | – | Emails new API keys |
STRIPE_SECRET_KEY / STRIPE_WEBHOOK_SECRET | – | Top-ups |
PLEK_FREE_CREDIT_MICRO | 1000000 | Free credit for new accounts ($1) |
Code layout
src/plek/
api.py, main.py HTTP app: REST, /mcp, agent setup files
service.py places, leads and pricing, shared by REST and MCP
mcp_server.py MCP tools
cli.py the plek command
accounts.py sign-up, Stripe top-ups and webhook
billing.py accounts, API keys, balance
limits.py rate limits and the free-tier cap
enrich.py contact details from business websites
jobs.py background jobs for big pulls
places.py the common Place shape and de-duplication
sources/ DataForSEO, MillionVerifier, Overture
agent_docs/ llms.txt, skill.md, install.sh
skills/plek/ the OpenClaw skill (MIT-0)
scripts/ open-data download, catalog and skill export, Resend setup
web/ the website
tests/ pytest, with recorded provider responses
Data and fair use
plek returns public business information from Google Maps (through DataForSEO), Overture Maps (CDLA Permissive 2.0) and each business's own website. Use it business to business only and follow anti-spam law (CAN-SPAM, GDPR). Questions: ryan.cuff@icloud.com.
License
FSL-1.1-ALv2: use, change and self-host it freely, but don't offer it as a competing paid
service. Each release becomes Apache 2.0 two years after it ships. The skill in skills/plek is MIT-0.
Built by Ryan Cuff.
No installation packages available.