chestnyznak-mcp
@theyahia/chestnyznak-mcp
MCP-Server für die API „Честный ЗНАК“ / ЦРПТ – Prüfung der Produktkennzeichnung. 5 Tools. Öffentliche Prüfungen ohne Autorisierung, Informationen aus der True API mit Token.
Teil der Serie Russian API MCP (50 Server) von @theYahia.
Installation
Claude Desktop
{
"mcpServers": {
"chestnyznak": {
"command": "npx",
"args": ["-y", "@theyahia/chestnyznak-mcp"]
}
}
}Claude Desktop (mit Autorisierung)
{
"mcpServers": {
"chestnyznak": {
"command": "npx",
"args": ["-y", "@theyahia/chestnyznak-mcp"],
"env": {
"CHESTNYZNAK_TOKEN": "ваш-токен"
}
}
}
}Claude Code
claude mcp add chestnyznak -- npx -y @theyahia/chestnyznak-mcp
# С авторизацией
CHESTNYZNAK_TOKEN=ваш-токен claude mcp add chestnyznak -- npx -y @theyahia/chestnyznak-mcpStreamable HTTP
npx @theyahia/chestnyznak-mcp --http --port=3000
# Endpoint: POST http://127.0.0.1:3000/mcp
# Health: GET http://127.0.0.1:3000/healthStandardmäßig lauscht der HTTP-Server nur auf 127.0.0.1 und prüft den Host-Header (Schutz vor DNS-Rebinding). Um ihn nach außen zu öffnen – --host=0.0.0.0 (auf eigene Gefahr, auf /mcp gibt es keine Authentifizierung).
Related MCP server: nip-checker-mcp
Umgebungsvariablen
Variable | Erforderlich | Beschreibung |
| Nein | Token der True API für die Tools |
| Nein | Origin der autorisierten API (standardmäßig |
| Nein | Basis-URL der öffentlichen API (standardmäßig |
Tools (5)
Öffentlich (ohne Autorisierung)
Tool | Argumente | Beschreibung |
|
| Authentizitätsprüfung anhand des Kennzeichnungscodes |
|
| Detaillierte Informationen: Name, Gruppe, Hersteller, Eigentümer |
|
| Stapelprüfung von bis zu 50 Codes (Parallelität begrenzt) |
codeType – datamatrix (Standard), qr oder ean13.
Autorisiert (CHESTNYZNAK_TOKEN)
Tool | Argumente | Beschreibung |
|
| Produktinformationen zur GTIN aus der True API |
|
| Informationen zur CIS (Identifikationscode) aus der True API |
Die Suche nach Name/Marke erfolgt über den Nationalen Katalog (
nk.crpt.ru), eine separate API; sie wird hier nicht unterstützt.search_productsfunktioniert über GTIN.
Antwortformat
check_marking_code:
{ "code": "0104600702028445", "found": true, "valid": true, "status": "INTRODUCED" }get_product_info (die Felder producer/owner/status stammen aus dem verschachtelten Objekt der Produktgruppe, sonst null):
{
"code": "0104600702028445",
"found": true,
"valid": true,
"status": "INTRODUCED",
"productName": "Молоко 3.2%",
"category": "milk",
"producerName": "АО \"Данон Россия\"",
"ownerName": "ООО Магнит",
"ownerInn": "2309085638"
}status – String-Enum: EMITTED / APPLIED / INTRODUCED / RETIRED / WRITTEN_OFF / DISAGGREGATION usw.
Jedes Tool gibt zusätzlich zum textuellen JSON structuredContent zurück (ein gemäß outputSchema typisiertes Objekt).
Beispiele
Проверь код маркировки 0104600702028445
Расскажи подробнее о товаре с кодом 010460070202844521
Проверь пачку кодов: 0104600702028445, 0104600702028446
Информация о товаре с GTIN 04600702028445
Информация о CIS 0104600702028445Autorisierung (True API)
⚠️ Wichtig: Die True API (ГИС МТ) hat keinen statischen „ewigen“ Token. Der Token wird nach dem Schema „Anfrage-Signatur“ mit einem УКЭП-Zertifikat (GOST) bezogen:
GET /api/v3/true-api/auth/key→{ uuid, data }datamit einem УКЭП-Zertifikat (CAdES-BES, base64) signieren.POST /api/v3/true-api/auth/simpleSignIn{ uuid, data: <подпись> }→ Token.Die Lebensdauer des Tokens beträgt höchstens ~10 Stunden, danach ist eine erneute Autorisierung erforderlich.
Dieser Server verwendet CHESTNYZNAK_TOKEN als einen auf diesem Weg bereits erhaltenen Token (er wird als Authorization: Bearer gesendet). Die Signatur mit dem УКЭП-Zertifikat erfolgt außerhalb des Servers (z. B. über КриптоПро) – eine integrierte GOST-Signierung gibt es hier nicht. Die Registrierung steht juristischen Personen/Einzelunternehmern auf markirovka.crpt.ru offen.
Die Endpunkte/Methoden des autorisierten Teils (Pfade, Anfragetext) wurden anhand der offiziellen Dokumentation und offener Clients abgeglichen, aber nicht gegen einen echten Token getestet aufgrund der УКЭП-Anforderung. Sollte ЦРПТ den Vertrag ändern – korrigieren Sie dies über
CHESTNYZNAK_BASE_URL.
Skills
Skill | Auslöser |
| „Prüfe die Kennzeichnung eines Produkts anhand des Codes“ |
| „Finde ein Produkt anhand der GTIN“ |
Troubleshooting
Symptom | Ursache / Lösung |
| Die Tools |
| Netzwerk/API nicht erreichbar; der Server unternimmt bis zu 3 Versuche mit Backoff. Von IPs außerhalb der Russischen Föderation antwortet die öffentliche API möglicherweise nicht. |
| Token ungültig oder abgelaufen (~10 Std.) – neu beziehen. |
| Ratelimit; der Server wiederholt automatisch. Verkleinern Sie bei Batch die Stapelgröße. |
| Der Override muss |
API
Öffentlich (ohne Autorisierung):
GET https://mobile.api.crpt.ru/mobile/check?code=<код>&codeType=<тип>– undokumentierter Endpunkt der Mobil-App.Autorisiert (Bearer):
https://markirovka.crpt.ru/api/v3/true-api/...– True API (ГИС МТ).
Entwicklung
npm ci
npm run typecheck # tsc --noEmit (src + tests)
npm test # vitest
npm run build # tsc -> dist/
npm run dev # tsx watch (stdio)
npm run dev:http # tsx watch (HTTP)Lizenz
MIT
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 AI assistants to search and retrieve data about Russian companies, entrepreneurs, and individuals via the Checko.ru API, including financial reports, legal cases, and bankruptcy information.1212MIT
- AlicenseAqualityDmaintenanceEnables real-time verification of Polish NIP (Tax Identification Numbers) using the official Ministry of Finance API. Also supports checking if a bank account belongs to a specific NIP.213MIT
- AlicenseAqualityDmaintenanceMCP server for Russia's Chestnyi Znak product labelling system, allowing AI assistants to query marking codes, documents, warehouse balances, and participant data via natural language.10262Inno Setup
- AlicenseNot gradedqualityCmaintenanceEnables querying and comparing prices, availability, ratings, reviews, and seller details from major Russian and Chinese marketplaces (Wildberries, Ozon, Yandex Market, and others) without requiring API keys, via a unified MCP interface.3MIT
Related MCP Connectors
Manage products, EU Digital Product Passports, operator parties, and GS1 EPCIS supply-chain events.
Barcode / GTIN validation MCP (EAN-13, UPC-A, EAN-8, GTIN-14).
RU INN/OGRN, banks, geo, WHOIS. Agent self-registers via register_agent. 20 free/day.
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/theYahia/chestnyznak-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server