TownIndex for developers and AI agents

Local businesses for AI agents: nationwide, fast, and structured. Free, with no key and no sign-in.

People ask assistants everyday questions: "who can fix my furnace tonight?", "a dentist near me who takes new patients". TownIndex answers them with real local businesses: their phone, hours, whether they're open or taking emergency calls right now, and their state licenses. Every result links to its TownIndex page.

Connect

Use one address for everything: https://townindex.org/api/mcp. There's no key to get and no account to make.

Claude (claude.ai and Claude Desktop)
Settings → Connectors → Add custom connector, then paste the address.
Claude Code
claude mcp add --transport http townindex https://townindex.org/api/mcp
ChatGPT
Turn on developer mode in ChatGPT's settings, add a connector with the address, and set authentication to none.
Cursor
~/.cursor/mcp.json:
{ "mcpServers": { "townindex": { "url": "https://townindex.org/api/mcp" } } }
VS Code (Copilot agent mode)
.vscode/mcp.json:
{ "servers": { "townindex": { "type": "http", "url": "https://townindex.org/api/mcp" } } }
Gemini CLI
~/.gemini/settings.json:
{ "mcpServers": { "townindex": { "httpUrl": "https://townindex.org/api/mcp" } } }
Windsurf
~/.codeium/windsurf/mcp_config.json:
{ "mcpServers": { "townindex": { "serverUrl": "https://townindex.org/api/mcp" } } }
Any other MCP client, or your own agent
JSON-RPC over HTTP POST:
curl -s https://townindex.org/api/mcp -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":
       {"name":"search_businesses","arguments":{"query":"plumber 06114"}}}'

Tools

ToolKindWhat it does
search_businessesReadBusinesses by trade, problem, specialty or name and a place (ZIP, town and state, or state), nearest first with miles from a ZIP. Filters: open now, taking emergency calls now. 20 a page.
get_businessReadOne business in full: phone, address, website, hours and whether it's open now, emergency calls, services, towns served, state licenses, and its own booking page if it has one.
on_call_nearReadEmergency businesses whose owner has switched on "on call" right now, near a ZIP or a point.
report_listing_issueWriteTell us a listing is wrong (closed, moved, wrong phone, hours or website). A person reviews every report.
request_appointmentWriteAsk a business that accepts requests for an appointment, for the user and only when they ask. We email the user a 6-digit code.
confirm_appointment_requestWrite, can't be undoneWith the user's code, sends the request to the business by email. The business contacts the user directly.

Each tool carries a title and read-only or destructive hints, so assistants know which ones to ask the user about first. The server's instructions tell the model how to search well. In short: name the trade or problem and the place, with a ZIP if you know it.

Questions it answers

The user asksThe assistant uses
"My heat is out in Hartford, CT. Who can come tonight?"search_businesses with emergency_now
"A plumber near 06114 who's open now"search_businesses with open_now, nearest first with miles
"Pediatric dentists in Wolcott, CT"search_businesses (specialties are understood)
"Is this electrician licensed in Connecticut?"get_business: license number and expiry, matched to state records
"Book me a cleaning at that dentist next week"the business's own booking page, or request_appointment then confirm_appointment_request
"That number is disconnected"report_listing_issue, after asking the user

Fast

Agents work on a time and token budget, so answers are small and quick. Each result carries the fields an assistant needs and nothing more. Our own measurements, from a home connection in Connecticut on December 5, 2026:

Glama's monitor checks the server's health independently: see its listing.

Where the data comes from

Places come from the Overture Maps Foundation's open data and are checked against each business's own website. Contractors in California, Connecticut, Oregon and Washington are matched to active state licenses, and dental offices to their dentists (NPI register) and their licenses in six states. Owners can claim and correct their listing for free. Hours aren't known for every business, so assistants should suggest calling ahead. More on how we build the directory.

No ads, and nobody can pay for a higher place, so what an assistant passes on is the best match we know, not the highest bidder.

Fair use

Contact

Building something with TownIndex, or need something it doesn't do yet? Write to GoranAStojanov+TownIndex@hotmail.com.