Skip to main content
Glama

ailistmybusiness

MCP-aufrufbares Verzeichnis für KI-gestützte KMU-Suche. Länderunabhängiger Katalog ohne PII von Immobilienmaklern, Versicherungsvertretern und medizinischen Fachkräften (Phase 1).

Arbeitstitel. Öffentliche Marke vorbehaltlich der Domainregistrierung. Ordnername und package.json werden umbenannt, sobald die Domain gesichert ist.

Was ist das?

Wenn ein Benutzer ChatGPT, Claude oder Gemini fragt: „Finde mir einen Immobilienmakler in Dallas“ / „Abend-Notfallpraxis in Toronto“ / „zweisprachiger Versicherungsmakler“, ruft die KI diesen MCP-Server auf. Er gibt gerankte Unternehmenslisten mit UTM-getaggten Buchungs-URLs zurück. Der Benutzer bucht direkt beim KMU. Wir sehen niemals Kundendaten – wir sind ein Unternehmenskatalog, kein Lead-Prozessor.

Related MCP server: discava – Business Directory for AI

Status Phase 1

  • [x] MCP-Server-Grundgerüst (Node 20 + TypeScript)

  • [x] 5 Tools: search_businesses, get_business_profile, get_booking_options, search_by_query, get_categories

  • [x] 30 Mock-KMUs in 3 Branchen × 2 Länder (Dallas + Toronto)

  • [x] OpenStreetMap Nominatim Geocoding (kostenlos, keine PII)

  • [x] UTM-getaggte Buchungs-URLs für KMU-Attribution

  • [x] Vitest-Testsuite für alle 5 Tools

  • [x] Smithery + Glama + Railway Manifeste

  • [ ] Supabase-Anbindung (Phase 2)

  • [ ] Stripe-Abrechnung für kostenpflichtige Stufen (Phase 2)

  • [ ] Coinbase x402-Metering für API-Stufe (Phase 3)

Schnellstart

npm install
npm test                    # run unit tests
npm run test:mcp            # smoke test all tools end-to-end
npm run dev                 # start MCP server on stdio
npm run http                # start HTTP server on :3000 (preview endpoints + Railway entrypoint)

Besuchen Sie dann http://localhost:3000/preview/search?category=realtor&location=Dallas, um das Ranking-Ergebnis zu sehen.

Architektur

src/
  server.ts              # MCP server (stdio transport, Smithery entrypoint)
  http.ts                # Express server (Railway entrypoint, /health, /preview/*)
  types.ts               # BusinessProfile, SearchHit, BookingOptions, etc.
  tools/                 # one file per MCP tool
    searchBusinesses.ts
    getBusinessProfile.ts
    getBookingOptions.ts
    searchByQuery.ts
    getCategories.ts
  lib/
    db.ts                # data access — switches on DATA_SOURCE env (mock | supabase)
    ranking.ts           # 6-factor weighted relevance score
    utm.ts               # UTM URL builder for booking links
    geo.ts               # OpenStreetMap Nominatim geocoder + Haversine distance
data/
  mockBusinesses.json    # 30 sample SMBs (realtors, insurance, medical × Dallas, Toronto)
  categories.json        # vertical taxonomy
scripts/
  seed.ts                # Supabase seeder (Phase 2 stub)
  test-mcp.ts            # smoke test runner
tests/
  tools.test.ts          # Vitest tests for all tools

Regel für null PII

Dieser Katalog speichert nur Unternehmensdaten:

  • Unternehmensname, Adresse, Öffnungszeiten, Dienstleistungen

  • Öffentliche Referenzen und Lizenznummern

  • Aggregierte Bewertungsanzahlen und -ratings (bezogen aus öffentlichen APIs in Phase 2)

  • UTM-getaggte Buchungs-URLs

Er speichert ausdrücklich nicht:

  • Kunden-/Patientennamen, Telefonnummern, E-Mails oder andere Identifikatoren

  • Versicherungsdetails, Krankengeschichte oder alles, was unter HIPAA / PIPEDA / DSGVO fällt

  • Individuelle Buchungsdatensätze oder Termindaten

Buchungsablauf: Der Agent erhält die Buchungs-URL des KMU → der Benutzer klickt → der Benutzer bucht im eigenen System des KMU. Wir sehen Impressionen; das KMU sieht Conversions über UTM-Tags in seinen eigenen Analysen.

MCP-Tool-Verträge

search_businesses

{
  category: string,         // "realtor" | "insurance_agent" | "medical_practitioner" | etc.
  location: string,         // "Dallas, TX" — geocoded server-side
  countryCode?: "US" | "CA" | "GB" | "AU" | ...,
  language?: string,        // ISO-639-1, e.g. "en", "fr", "es"
  subcategory?: string,
  maxResults?: number,      // default 10, max 25
  minRating?: number
}
→ SearchHit[]

get_business_profile

{ id: string, agentName?: string }
→ BusinessProfile  // bookingUrl is UTM-tagged

get_booking_options

{ id: string, agentName?: string }
→ { bookingUrl, acceptedMethods, hours, timezone, fallbackContact }

