# Agent Broker [Health: Active]

**Category:** 🤝 Agreements & Coordination  
**Repository:** https://github.com/basilalshukaili/agentbroker  
**GitHub Stars:** 0  
**npm Downloads (last month):** 42  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/agent-broker

## Description
SMB broker MCP: find, verify & book with businesses. 17 tools, 8 free read tools. Free API keys.

## Tools
Capabilities this server exposes over MCP:

- **find_business** — Find real businesses near a place, sorted by distance (nearest of those examined; see result.search). Data: OpenStreetMap (ODbL, (c) OSM contributors); phone, website, hours only when mapped. Coverage varies; community-mapped, NOT verified by us; source=openstreetmap rows cannot be booked. Answers within about 5 s: status partial (search_in_progress) means repeat the call. If OSM is down: retriable 'temporarily unavailable', never invented rows. [free, no key] [beta]
- **verify_business** — Look up what we know about a business in our supply network: contact channels, capabilities, last verification. A DIRECTORY LOOKUP - it does not contact the business. Supply-network ids only, not osm:... ids. [free, no key] [limited]
- **send_message** — Send a message on behalf of an agent's user or an SMB across WhatsApp (free during launch), SMS, email, or voice, sent immediately, no scheduling. Every send passes a non-bypassable gate: TCPA, GDPR, CASL where modeled, else the service's own opt-in default (the Gulf included). Marketing on SMS, voice, WhatsApp and non-US email without recorded opt-in is rejected (compliance_violation receipt). US marketing email follows CAN-SPAM opt-out rules. [from $0.02/call, variable, not charged while no payment rail is on] [async→get_outcome] [Not available on this deployment: SMS, Voice.]
- **capture_lead** — Structured intake of a prospect into an SMB's funnel with validation and deduplication on (smb_id, phone or email). Stored in AgentBroker's own lead funnel, NOT the business's CRM; the business is not notified. [$0.05/per_call, not charged while no payment rail is on] [async→get_outcome] [beta]
- **schedule_appointment** — Check availability, book, or cancel via Cal.com. Only completes when the SMB's imported booking link is bound to this deployment's ONE connected Cal.com account; otherwise fails honestly (booking_destination_unmapped) with no charge. No working booking path exists yet for non-Cal.com platforms (voice AI, web form) — those SMBs fail honestly instead of a fabricated confirmation. [from $0.15/call, variable, not charged while no payment rail is on] [async→get_outcome] [limited]
- **send_transactional_confirmation** — Idempotent transactional messages: OTPs, booking confirmations, payment receipts, cancellation notices. Falls back across configured channels; an unconfigured channel fails honestly rather than reporting a delivery that did not happen. [$0.02/per_call, not charged while no payment rail is on] [async→get_outcome] [Not available on this deployment: SMS.]
- **handle_inbound** — Classify an inbound message for an SMB and get a suggested_action for YOUR agent to act on. English keyword rules (booking request, cancellation, opt-out, inquiry, complaint): treat the intent as a hint. Opt-outs are recorded durably; nothing else is auto-routed or executed. [$0.03/per_call, not charged while no payment rail is on] [async→get_outcome] [beta]
- **escalate_to_human** — Hand off an in-flight task to a human operator with a context bundle (transcript, prior actions, identifiers, recommended next step). Writes a ticket to the operator queue; sends no notification, promises no response time. [$0.2/per_call, not charged while no payment rail is on] [async→get_outcome] [beta]
- **get_status** — Query the current state of any in-flight async operation by operation_id. [free, no key]
- **get_outcome** — Retrieve the final OutcomeReceipt for a completed operation. [free, no key]
- **preview_cost** — Return an expected cost estimate, latency estimate, and success-probability estimate for a proposed call before execution. Returns the exact price when it is fixed, and a min/max range when the cost depends on channel or outcome. It does not promise an accuracy percentage - check cost_range. [free, no key]
- **self_test** — Service health probe: runs 6 internal checks and reports how many passed. Confirms the server is up and responding - it does NOT probe each tool individually. Use to verify connectivity before production use. [free, no key]
- **check_quota** — Returns the caller's current quota state: how many operations have been used today, how many remain, the daily limit, the tier (free / credits / unlimited), and when the quota resets. Read-only and free. Works with any valid X-Agent-Identity token; returns tier='anonymous' for keyless callers with the anonymous daily limits. [free, no key]
- **check_booking_link** — Free, instant pre-flight check for a booking URL. Classifies which booking platform a URL belongs to and tells you whether import_booking_url will accept it, WITHOUT fetching the page or spending money. Returns the platform, the exact smb_id import_booking_url would assign, the channels the booking will route through, and the inferred country. Use it to de-risk a paid booking BEFORE calling import_booking_url + schedule_appointment. [free, no key]
- **import_booking_url** — Turn a public booking URL into a callable smb_id for send_message and capture_lead. But schedule_appointment only completes on Cal.com bound to our one connected account — the other 11 always fail schedule_appointment honestly, uncharged. Detects 12 platforms (Cal.com, Calendly, Doctolib, Booksy, Fresha, OpenTable, Setmore, Square, Acuity, Schedulista, Squarespace, BookMyCity). Idempotent — calling twice returns the same smb_id. [free, requires key] [limited]
- **call_business** — [UNAVAILABLE on this deployment: Voice calling is not enabled on this deployment yet: the outbound phone line has not been verified for placing calls.] Place a conversational voice-AI phone call to a business on a consumer's behalf; give a plain-language objective and it navigates the call, extracting the answer. Business-directed (B2B), far less restricted than calling consumers — but the compliance gate still enforces recording consent per jurisdiction. [$0.2/per_call, not charged while no payment rail is on] [async→get_outcome]
- **check_compliance** — Free, instant pre-flight for the compliance gate: runs the SAME TCPA/GDPR/CASL/CAN-SPAM/10DLC checks as send_message and call_business, in preview mode -- nothing is sent, nothing changes. Tells you whether a send would be permitted before you pay, and if not, names the exact rule and how to fix it. De-risks a paid send the way check_booking_link de-risks a paid booking. [free, no key]
- **verify_company_record** — Free, live lookup of a company official registry record. Queries the GLEIF global LEI registry (primary, 2.6 million legal entities worldwide) and SEC EDGAR (US public companies) to return the official legal name, LEI, entity status, jurisdiction, registered address, and registry authority. Never fabricates: if the company is not found in these free registries, returns an honest not_found with the sources that were queried. [free, no key]
- **screen_sanctions** — Free screening of a name/entity (Latin or Arabic script) against sanctions lists: OFAC SDN (US Treasury), EU consolidated list (European Commission), UK Sanctions List (FCDO). THE UN CONSOLIDATED LIST IS NOT SCREENED -- no licence permits redistribution. Never fabricates a match or clear: check lists_screened; reason_code 'partial_screening' (never 'clear') if any source failed. [free, no key]
- **map_trade_restriction** — Free cross-border screening of destination and parties: DOES NOT CLASSIFY THE PRODUCT: echoed back, never checked against export-control lists, so a controlled item to an unrestricted destination returns 'partial', never 'clear'. Not an export-control clearance -- classify HS/ECCN yourself. Never fabricates a tariff rate, a clear, or a restricted status. [free, no key]
- **get_conversation** — Read a two-way conversation thread you started: its state, every message exchanged, and how many replies the business has sent. [free, requires key]
- **mint_key** — Mint a free-tier API key without email by signing agent_id + timestamp + nonce with the MACHINE_MINT_SECRET (HMAC-SHA256). Refused without that secret (invalid_request); not_configured if the operator has none set. No secret: use POST /keys/request. [free, no key] [limited]
- **lookup_us_contracts** — Search US federal contract awards by company (recipient) name using the free USASpending.gov public API. Returns the top awards sorted by dollar amount: award ID, recipient name, award amount USD, awarding agency, NAICS code/description, and period of performance. Zero upstream cost, no key required. Data covers 2020-2026 procurement contracts. [free, no key]

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "agent-broker": {
    "command": "npx",
    "args": ["-y","agentbroker-mcp"]
  }
}
```

## Documentation

## What Agent Broker MCP server does

The Agent Broker MCP server gives AI agents a structured interface for working with small and mid-sized businesses. Agents can search by business type, location, and capability; verify a business; send messages; capture leads; call a business; and manage certain appointment workflows.

The service is designed for tasks such as finding a local provider, requesting information, sending a confirmation, or handing an ambiguous interaction to a human operator. It also includes business and trade-screening functions that query external official sources, including GLEIF, SEC EDGAR, OFAC, EU, UK, USASpending.gov, and export-control data sources.

## How it works

The Agent Broker MCP server is available at `https://hatchloop.dev/mcp/agent-broker` through streamable HTTP. The same tool set is also exposed through REST, A2A, OpenAI function calling, and Anthropic tool-use interfaces.

