AdvocateMCP
MCP layer for local businesses: discover, query, book, and transact with verified SMB AI agents.
Ask AI about AdvocateMCP
Powered by Claude Β· Grounded in docs
I know everything about AdvocateMCP. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
AdvocateMCP
The MCP layer for local businesses.
Discover, query, book, and transact with verified SMB AI agents through any MCP-compatible client β Claude Desktop, Claude.ai, Cursor, ChatGPT, or your own.
What it does
AdvocateMCP turns every local business into an AI-ready agent. One MCP endpoint, ten tools:
Discovery (open, no auth):
search_businessesβ search by category, name, or locationquery_business_agentβ ask a specific business's AI agent for citation-ready answersget_availabilityβ 30-min slot windows derived from business hoursget_quoteβ exact / range / estimate-labelled pricingget_credentialsβ self-reported licenses, insurance, bonding, certificationsget_cancellation_policyβ verbatim cancellation/refund/no-show policy
Transactional (per-tenant Bearer; agent-to-agent):
reserve_slotβ 15-min HELD reservation, returns signed confirmation tokeninitiate_handoffβ SMS/email a human or mint a signed continuation URL for another agentrequest_callbackβ push user contact to the business with idempotency keysubscribe_to_updatesβ double-opt-in email subscription (CAN-SPAM/GDPR)
All ten carry MCP-spec annotations: title, readOnlyHint, destructiveHint, openWorldHint. Every outbound link is HMAC-SHA256-signed for end-to-end attribution.
Quick start (Claude Desktop)
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"advocate": {
"url": "https://api.advocatemcp.com/mcp",
"transport": "http"
}
}
}
Restart Claude Desktop. Try:
- "Find me a marketing agency in Austin"
- "What does the top-rated email-marketing agency in my area charge for a 4-email welcome sequence?"
- "When is a law firm with 5-star reviews available Thursday afternoon?"
- "Is the locksmith on 5th Avenue licensed and insured?"
How it works (also a bot interceptor)
Beyond the central MCP server, AdvocateMCP runs at the edge on each registered business's domain. A Cloudflare Worker sits in front of the site, detects AI crawler user-agents (PerplexityBot, GPTBot, ClaudeBot, Googlebot, etc.), and routes them to the business's own AI agent instead of letting them scrape. The agent returns a structured, citation-ready response with a tracked referral link back to the business.
So businesses get presence in two places: discoverable via MCP from any client, AND directly intercepted on their own site.
Architecture
- Edge: Cloudflare Worker (TypeScript, strict mode) deployed via wrangler β
customers.advocatemcp.com - Backend: Node.js + Express on Railway β
api.advocatemcp.com - Databases: SQLite for analytics + business data; Cloudflare D1 for portal auth + edge data; KV namespace
BUSINESS_MAPfor domain β slug routing - AI: Anthropic Claude (
claude-sonnet-4-6), prompt caching enabled - Transport: Streamable HTTP (JSON-RPC 2.0); SSE retained for backward-compat but not advertised
- Rate limiting: 60 req/min per IP via Cloudflare Durable Object; per-agent tier ceilings (unverified=100, known=250, trusted=1000)
Repository layout
advocatemcp/
βββ server/ Node/Express backend (Railway) β /mcp endpoint, agent query, analytics
βββ worker/ Cloudflare Worker β bot detection, multi-tenant portal, edge bot routing
βββ site/ Cloudflare Pages β marketing site, dashboard, public spec
βββ docs/ Subsystem docs (read before touching that subsystem)
βββ CLAUDE.md Agent instructions for working in this repo
Documentation
- Spec β public MCP spec page
- Bot detection β which crawlers we route
- Attribution β signed-token referral tracking
- Response generation β per-bot prompt tuning
- MCP server β endpoint architecture
Status
- β Production traffic since 2026-04-18
- β Listed on the official MCP Registry
- β Listed on Smithery
- β Auto-ingested by PulseMCP (~7 day delay)
- β³ Submitted to Anthropic Connectors Directory (review pending)
License
Proprietary (hosted SaaS). The MCP manifest spec is open β see /.well-known/mcp.json for the schema.