search_by_query

{ query: string, location?: string, countryCode?: string, maxResults?: number }
→ SearchHit[]

Die Implementierung in Phase 1 basiert auf Schlüsselwörtern/Teilzeichenfolgen. Phase 2 ersetzt dies durch pgvector oder OpenAI-Embeddings für eine echte semantische Suche.

get_categories

{ countryCode?: string }
→ CategoryEntry[]

Ranking-Logik

Gewichteter Score (0–100) pro Unternehmen:

  • Stufe (20%) — Gesundheitswesen 100 / Profi 85 / Standard 65 / Kostenlos 40

  • Entfernung (30%) — näher am Abfrageursprung erzielt höhere Punktzahlen

  • Bewertung (20%) — öffentliches Bewertungs-Rating × Volumen

  • Branchen-/Unterkategorie-Übereinstimmung (20%)

  • Verifizierter Eintrag (5%)

  • Sprachübereinstimmung (5%)

Siehe src/lib/ranking.ts.

Übergabe an Claude Code

Sobald Sie diesen Ordner in Ihr lokales Entwicklungsverzeichnis geklont haben:

# 1. Install
npm install

# 2. Initialize git
git init
git add .
git commit -m "Initial scaffold: MCP server + 5 tools + mock data"
git branch -M main
git remote add origin git@github.com:YOUR_GH_USERNAME/ailistmybusiness.git
git push -u origin main

# 3. Validate locally
npm run typecheck
npm test
npm run test:mcp

# 4. Submit to Smithery (when ready)
#    https://smithery.ai/new — point to your GitHub repo

# 5. Deploy HTTP entrypoint to Railway (when ready)
#    https://railway.app/new — uses railway.json

Plug-in-Punkte für Phase 2

Wenn Sie bereit sind, echte Dienste anzubinden:

Dienst

Was zu tun ist

Zu bearbeitende Datei

Supabase

Tabellen businesses + categories erstellen, SUPABASE_* Umgebungsvariablen setzen, DATA_SOURCE=supabase setzen, npm run seed ausführen

src/lib/db.ts

Stripe

Abrechnungsrouten hinzufügen, POST /webhooks/stripe anbinden, kostenpflichtige Funktionen im Ranking einschränken

src/http.ts, neu src/billing/

Coinbase x402

MCP-Tool-Handler in einen gemessenen Facilitator einwickeln

src/server.ts, neu src/lib/x402.ts

AEO-Syndizierung

Profile an Google Business pushen + schema.org-Markup auf Landingpages

neu src/syndication/

Echte Bewertungen

Für Phase-2-Einträge von Google Places / OSM abrufen

neu src/lib/reviews.ts

Lizenz

Proprietär. © 2026 Charles Mutamiri.

Available Tools

5 tools
get_booking_optionsA

Get UTM-tagged booking URL plus accepted methods and hours for a business. The user books directly with the SMB; we never see customer data.

Inputs: id (required), agentName.

get_business_profileA

Get full structured profile for a business by ID. Returns services, hours, credentials, languages, contact channels, and a UTM-tagged booking URL.

Inputs: id (required), agentName.

get_categoriesA

List available business verticals per country. Use to discover what kinds of businesses agents can search for in a given region.

Inputs: countryCode.

search_businessesB

Search businesses by category and location. Returns ranked hits with name, city, rating, and matchScore. Filters: countryCode, language, subcategory, minRating, maxResults.

Inputs: category (required), location (required), countryCode, language, +3 more.

search_by_queryA

Natural-language search across the catalog. Use for fuzzy queries like 'evening dentist that takes Sun Life' or 'realtor in Dallas who speaks Spanish'.

Inputs: query (required), location, countryCode, maxResults.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: get_booking_options returns booking URL and hours; get_business_profile returns full structured profile; get_categories lists business verticals; search_businesses performs structured search; search_by_query handles natural-language queries. No overlaps.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern in snake_case: get_* for retrieval operations, search_* for searching. Predictable and clear.

    Tool Count5/5

    5 tools is well-scoped for a business listing and search server. It covers the core functionalities of searching (two modes), retrieving profiles, booking options, and category discovery without being bloated.

    Completeness4/5

    The tool surface covers the main use cases: search by category/location, natural-language search, profile retrieval, booking info, and category listing. Minor gaps include lack of review details or contact info beyond what's in the profile, but overall it's complete for a read-only search and listing service.

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      Search for local businesses worldwide. Structured data optimized for AI agents. • Search Millions of businesses over 49 countries (Europe, Northamerica, Southamerica, Asia, Oceania) • Quality & demand scoring for every business • Ranking based on real user click-through data • No API key needed, free access • Rate limit: 500 requests/hour per IP
      -
    • A
      license
      A
      quality
      C
      maintenance
      Search for local businesses worldwide. Structured data optimized for AI agents. • Search Millions of businesses over 49 countries (Europe, Northamerica, Southamerica, Asia, Oceania) • Quality & demand scoring for every business • Ranking based on real user click-through data • No API key needed, free access • Rate limit: 500 requests/hour per IP
      6
      1
      MIT