CDEK MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CDEK MCP Server Рассчитай доставку из Москвы в Санкт-Петербург, посылка 1 кг"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
CDEK MCP Server
MCP (Model Context Protocol) сервер для интеграции с API СДЭК. Позволяет Claude, AI Studio и другим AI-ассистентам рассчитывать стоимость доставки, создавать заказы и отслеживать отправления.
🚀 Быстрое развертывание (1 минута)
Рекомендация: Railway - лучший бесплатный вариант
⚡ Кликните кнопку "Deploy on Railway" выше
🔑 Добавьте CDEK_CLIENT_ID и CDEK_CLIENT_SECRET
🌐 Получите рабочий URL:
https://your-app.railway.app🎯 Используйте в AI Studio:
https://your-app.railway.app/manifest
Related MCP server: India Logistics MCP
📦 Установка
Через npm
npm install -g cdek-mcpЛокальная установка
git clone https://github.com/yourusername/cdek-mcp.git
cd cdek-mcp
npm install
npm run build⚙️ Настройка
1. Получите учетные данные от СДЭК
Заключите договор со СДЭК или запросите тестовые доступы
Получите Client ID и Client Secret в личном кабинете
Для тестового окружения:
https://api.edu.cdek.ru/v2
2. Варианты использования
Вариант A: Claude Desktop (локально)
Создайте файл конфигурации:
macOS:
mkdir -p ~/.cdek-mcp
cat > ~/.cdek-mcp/.env << 'EOF'
CDEK_CLIENT_ID=your_client_id
CDEK_CLIENT_SECRET=your_client_secret
CDEK_BASE_URL=https://api.cdek.ru/v2
EOFОткройте ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"cdek": {
"command": "cdek-mcp"
}
}
}Вариант B: Внешний HTTP сервер (для AI Studio)
Локальный запуск:
# Создайте .env файл
export CDEK_CLIENT_ID=your_client_id
export CDEK_CLIENT_SECRET=your_client_secret
# Запустите HTTP сервер
npm run serverСервер будет доступен:
Health:
http://localhost:3003/healthManifest:
http://localhost:3003/manifestTools:
http://localhost:3003/tools
Для AI Studio:
Запустите сервер или разверните на Railway/Render
В AI Studio используйте URL:
http://localhost:3003/manifest(или ваш URL деплоя)AI Studio автоматически обнаружит все доступные инструменты
3. Перезапустите Claude Desktop
Полностью закройте и откройте заново Claude Desktop.
💬 Использование
Теперь вы можете спрашивать Claude:
"Рассчитай доставку из Москвы в Санкт-Петербург, посылка 1 кг"
"Найди ближайшие ПВЗ в Москве"
"Отследи заказ по номеру 1234567890"
"Создай заказ на доставку тарифом посылка склад-дверь"
"Покажи все доступные тарифы СДЭК"
"Закажи курьера на завтра с 10 до 18 часов"
🛠️ Доступные инструменты
Калькулятор доставки
calculate_delivery- Рассчитать стоимость и сроки по конкретному тарифуcalculate_delivery_all_tariffs- Рассчитать по всем доступным тарифамget_tariffs- Получить список тарифов
Управление заказами
create_order- Создать заказ на доставкуget_order- Получить заказ по UUIDget_order_by_cdek_number- Найти заказ по номеру СДЭКget_orders_list- Получить список заказовdelete_order- Удалить заказ
ПВЗ и локации
get_pickup_points- Поиск пунктов выдачи заказовget_cities- Справочник городовget_regions- Справочник регионов
Курьер
create_courier_pickup- Заказать курьера на заборget_courier_pickup- Информация о заборе
Отслеживание и услуги
track_order- Отследить отправлениеget_services- Список дополнительных услуг
🌐 HTTP API
При развертывании HTTP сервера доступны эндпоинты:
# Проверка работоспособности
GET /health
# MCP Manifest
GET /manifest
# Список инструментов
GET /tools
# Выполнение инструмента
POST /tools/:toolName
Content-Type: application/json
# Пример:
POST /tools/calculate_delivery
{
"tariff_code": 136,
"from_location": {"code": 44},
"to_location": {"code": 137},
"packages": [{"weight": 1000}]
}🔧 Разработка
Сборка проекта
npm run buildЗапуск в режиме разработки
# Для Claude Desktop (stdio)
npm run dev
# Для HTTP сервера
npm run serverТестирование через MCP Inspector
npx @modelcontextprotocol/inspector node build/index.js📚 Документация
📝 Требования
Node.js 18+
Учетные данные API СДЭК (Client ID и Client Secret)
📄 Лицензия
MIT License - см. файл LICENSE
🤝 Поддержка
Если у вас возникли проблемы:
Проверьте, что учетные данные API верны
Убедитесь, что у вас активен договор со СДЭК (для production)
Проверьте логи в панели деплоя или консоли
Создайте issue на GitHub
🔗 Ссылки
Available Tools
15 toolscalculate_deliveryA
Рассчитать стоимость и сроки доставки по конкретному тарифу
Inputs: packages (required), tariff_code (required), to_location (required), from_location (required).
calculate_delivery_all_tariffsC
Рассчитать стоимость и сроки доставки по всем доступным тарифам
Inputs: packages (required), to_location (required), from_location (required).
create_courier_pickupC
Заказать курьера для забора посылки
Inputs: date (required), weight (required), time_to (required), time_from (required), +6 more.
create_orderC
Создать заказ на доставку в СДЭК
Inputs: packages (required), recipient (required), tariff_code (required), to_location (required), +6 more.
delete_orderC
Удалить заказ
Inputs: uuid (required).
get_citiesC
Получить список городов из справочника СДЭК
Inputs: city, code, page, size, +3 more.
get_courier_pickupC
Получить информацию о заборе курьером
Inputs: uuid (required).
get_orderB
Получить информацию о заказе по UUID
Inputs: uuid (required).
get_order_by_cdek_numberC
Найти заказ по номеру СДЭК
Inputs: cdek_number (required).
get_orders_listC
Получить список заказов с фильтрацией
Inputs: page, size, status, date_to, +1 more.
get_pickup_pointsC
Получить список пунктов выдачи заказов (ПВЗ)
Inputs: city, page, size, have_cash, +7 more.
get_regionsC
Получить список регионов
Inputs: page, size, country_codes.
get_servicesB
Получить список дополнительных услуг СДЭК
Inputs: no named parameters.
get_tariffsB
Получить список доступных тарифов СДЭК
Inputs: no named parameters.
track_orderC
Отследить заказ по номеру СДЭК
Inputs: cdek_number (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Each tool targets a clearly distinct resource or operation: order CRUD, delivery calculation, tariffs, geography, pickup points, courier pickup, tracking, and services. Overlaps such as get_order vs get_order_by_cdek_number vs get_orders_list are explicitly differentiated by name and description.
The set is predominantly consistent snake_case with verb_noun patterns such as create_order, get_order, delete_order, and track_order. Minor deviation in get_orders_list, which is awkwardly structured compared with the get_* list style used elsewhere, but overall naming remains predictable.
With 15 tools, the surface is well-scoped for a delivery API integration. Each tool maps to a meaningful operation, and there is no obvious redundancy or padding.
Coverage is strong: order creation, retrieval, listing, deletion, tariffs, price calculation, geography, pickup points, courier pickup, tracking, and services are present. The main gap is the absence of an update_order operation, which would be useful for modifying existing orders.
Maintenance
Related MCP Connectors
Russian APIs for AI agents: YooKassa, CDEK, Bitrix24 and more. Ready scenarios with code. No key.
Furgonetka MCP Server is an extension for LLMs (such as Claude) that integrates AI assistants with Poland's most popular courier brokerage platform. The server enables models to interact directly with services from various couriers (including InPost, DPD, DHL, UPS, and Poczta Polska) through a single, unified interface. With this integration, your AI stops just "writing about logistics" and starts actually managing it.
Manage Shipday orders, drivers, driver earnings, reports from your AI assistants.
India shipping for AI agents: Shiprocket courier serviceability, create orders, track AWB.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to create shipments, track packages, get rates, validate addresses, schedule pickups, and find UPS locations via the UPS API.912 npm2MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to ship parcels across India via Delhivery, Bluedart, Ekart, and more through the Shiprocket API, with tools for serviceability checks, order creation, tracking, and cancellation.MIT
- AlicenseBqualityDmaintenanceIntegrates with CDEK delivery API to manage orders, track shipments, find pickup points, and handle delivery labels and barcodes through natural language.49MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to track packages, rate and create shipments, manage pickups and customs documentation, and perform international shipping logistics checks through natural language.MIT