Local Guide, as an API your assistant can call
Give Claude, ChatGPT, an open-weight model or your own app read access to the local businesses, community events and lake conditions in every community Local Guide covers — with an API key, a standard OpenAPI spec and a remote MCP server. Every result links back to the business or event page.
Base URL https://app.localguideapp.io/api/v1 · MCP https://app.localguideapp.io/api/mcp · Auth Authorization: Bearer lg_agent_…
What you can build
The same data the Local Guide app and website show, as JSON, one community ("market") at a time.
Answer local questions Available
"Where can I eat near the marina that's open now?" "What's happening this weekend?" "Is the lake up?" Search, browse by category or town, open-now and distance filters, events, conditions, prices.
Act for a resident Available
Report a closed or wrong listing, or leave a review on a person's behalf — through the same moderation as the app.
Manage your own listing Available
A business owner's assistant reads their listing, events, analytics and billing, and submits edits for review — with a key bound to that one business.
Get a key
Keys are issued by the Local Guide team, free for assistants and developers answering questions about our communities. Tell us:
- what you're building and who will use it (a public GPT, a Claude connector for your team, your own app);
- which platform you'll connect from (Claude, ChatGPT, an OpenAI-compatible model, custom code);
- which communities you need (or all), and whether you need read access only or to act for a business you own.
Endpoints at a glance
REST, JSON, offset pagination, stable error codes. Full reference in the OpenAPI document. Call GET /v1/markets first and use the market slug everywhere else.
| Method | Path | Scope | What it returns |
|---|---|---|---|
GET | /v1/me | any | Check the API key |
GET | /v1/markets | directory:read | List the communities Local Guide covers |
GET | /v1/markets/{market} | directory:read | Describe one community |
GET | /v1/{market}/categories | directory:read | List a community's business categories |
GET | /v1/{market}/towns | directory:read | List a community's towns |
GET | /v1/{market}/listings | directory:read | Browse or filter local businesses |
GET | /v1/{market}/listings/{id} | directory:read | Get one business with hours and reviews |
GET | /v1/{market}/events | directory:read | List upcoming community events |
GET | /v1/{market}/events/{id} | directory:read | Get one event with its other dates |
GET | /v1/{market}/search | directory:read | Search businesses and events by words |
GET | /v1/{market}/conditions | directory:read | Get lake, river, coastal or weather conditions |
GET | /v1/{market}/pricing | directory:read | Get public listing plans and prices |
POST | /v1/{market}/listings/{id}/report | consumer:write | Report a problem with a business listing |
POST | /v1/{market}/listings/{id}/reviews | consumer:write | Submit a review of a business on a person's behalf |
GET | /v1/owner | owner:read | The business account this key acts for |
GET | /v1/owner/listings | owner:read | The owner's listings |
GET | /v1/owner/listings/{id} | owner:read | One of the owner's listings |
PATCH | /v1/owner/listings/{id} | owner:write | Submit changes to the owner's listing for review |
POST | /v1/owner/listings/{id}/check-allowed | owner:read | Check a listing change against the market's rules |
GET | /v1/owner/events | owner:read | The owner's events and event allowance |
POST | /v1/owner/events | owner:write | Create an event for the owner's business |
PATCH | /v1/owner/events/{id} | owner:write | Update one of the owner's events |
DELETE | /v1/owner/events/{id} | owner:write | Delete one of the owner's draft events |
GET | /v1/owner/analytics | owner:read | The owner's listing analytics |
GET | /v1/owner/billing | owner:read | The owner's subscriptions and invoices |
Try it
curl -s https://app.localguideapp.io/api/v1/me \
-H "Authorization: Bearer $LG_AGENT_KEY"
curl -s "https://app.localguideapp.io/api/v1/ky-breckinridge/search?q=pizza+open+now" \
-H "Authorization: Bearer $LG_AGENT_KEY"
Errors are { "error": "…", "code": "…" } with codes like market_not_found, forbidden_scope, rate_limited (with Retry-After). Reads are limited to 600 requests per 15 minutes per key.
Connect your assistant
Pick your platform. Each guide ends with a one-line smoke test; the full versions live in our docs.
Claude.ai, Claude Desktop and mobile — custom connector
- Open Customize → Connectors (Team/Enterprise: Organization settings → Connectors, as an Owner) and choose Add custom connector.
- Name it Local Guide; URL
https://app.localguideapp.io/api/mcp. - Authentication: No sign in. Under Request headers add
Authorization=Bearer lg_agent_…(your key). - Save, then start a chat: "What's open for dinner in Breckinridge County right now?"
Claude Code
claude mcp add --transport http local-guide https://app.localguideapp.io/api/mcp \
--header "Authorization: Bearer $LG_AGENT_KEY"
Or in .mcp.json: {"mcpServers":{"local-guide":{"type":"http","url":"https://app.localguideapp.io/api/mcp","headers":{"Authorization":"Bearer ${LG_AGENT_KEY}"}}}}. Check with /mcp.
Claude API (MCP connector)
curl https://api.anthropic.com/v1/messages \
-H "x-api-key: $ANTHROPIC_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "anthropic-beta: mcp-client-2026-09-15" \
-H "content-type: application/json" \
-d '{
"model": "claude-sonnet-5-5", "max_tokens": 1024,
"mcp_servers": [{ "type": "url", "url": "https://app.localguideapp.io/api/mcp",
"name": "local-guide", "authorization_token": "'"$LG_AGENT_KEY"'" }],
"tools": [{ "type": "mcp_toolset", "mcp_server_name": "local-guide" }],
"messages": [{ "role": "user", "content": "What events are on this weekend in Breckinridge County?" }]
}'
No MCP? Define tools from the OpenAPI operations instead (see the curl tab).
Custom GPT with Actions
- In ChatGPT, Explore GPTs → Create, then Configure → Actions → Create new action.
- Choose Import from URL and paste
https://app.localguideapp.io/api/openapi.json(or paste the JSON). - Authentication: API Key, Auth Type Bearer, paste your key.
- Privacy policy:
https://app.localguideapp.io/privacy(required to publish a GPT). - Test: "Find a place for pizza in Breckinridge County that's open now."
Meta Model API, Llama and any OpenAI-compatible endpoint
There's no connector marketplace here; you give the model function tools built from our OpenAPI operations and call the API yourself when the model asks. Works with the Meta Model API, Ollama, vLLM, Groq, Together and the OpenAI SDK.
import json, requests
from openai import OpenAI
LG = "https://app.localguideapp.io/api/v1"
H = {"Authorization": f"Bearer {LG_AGENT_KEY}"}
client = OpenAI(base_url="https://api.meta.ai/v1", api_key=META_API_KEY)
tools = [{"type": "function", "function": {
"name": "search", "description": "Search a community's businesses and events by words.",
"parameters": {"type": "object", "required": ["market", "q"], "properties": {
"market": {"type": "string", "description": "Market slug from listMarkets, e.g. ky-breckinridge"},
"q": {"type": "string", "description": "What the person asked for"}}}}}]
def run(name, args):
if name == "search":
return requests.get(f"{LG}/{args['market']}/search", params={"q": args["q"]}, headers=H).json()
msgs = [{"role": "user", "content": "Pizza open now in ky-breckinridge?"}]
r = client.chat.completions.create(model="muse-spark-1.3", messages=msgs, tools=tools)
for call in r.choices[0].message.tool_calls or []:
result = run(call.function.name, json.loads(call.function.arguments))
msgs += [r.choices[0].message, {"role": "tool", "tool_call_id": call.id, "content": json.dumps(result)}]
print(client.chat.completions.create(model="muse-spark-1.3", messages=msgs, tools=tools).choices[0].message.content)
llama-stack can also register our MCP server as a tool group (provider_id="model-context-protocol", endpoint …/api/mcp); how the Authorization header is passed varies by release — check its notes.
Plain HTTP
# communities
curl -s https://app.localguideapp.io/api/v1/markets -H "Authorization: Bearer $LG_AGENT_KEY"
# this weekend's events
curl -s "https://app.localguideapp.io/api/v1/ky-breckinridge/events?thisWeekend=true" -H "Authorization: Bearer $LG_AGENT_KEY"
# nearest open restaurants to a point
curl -s "https://app.localguideapp.io/api/v1/ky-breckinridge/listings?category=restaurants&openNow=true&near=37.78,-86.46&sort=nearest" -H "Authorization: Bearer $LG_AGENT_KEY"
MCP clients (Cursor, Inspector, Zapier, SDKs)
# MCP Inspector smoke test
npx @modelcontextprotocol/inspector --cli --transport http \
--server-url https://app.localguideapp.io/api/mcp \
--header "Authorization: Bearer $LG_AGENT_KEY" --method tools/list
# Cursor: .cursor/mcp.json
{ "mcpServers": { "local-guide": { "url": "https://app.localguideapp.io/api/mcp",
"headers": { "Authorization": "Bearer lg_agent_…" } } } }
Any client that can send a fixed Authorization header over Streamable HTTP works (Zapier MCP Client has a Bearer field). The server is stateless: POST only, no session ids.
MCP server
A remote Model Context Protocol server at https://app.localguideapp.io/api/mcp — Streamable HTTP, stateless, your API key as a Bearer header on every request. Tools are the endpoints above, with descriptions written for the model and the JSON returned as structured content.
| Tool | Scope | What it does |
|---|---|---|
list_markets | directory:read | List the communities (markets) Local Guide covers, with slug, name, area, time zone and page URL. Call this first; every other tool needs a market slug. |
get_market | directory:read | One community in detail: its towns (with listing counts), business categories (with counts), listing and event counts, feature flags (e.g. whether it publishes lake conditions) and page URLs. |
search | directory:read | Search a community’s businesses and upcoming events by words, the way the Local Guide app does: typos, plurals, related words ("plumber" → Plumbing), "open now", "near me" and "events" are understood. Returns ranked listings and events with matchKind (exact / related / broad), onlyBroad when nothing matched closely, and a "did you mean" suggestion. Always show each result’s url. |
list_listings | directory:read | Browse a community’s businesses without a search phrase: filter by category (id or name), town slug, open now and distance; sort by placement or nearest. Paged. Use search when the person gives words. |
get_listing | directory:read | Full details of one business: description, posted hours and whether it is open now, phone, website, address, photos, plus up to 10 approved reviews and the average rating. Use after a search when the person wants details. |
list_events | directory:read | Upcoming community events, soonest first, one row per recurring series. Filter to this weekend, a date window (YYYY-MM-DD), a town, a category or words. Past events are never returned. |
get_event | directory:read | Full details of one event: description, venue and address, date and times, price, website, and for a recurring event its other upcoming dates. |
get_conditions | directory:read | The community’s latest lake level / river / coastal / weather conditions, forecast and alerts, polled every 15 minutes. Only for markets whose get_market features.conditions is true; say when the data was measured (updatedAt). |
get_pricing | directory:read | What a business pays to be listed in this community: the public plans and prices from the pricing page. For business owners asking about listing costs. |
report_listing | consumer:write | Tell Local Guide staff that a business listing is permanently closed, has wrong details, looks like fraud, or is a business type that should not be listed. Staff review every report; nothing is hidden automatically. Use only when the person says something is wrong, and confirm with them first. |
submit_review | consumer:write | Leave a 1–5 star review of a business on the person’s behalf. Collect their first name, last initial, email, rating and text first. They must confirm the review from the email we send, then staff approve it; one review per email per listing per day. |
my_business | owner:read | The business account this key acts for: its markets, listing ids and event ids. Call first before the other my_* tools. |
my_listings | owner:read | The owner’s listings as the business portal shows them, including status and any edit awaiting staff review. |
update_my_listing | owner:write | Submit changes to one of the owner’s listings for staff review: hours, phone, website, description, photos and other portal-editable fields. The live listing changes after approval. Confirm the exact change with the owner first. |
my_events | owner:read | The owner’s submitted events, newest first, with their plan’s event allowance (cap and remaining). |
create_my_event | owner:write | Create an event for the owner’s business and submit it for staff review (submit=false keeps a draft). Needs a title and a date; the plan’s event cap applies. Confirm the details with the owner first. |
update_my_event | owner:write | Change a draft event’s details. Published events are read-only in the portal; ask staff for those. Confirm with the owner first. |
delete_my_event | owner:write | Delete one of the owner’s draft or rejected events. Active events cannot be deleted here (staff deactivate them). Confirm with the owner first. |
my_analytics | owner:read | Views, calls, directions, website clicks and search demand for the owner’s listings over the last N days, as the portal dashboard shows. |
my_billing | owner:read | The owner’s subscriptions, add-ons, pending plan requests and sponsor/ad reports, as the portal’s billing page shows. Read-only. |
Works with Claude (connectors, Claude Code, the Claude API), Cursor, MCP Inspector, Zapier's MCP client and any SDK that sends a Bearer header. ChatGPT's MCP connectors need OAuth and aren't supported yet — use Actions. A key sees only the tools its scopes allow; write tools ask the person to confirm.
Scopes, limits and terms
| Key type | Scopes | For |
|---|---|---|
lg_agent_… | directory:read; optional consumer:write (report a listing, submit a review) | Assistants, partners, developers |
lg_owner_… | directory:read, owner:read, optional owner:write (submit listing edits and events for review) | One business owner's assistant |
- Limits: 600 reads, 20 consumer writes or 60 owner writes per 15 minutes per key; 429 with
Retry-After. - Freshness: lists and search may be up to 30 minutes behind an edit; detail reads are live; conditions are polled every 15 minutes.
- Attribution: when you show a listing or event, link its
url. No bulk copying, mirroring or reselling the directory. - Privacy: searches are logged (query, result count, which key) to improve the directory; nothing about the end user is recorded.
- Full terms: Terms of Service §15, API and Automated Access.
Questions
Is the API free?
Yes for assistants and developers answering questions about our communities. Heavy or commercial use is by arrangement — tell us what you're building when you request a key.
Which communities are covered?
Every live market: call GET /v1/markets or the list_markets tool. Markets we're still setting up don't appear until they go live.
How fresh is the data?
Lists and search read a cache refreshed every 30 minutes (events every 10); listing and event detail reads are live. Lake and weather conditions are polled every 15 minutes and carry updatedAt.
Can my assistant write anything?
With the right key, yes. A key with consumer:write can report a listing problem or submit a review for a person (the reviewer confirms by email, staff approve). A Business-owner key can submit edits to your own listing and create events; everything goes to staff review exactly as in the business portal. Nothing publishes automatically.
Do you support OAuth?
Not yet; the server authenticates with a fixed API key in the Authorization header, which Claude connectors, Claude Code, the Claude API, Cursor and most SDKs accept. ChatGPT's MCP connectors require OAuth, so for ChatGPT use Custom GPT Actions with the OpenAPI spec.
Can I use the data from a web page?
No — the API deliberately has no CORS so a key can't leak through a browser. Call it from your server or your assistant platform.