pochta-russia-mcp
MCP-сервер для Почты России: отслеживание посылок, расчёт доставки, поиск отделений и нормализация адресов.
track — отслеживание почтового отправления по трек-номеру
calculate — расчёт стоимости и сроков доставки между индексами
delivery_time — расчёт сроков доставки между двумя индексами
get_offices — поиск почтовых отделений по индексу, региону или населённому пункту
zip_lookup — получение информации по почтовому индексу (регион, город, график работы)
normalize_address — нормализация адреса, заданного в свободной форме
Поддерживает различные типы и категории отправлений, объявленную ценность, типоразмеры, а также ретраи и настройку таймаутов.
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., "@pochta-russia-mcp Track package RA123456789RU"
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.
pochta-russia-mcp
MCP server for Russian Post API — tracking, tariff calculation, delivery times, post office search, postal codes, address normalization.
Features (6 tools)
Tool | Description | What's required |
| Track a shipment by tracking number |
|
| Calculate cost and delivery times |
|
| Calculate delivery times between postal codes |
|
| Search for post offices |
|
| Postal code information |
|
| Address normalization via API |
|
Related MCP server: cdek
Quick Start
Claude Desktop / Cursor / Windsurf (stdio)
{
"mcpServers": {
"pochta": {
"command": "npx",
"args": ["-y", "@theyahia/pochta-russia-mcp"],
"env": {
"POCHTA_TOKEN": "<ACCESS_TOKEN>",
"POCHTA_LOGIN": "<LOGIN>",
"POCHTA_PASSWORD": "<PASSWORD>"
}
}
}
}Claude Code
claude mcp add pochta \
-e POCHTA_TOKEN=<ACCESS_TOKEN> \
-e POCHTA_LOGIN=<LOGIN> \
-e POCHTA_PASSWORD=<PASSWORD> \
-- npx -y @theyahia/pochta-russia-mcpStreamable HTTP
npx @theyahia/pochta-russia-mcp --http --port=3000MCP endpoint: http://localhost:3000/mcp
Health check: http://localhost:3000/health → {"status":"ok","version":"…","tools":6}
Environment Variables
Variable | Required | Description |
| Yes | App access token → |
| Yes | Account login → part of |
| Yes | Account password → part of |
| No | Back-compat: ready-made |
| No | Request timeout in ms (default 15000) |
Get API access: Sender's Cabinet → Settings → API. Specification: https://otpravka.pochta.ru/specification.
Authorization
REST methods of otpravka-api use two headers (per the official specification):
Authorization: AccessToken <POCHTA_TOKEN>— app access token;X-User-Authorization: Basic <base64(POCHTA_LOGIN:POCHTA_PASSWORD)>— account credentials.
Tracking (track) uses the SOAP tracking API (tracking.russianpost.ru) and requires
POCHTA_LOGIN + POCHTA_PASSWORD (the access token is not used there).
⚠️ Migration to 2.0.0 (breaking change)
In versions ≤ 1.x, authorization headers were formed incorrectly (the access token and key were swapped), which caused REST methods to fail authorization. In 2.0.0 the contract is fixed:
Before:
POCHTA_TOKEN+POCHTA_KEY. This set no longer works on its own.Now:
POCHTA_TOKEN+POCHTA_LOGIN+POCHTA_PASSWORD.POCHTA_KEYis kept only as optional back-compat (ready-madebase64(login:password)forX-User-Authorization).
Reliability
Retries (up to 3) with exponential backoff on network errors,
429, and5xx.Request timeout (default 15 s, configurable via
POCHTA_TIMEOUT_MS).Diagnostic retry/error logs are written to
stderr(the stdout channel is used by MCP).
Skills (Claude Code)
Command | Description |
| Track a Russian Post parcel |
| Calculate shipment cost |
| Full calculation with the nearest post office |
Tests
npm install
npm run typecheck
npm testLicense
MIT
Available Tools
6 toolscalculateC
Расчёт стоимости и сроков доставки Почтой России.
Inputs: weight (required), to_index (required), from_index (required), mail_type, +3 more.
delivery_timeB
Расчёт сроков доставки между двумя индексами.
Inputs: to_index (required), from_index (required), mail_type, mail_category.
get_officesB
Поиск почтовых отделений по индексу или населённому пункту.
Inputs: top, region, settlement, postal_code.
normalize_addressB
Нормализация адреса через API Почты России.
Inputs: raw_address (required).
trackA
Отслеживание почтового отправления Почты России по трек-номеру.
Inputs: barcode (required).
zip_lookupA
Информация по почтовому индексу: регион, город, график работы.
Inputs: postal_code (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Most tools have clear, distinct purposes: tracking, zip info, cost/delivery calculation, office search, delivery time, and address normalization. The only minor overlap is between 'calculate' (cost + delivery time) and 'delivery_time' (time only), but their descriptions clarify the difference.
All tool names follow a consistent lowercase_with_underscores pattern. While some are verbs (track, calculate, get) and others are noun-based (zip_lookup, delivery_time, normalize_address), the style is uniform and predictable, making it easy to guess functionality.
With 6 tools, the server is well-scoped for the Russian Post domain. Each tool addresses a distinct need—tracking, zip lookup, cost calculation, office search, delivery time, and address normalization—without excess or shortage.
The tool set covers the primary operations for Russian Post services, including tracking, address validation, cost/time estimation, and office lookup. Minor gaps exist, such as batch operations or detailed shipment history, but the core workflows are fully supported.
Maintenance
Related MCP Connectors
Track shipments and search shipping products (DPD, InPost, DHL, FedEx, UPS, GLS) via GlobKurier API.
Validate, create and cancel packets, and read their status and tracking in Packeta.
Track parcels, list shipments and dispatch orders, and read statuses in InPost.
MCP server for EasyPost — rate shipments, buy & refund labels, track packages, verify addresses.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides tools to interact with the PostEx Merchant API for order creation, tracking, and management.2ISC
- AlicenseBqualityDmaintenanceIntegrates with CDEK delivery API to manage orders, track shipments, find pickup points, and handle delivery labels and barcodes through natural language.49MIT
- AlicenseAqualityFmaintenanceEnables integration with Boxberry delivery services, allowing users to search cities and pickup points, calculate delivery costs and times, track shipments, check postal indexes, and list services.635 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables CDEK delivery operations through natural language, including tariff calculation, order management, shipment tracking, pickup point search, courier pickup scheduling, barcode and receipt generation, and webhook management.62 npm1MIT