Self-host Locan in 3 commands
Same tools as locan.ai, running on your own server with Docker Compose — no daily limits, no database, no account.
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 --build
The site is then on http://localhost:8080, with the API behind /api.
What you need
Docker, a Places key, and an LLM
- Docker and Docker Compose.
- A Google Places API (New) key, set as
GOOGLE_PLACES_API_KEY. -
An LLM: a Replicate token (
REPLICATE_API_TOKEN, the default), an OpenAI key (LLM_PROVIDER=openai+OPENAI_API_KEY, withLLM_MODELset to an OpenAI model such asgpt-4o-mini), or an OpenAI-compatible endpoint such as Ollama viaOPENAI_BASE_URL. Whatever you pick,LLM_MODELhas to be a model name that provider accepts.
Which tools need what
Not every tool calls Google or an LLM
| Tool | Needs Places key | Needs LLM |
|---|---|---|
| Google Business Profile Optimizer | Yes | Yes |
| GBP Category Optimizer | Yes | — |
| Local Rank Checker | Yes | — |
| AI Visibility Checker | — | Yes |
| AI Review Response Generator | — | Yes |
| LocalBusiness Schema Generator | — | — |
| Google Review Link & QR Poster | — | — |
What self-hosting removes
No quotas, no analytics, no e-mail capture
The self-hosted build is the same code as locan.ai with SELF_HOSTED=true /
PUBLIC_SELF_HOSTED=true: the daily per-visitor quotas are gone, there is no analytics
or cookie consent, and there is no e-mail capture. There is also no database and no auth — put it
behind your own reverse proxy if you expose it beyond localhost.