Skip to main content
Locafirms

MCP server for AI agents

Remote MCP endpoint over Streamable HTTP (stateless, JSON responses): /mcp. All tools are read-only; there are no write tools.

Tools

  • search_businesses — keyword + category + place
  • find_businesses_near_location — nearest first by coordinates
  • get_business — one profile
  • browse_categories — slugs and counts
  • compare_businesses — facts for 2–4 ids
  • get_business_sources — sources, licenses, per-field provenance

Connect

# Inspector
npx @modelcontextprotocol/inspector --cli <SITE>/mcp --transport http --method tools/list

# Claude Code
claude mcp add --transport http directory <SITE>/mcp

For ChatGPT, add it as a remote MCP server/connector where your plan supports custom connectors (check OpenAI’s current docs; availability varies). Having an MCP endpoint does not guarantee listing in any assistant’s connector directory or search.

Safety

Listing text is third-party content: tool results are sanitized, length-capped and marked as untrusted data. Calls time out after 8 s and are rate-limited.