Locan Local SEO
Reads Google Places (New) and Google Business Profile data to audit and score a business profile (website, hours, phone, photos, reviews, category), draft descriptions/posts/FAQs/review replies, and compare its categories with competitors ranking for its keywords.
Runs Google Maps text searches with location bias across a 3x3 or 5x5 grid of points around a business to report its local ranking positions.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Locan — free local SEO tools (open source)
Source code of the tools behind locan.ai: a hub of free local SEO tools for small businesses — no account, no card, free forever. If a tool you need doesn't exist, you ask for it on the homepage and we build it, free, usually within 3 days.
Self-host in 3 commands
git clone https://github.com/vaitko/locan-tools.git && cd locan-tools
cp .env.example .env # fill in GOOGLE_PLACES_API_KEY
docker compose up --buildThe site is then on http://localhost:8080, with the API behind /api.
Tool | Needs Places key | Needs LLM | Browser only |
Google Business Profile Optimizer | ✅ | ✅ | |
GBP Category Optimizer | ✅ | ||
Local Rank Checker | ✅ | ||
AI Visibility Checker | ✅ | ||
AI Review Response Generator | ✅ | ||
LocalBusiness Schema Generator | ✅ | ||
Google Review Link & QR Poster | ✅ |
The Local Rank Checker runs one Places text search per grid cell: 9 calls for a 3×3 grid, 25 for a 5×5 grid.
Why self-host: unlimited runs (the hosted API has daily limits), client names never leave your server,
and you choose your own LLM (Replicate, OpenAI, or an OpenAI-compatible endpoint like Ollama or LM Studio).
LLM_MODEL must name a model the chosen provider accepts: openai/gpt-5-nano on Replicate (the default),
gpt-4o-mini with LLM_PROVIDER=openai and an OpenAI key, or the local tag (e.g. llama3.1) with Ollama.
The stack is the same code as locan.ai with SELF_HOSTED=true / PUBLIC_SELF_HOSTED=true: no database, no auth — put it behind your own reverse proxy if you expose it beyond localhost.
Related MCP server: locallens.mcp_server
Use it from an agent
The PyPI package locan-tools (Python ≥ 3.11) ships locan (a CLI) and locan-mcp (an MCP server,
stdio by default; locan-mcp --http --port 8765 for streamable HTTP). Both are thin HTTP clients over the
API. LOCAN_API_URL defaults to https://api.locan.ai/api (the hosted API, which has daily limits);
self-hosters point it at their instance, e.g. http://localhost:8080/api. Install with
uvx --from locan-tools locan … or pipx install locan-tools.
claude mcp add locan -- uvx --from locan-tools locan-mcpSee cli/README.md for the full command/tool list (find-business, gbp-audit,
gbp-categories, rank-grid, ai-visibility, review-reply, review-link, schema-jsonld), and
skills/locan-local-seo/SKILL.md for a ready-made audit procedure for
agents that support skills.
Site pages with more detail: Run Locan from an agent, self-hosting and running it from n8n.
The tools
Tool | What it does |
Google Business Profile Optimizer | Scores the public profile (website, hours, phone, photos, reviews, category) and drafts descriptions, posts, FAQs and review replies with an LLM |
GBP Category Optimizer | Compares your categories with the competitors ranking for your keywords and scores what to add |
Local Rank Checker | 3×3 / 5×5 grid of Google Maps positions around your business (Places text search with location bias) |
AI Visibility Checker | Simulates buyer questions across assistant personas and reports whether your business is named |
LocalBusiness Schema Generator | JSON-LD builder, prefilled from your Google Business Profile — runs in the browser |
Google Review Link & QR Poster | Review link, QR code and printable poster — runs in the browser |
AI Review Response Generator | Three reply variants in the review's language, with handling tips |
How it is built
site/ Astro 7 static site (Tailwind v4). Tool pages = one .astro page + one TypeScript module each.
api/ FastAPI on AWS Lambda (arm64) behind a Lambda Function URL + CloudFront. One router per tool.
infra/ S3 website config (redirects) and the CloudFront redirect function.Upstreams: Google Places API (New) for all business data, an LLM through Replicate
(openai/gpt-5-nano by default; OpenAI direct is supported). DynamoDB holds daily per-visitor quotas and
the subscriber list (double opt-in, one-click unsubscribe). SES sends transactional e-mails and owner
notifications. Tool inputs are never stored.
Why it can stay free: static hosting, one Lambda, Places free tiers, a nano model and daily quotas. The rank grid is the expensive tool (one Places text search per cell), which is why it has the tightest quota.
Run it locally
# API
cd api
python3 -m venv .venv && .venv/bin/pip install -r requirements-dev.txt
cp .env.example .env # GOOGLE_PLACES_API_KEY, REPLICATE_API_TOKEN (or OPENAI_API_KEY + LLM_PROVIDER=openai + LLM_MODEL=gpt-4o-mini)
set -a; source .env; set +a
.venv/bin/uvicorn app.main:app --port 8000 --reload
.venv/bin/pytest -q # no network needed
# Site
cd site
npm install
npm run dev # http://localhost:4321 → talks to http://localhost:8000/api (site/.env)
npm run check # production build + internal link checkerGoogle Cloud: enable Places API (New) and create a server key restricted to it. Replicate: any token with a few dollars of credit (below $5 Replicate throttles to 6 predictions/minute).
Deploy your own
api/deploy.sh (AWS SAM; Lambda + DynamoDB + SES in one region, ACM + CloudFront + Route 53 for the API
domain in us-east-1) and scripts/deploy-site.sh (S3 + CloudFront). Replace the domain, bucket,
distribution and hosted-zone identifiers in api/template.yaml, api/edge-template.yaml,
api/deploy.sh, scripts/deploy-site.sh, site/.env.production and site/src/data/site.ts
(analytics IDs live there too).
Adding a tool
api/app/routers/<name>.py—router = APIRouter(), callawait enforce_tool_quota(request, "tool_<name>")first, usellm.chat_json()/PlacesClient, andawait notify_tool_run(...)on success. Add the module name to_include_tool_routersinapi/app/main.py. Tests inapi/tests/.site/src/data/tools.ts— one entry (copy, pillar, FAQ, related tools).site/src/pages/tools/<slug>.astro(form + results markup insideToolShell) andsite/src/scripts/tools/<slug>.ts(callsapiFetch, renders results, dispatcheslocan:tool-run).
See CONTRIBUTING.md. The best way to propose a tool is still to request it on locan.ai — that is how
every tool here was chosen.
What is not in this repository
The long-form guides published on locan.ai are editorial content and are not open source. The site builds without them (guide sections and links simply don't render). The Locan name and logo are trademarks of their owner and are not covered by the code license.
License
Code: GNU AGPL-3.0. You can run, study, modify and redistribute it; if you offer a modified version as a service, you must publish your changes under the same license.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Local SEO and AI-visibility reports for agencies: Google Maps grid, rivals and ChatGPT answers.
55 local SEO data tools: rankings, reviews, audits, keywords, AI visibility.
AI visibility + fact-checks (ChatGPT/Perplexity), review gaps & competitor scans, local SEO.
Reviews, replies and performance of your business on Google and Maps
Related MCP Servers
AlicenseAqualityBmaintenance42 local SEO tools for AI assistants. SERP tracking, Google Business Profile data, review monitoring, keyword research, AI visibility scoring, geogrid rank scans, citation audits, and competitive analysis.5383 npm3MIT- AlicenseNot gradedqualityBmaintenanceEnables agents to analyze a business's Google Maps visibility, compare it with local competitors, and scan an area for prioritized improvement opportunities through SerpApi-backed tools.MIT

GeoGridAPI MCP serverofficial
AlicenseAqualityCmaintenanceEnables AI assistants and MCP clients to run Google Maps geo-grid rank tracking for local SEO, producing heatmaps, competitor insights, historical trends, and scheduled measurements.1325 npmMIT- AlicenseNot gradedqualityCmaintenanceConnects a Google Business Profile to AI assistants like Claude, ChatGPT, Cursor, and Claude Code so users can query local search and Maps performance, track keywords, and monitor reviews through natural language. It also supports write actions for replying to reviews, publishing local posts, and managing photos and menus, with per-account read-only or read-and-write controls.5MIT