Skip to main content

Getting started

localweave is a self-hosted, multi-tenant platform for local search visibility. Agencies and multi-location businesses use it to:

  • track search positions, including an Area Grid of map points;
  • keep listing data in sync across directories (Presence Sync);
  • manage reviews (Reputation);
  • measure how AI assistants mention them (AI Presence);
  • get a Health Score with Next Actions and Branded Reports.

Everything in the web app is also available through the REST API, webhooks and an MCP server for AI assistants.

Run it locally​

You need Node 24, pnpm, Docker (OrbStack on macOS), process-compose and gitleaks. pnpm dev:doctor checks all of them.

pnpm install
pnpm dev:doctor
pnpm dev:stack # containers, migrations, seed data, identity bootstrap, then every app

The stack starts these services on 127.0.0.1:

ServiceURL
Web apphttp://localhost:3077
Docs (this site)http://localhost:3076
APIhttp://127.0.0.1:4069
MCP serverhttp://localhost:4070/mcp
STS (token exchange)http://127.0.0.1:4067
Zitadel (sign-in)http://localhost:8089

Every service answers GET /ready. Stop everything with pnpm dev:stack:down.

Your first API call​

  1. Get an API token. In the web app, open Settings → API tokens and create one. On the local stack you can also run pnpm api:dev-token, which prints a read-only token for the seed org "Northwind Dental".
  2. Call the API:
first-call.sh
curl -sS -H "Authorization: Bearer $LW_API_TOKEN" "$LW_API_URL/v1/locations?limit=2"

With LW_API_URL=http://127.0.0.1:4069 the seed data answers:

{
"data": [
{ "id": "…", "name": "Northwind Dental Downtown", "…": "…" },
{ "id": "…", "name": "Northwind Dental Eastside", "…": "…" }
],
"nextCursor": "…"
}

The end-to-end suite runs this exact command against the local stack.

Next steps​