yelp-mcp-sdk
yelp-mcp-sdk
MCP-сервер для Yelp Fusion, построенный на официальном Python SDK для MCP.
Функционально идентичен yelp-mcp-min (FastMCP), но использует низкоуровневый класс Server напрямую — без абстракций фреймворка.
Предварительные требования
Python 3.11+
uv 0.11+
Docker (опционально)
API-ключ Yelp Fusion — 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 |
| Нет |
| Базовый URL API |
| Нет |
| Тайм-аут запроса в секундах |
| Нет |
| Макс. количество повторов при 429/5xx |
| Нет |
| Мин. время ожидания повтора (сек) |
| Нет |
| Макс. время ожидания повтора (сек) |
| Нет |
| Уровень логирования structlog |
| Нет |
| Вывод логов в формате JSON |
Инструменты
Инструмент | Эндпоинт Yelp | Описание |
|
| Полнотекстовый + гео-поиск с пагинацией |
|
| Поиск компании по номеру телефона E.164 |
|
| Сопоставление названия+адреса с данными Yelp |
|
| Полный профиль компании по ID или алиасу Yelp |
|
| Отзывы клиентов с пагинацией |
Ресурс
yelp://business/{id} — Полный профиль компании Yelp в формате application/json.
Объявлен через 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 -vСравнение с yelp-mcp-min (FastMCP)
Аспект | yelp-mcp-min (FastMCP) | yelp-mcp-sdk (официальный SDK) |
Регистрация инструментов | Декоратор |
|
Схема ввода | Автогенерация из сигнатуры ф-ции | Явное |
Тип вывода | Возврат модели Pydantic напрямую |
|
Ресурсы | Декоратор | Пара |
Внедрение зависимостей | Нет (через замыкания) | Контекст |
Транспорт |
|
|
LOC сервера | ~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