yelp-mcp-sdk
yelp-mcp-sdk
公式MCP Python SDK上に構築されたYelp Fusion MCPサーバーです。
yelp-mcp-min (FastMCP) と機能的には同一ですが、フレームワークの抽象化を使用せず、低レベルの Server クラスを直接使用しています。
前提条件
Python 3.11以上
uv 0.11以上
Docker (オプション)
Yelp Fusion APIキー — https://www.yelp.com/developers/v3/manage_app
Related MCP server: Yelp Fusion MCP Server
インストール
uv sync
cp .env.example .env
# Edit .env and set YELP_API_KEY実行
# stdio transport (for use with Claude Desktop or an MCP client)
uv run python -m server.main
# Docker
docker build -t yelp-mcp-sdk .
docker buildx build -t yelp-mcp-sdk .
docker run --env-file .env yelp-mcp-sdk環境変数
変数名 | 必須 | デフォルト | 説明 |
| はい | — | Yelp Fusion APIベアラートークン |
| いいえ |
| APIベースURL |
| いいえ |
| リクエストタイムアウト(秒) |
| いいえ |
| 429/5xxエラー時の最大リトライ回数 |
| いいえ |
| 最小バックオフ待機時間(秒) |
| いいえ |
| 最大バックオフ待機時間(秒) |
| いいえ |
| structlogレベル |
| いいえ |
| JSON形式でログを出力 |
ツール
ツール名 | Yelpエンドポイント | 説明 |
|
| ページネーション対応の全文検索および地理検索 |
|
| E.164電話番号によるビジネス検索 |
|
| 構造化された名前と住所をYelpのリストと照合 |
|
| Yelp IDまたはエイリアスによるビジネスプロファイルの取得 |
|
| ページネーション対応のカスタマーレビュー取得 |
リソース
yelp://business/{id} — application/json 形式の完全なYelpビジネスプロファイル。
list_resource_templates を介して宣言され、read_resource を介して取得されます。
プロジェクト構造
yelp-mcp-sdk/
server/
main.py # Server("yelp-mcp", lifespan=...) + stdio run
core/
config.py # pydantic-settings
logging.py # structlog → stderr
client.py # async httpx + tenacity retry
models.py # Pydantic output models
handlers/
params.py # Pydantic input models (also generate inputSchema)
tools.py # list_tools() + call_tool() dispatcher
resources.py # list_resource_templates() + read_resource()
tests/
conftest.py
test_client.py
test_models.py
test_handlers.py
Dockerfile
pyproject.toml
.env.exampleテストの実行
uv run pytest -vyelp-mcp-min (FastMCP) との比較
側面 | yelp-mcp-min (FastMCP) | yelp-mcp-sdk (公式SDK) |
ツール登録 |
|
|
入力スキーマ | 関数シグネチャから自動生成 |
|
出力型 | Pydanticモデルを直接返却 | JSON文字列を含む |
リソース |
|
|
依存関係注入 | なし (クロージャでキャプチャ) |
|
トランスポート |
|
|
サーバー行数 | 約350 | 約450 |
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables conversational interactions with Yelp's business data through an MCP server, allowing natural language queries about local businesses, multi-turn conversations, and direct business inquiries powered by Yelp Fusion AI.126Apache 2.0
- FlicenseNot gradedqualityDmaintenanceProvides access to Yelp's business database for searching local businesses, retrieving detailed ratings and reviews, and performing market research through business counts. It enables users to look up businesses by location, category, or phone number using the Yelp Fusion API.1
- FlicenseAqualityDmaintenanceMinimal MCP server for the Yelp Fusion API v3, enabling business search, phone lookup, match, details, and reviews via FastMCP.5
- AlicenseNot gradedqualityBmaintenanceProvides MCP tools for Google Maps services including directions, geocoding, distance matrix, and places search.14Apache 2.0
Related MCP Connectors
Live Google Maps business search, review, and photo data for AI agents over MCP.
Recreation.gov MCP — wraps the Recreation Information Database (RIDB) API v1
Recipes MCP — wraps TheMealDB API (free tier, no auth)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/miqui/yelp-mcp-sdk'
If you have feedback or need assistance with the MCP directory API, please join our Discord server