Yelp Searchのロゴ

Yelp Search

組織
letta-ai
yelp-search

Search Yelp for local businesses, get contact info, ratings, and hours. Use when finding services (cleaners, groomers, restaurants, etc.), looking up business phone numbers to text, or checking ratings before booking. Triggers on queries about finding businesses, restaurants, services, or "look up on Yelp".

概要

公開者letta-ai
リポジトリskills
スキル名yelp-search
スター
144
フォーク
25
同梱ファイル
5
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 5個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    letta-aiがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Yelp Search」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/letta-ai/skills/tree/main/tools/yelp-search
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/letta-ai/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/tools/yelp-search .claude/skills/yelp-search
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでYelp Searchを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にYelp Searchを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Yelp Searchは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Yelp Search Integration

Search for local businesses on Yelp to find services, get contact information, check ratings, and retrieve hours of operation.

Setup

1. Yelp API Key (Required)

  1. Go to https://www.yelp.com/developers
  2. Create an account or sign in
  3. Click "Create App" and fill out the form
  4. Copy your API Key

Add to your .env file:

YELP_API_KEY=your_api_key_here

2. Browser-Use for Reviews (Optional)

Only needed if you want to extract review text (slow, ~30-60s per request).

Install dependencies:

bash
uv add browser-use playwright langchain-openai
uv run playwright install chromium

Add to .env:

OPENAI_API_KEY=your_openai_key_here

Note: Review extraction uses browser-use to search DuckDuckGo (since Yelp blocks direct scraping). For most use cases, the rating + review_count from the API is sufficient.

Scripts

All scripts are in tools/yelp-search/scripts/ and should be run with uv run python.

search.py - Find Businesses (Primary Tool)

bash
uv run python tools/yelp-search/scripts/search.py "search term" --location "City, State"

Options:

FlagDescriptionExample
--location, -lCity, address, or zip"San Francisco" or "94123"
--latitude/--longitudeGPS coordinates--latitude 37.78 --longitude -122.41
--limit, -nNumber of results (default: 5)-n 10
--sort-bySort orderrating, distance, review_count, best_match
--pricePrice filter (1-4)--price 1,2 for $ and $$ only
--jsonOutput raw JSON

Examples:

bash
# Find top-rated dog groomers
uv run python tools/yelp-search/scripts/search.py "dog groomer" -l "San Francisco" --sort-by rating

# Find cheap restaurants nearby
uv run python tools/yelp-search/scripts/search.py "restaurants" -l "94123" --price 1,2 --sort-by distance

# Search near a specific address
uv run python tools/yelp-search/scripts/search.py "laundry pickup" -l "123 Main St, San Francisco"

details.py - Get Business Hours & Info

bash
uv run python tools/yelp-search/scripts/details.py "business-alias"

The business alias is in the Yelp URL (e.g., the-laundry-corner-san-francisco).

phone_search.py - Reverse Lookup

bash
uv run python tools/yelp-search/scripts/phone_search.py "+14155551234"

get_reviews.py - Extract Review Text (Slow)

bash
uv run python tools/yelp-search/scripts/get_reviews.py "Business Name" -l "City" -n 3

Note: Uses browser-use which is slow (~30-60s). Yelp blocks direct scraping, so it searches DuckDuckGo for cached reviews as a workaround.

scrape_reviews.py - Direct Yelp Scraping (Alternative)

bash
uv run python tools/yelp-search/scripts/scrape_reviews.py "https://www.yelp.com/biz/business-alias" -n 5

Requires Browserbase credentials:

BROWSERBASE_API_KEY=your_key_here
BROWSERBASE_PROJECT_ID=your_project_id

Note: Uses Browserbase with proxies to bypass Yelp's CAPTCHA. More reliable than get_reviews.py but requires a Browserbase account.

Best Practices

Evaluating Quality Without Review Text

The API provides rating + review_count which is usually sufficient:

RatingReview CountInterpretation
4.5+50+Excellent, reliable data
4.5+<20Promising but limited data
4.0-4.4100+Good, well-established
<4.0anyProceed with caution

Finding Services with Specific Needs

When looking for services with specific requirements (weekend hours, pickup/delivery, etc.):

  1. Search with --sort-by rating to get best options
  2. Get details on top candidates to check hours
  3. Filter for businesses open when you need them
  4. Contact directly to confirm specific services (pickup, delivery, etc.) since Yelp doesn't always have this info

Search Tips

  • Use specific terms: "laundry pickup" not just "laundry"
  • Search near an address for accurate distance: -l "123 Main St, City"
  • Sort by rating first, then check distance on results
  • Check review_count - high ratings with few reviews may be unreliable

Response Data

Each business result includes:

  • name - Business name
  • phone - Phone number (use for texting/calling)
  • rating - Yelp rating (1-5 stars)
  • review_count - Number of reviews
  • price - Price level ($ to $$$$)
  • location - Full address
  • hours - Operating hours by day (in details)
  • distance - Distance from search location
  • categories - Business categories
  • is_open_now - Current open/closed status

Limitations

FeatureStatusNotes
Business search✅ WorksFast, reliable
Business details✅ WorksIncludes hours
Phone lookup✅ WorksReverse search
Review text (API)❌ Paid onlyRequires enterprise tier
Review text (scraping)⚠️ Slowbrowser-use workaround via DuckDuckGo
  • Free API tier: 500 calls/day
  • Results limited to 50 per request
  • Some business info (pickup/delivery) not in API - contact directly

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Yelp Search」では何ができますか?

Search Yelp for local businesses, get contact info, ratings, and hours. Use when finding services (cleaners, groomers, restaurants, etc.), looking up business phone numbers to text, or checking ratings before booking. Triggers on queries about finding businesses, restaurants, services, or "look up on Yelp".

TypingMindでYelp Searchを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Yelp Searchはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにYelp Searchをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/letta-ai/skills/tree/main/tools/yelp-searchを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Yelp Searchを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Yelp Searchで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもYelp Searchを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Yelp Search」は無料ですか?

letta-aiがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