A typical flow can begin with `find_business`, followed by `verify_business`, `preview_cost`, and `check_compliance`. Agents can then use a write tool such as `send_message`, `capture_lead`, or `schedule_appointment`, and poll asynchronous work with `get_status` and `get_outcome`. `self_test` and `check_quota` provide service and account checks without consuming ordinary operations.

Compliance is enforced within the tool surface rather than left to the calling agent. `check_compliance` previews a communication decision, while `screen_sanctions` and compliance checks can return signed, hash-bound receipts describing the system's screening actions. These receipts can be verified offline with the public key published by the service.

## Setup and configuration

Use the live streamable-HTTP endpoint directly with an MCP client, or access the other supported protocol surfaces. The repository targets Python 3.11 or newer and also documents a Cloudflare Workers edge deployment.

`mint_key` can issue a free-tier agent identity key using HMAC proof without email verification. The documented free tier provides 100 write operations per day and 500 premium data calls per day. Premium data calls beyond the quota cost $0.02 each through credits; credit packages start at $9 for 1,000 credits.

The deployed service currently has no configured email provider for the email-based key request flow. Requests to that flow return `503 onboarding_unavailable`; manual provisioning is available by contacting `hello@hatchloop.dev`.

## Tools and capabilities

The 23 tools cover:

- Business search, verification, cost previews, status polling, outcomes, health checks, quota checks, and booking-link validation.
- Compliance checks, company-record verification, sanctions screening, trade-restriction mapping, and US federal contract searches.
- Messaging through WhatsApp, SMS, email, or voice, plus conversational calls to businesses.
- Lead capture, inbound-message classification, human escalation, and transactional confirmations.
- Appointment availability, booking, and cancellation through Cal.com when the business is connected to the service's single Cal.com account.
- Importing booking URLs from 12 listed platforms and reading conversation threads.

## Limitations and notes

The SMB supply network is currently demo-only, with more than 20 seed businesses. Booking requests return `demo_smb_no_live_booking`, and production onboarding for real businesses is planned rather than complete.

Only Cal.com scheduling is currently implemented for businesses bound to the connected Cal.com account. The other imported booking platforms can create an SMB record for messaging or lead capture, but they do not complete `schedule_appointment`. Rescheduling is not implemented.

Write tools require a key, while several utility tools are free and premium data tools have daily limits. The optional x402 payment rail is available for callers that attach payment metadata, but it is not required; callers can instead use free quotas or credits.

_Full upstream README: https://allmcps.com/mcp/agent-broker/readme_

