chestnyznak-mcp
Click on "Install 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., "@chestnyznak-mcpПроверь код маркировки 0104600702028445"
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.
@theyahia/chestnyznak-mcp
MCP server for the «Честный ЗНАК» / ЦРПТ API — product marking verification. 5 tools. Public checks without authorization, information from True API with a token.
Part of the Russian API MCP series (50 servers) by @theYahia.
Installation
Claude Desktop
{
"mcpServers": {
"chestnyznak": {
"command": "npx",
"args": ["-y", "@theyahia/chestnyznak-mcp"]
}
}
}Claude Desktop (with authorization)
{
"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/healthBy default, the HTTP server listens only on 127.0.0.1 and checks the Host header (protection against DNS-rebinding). To expose it externally — --host=0.0.0.0 (at your own risk, there is no authentication on /mcp).
Related MCP server: nip-checker-mcp
Environment variables
Variable | Required | Description |
| No | True API token for the |
| No | Origin of the authorized API (default |
| No | Base URL of the public API (default |
Tools (5)
Public (no authorization)
Tool | Arguments | Description |
|
| Authenticity check by marking code |
|
| Detailed information: name, group, manufacturer, owner |
|
| Batch check of up to 50 codes (concurrency limited) |
codeType — datamatrix (default), qr or ean13.
Authorized (CHESTNYZNAK_TOKEN)
Tool | Arguments | Description |
|
| Product information by GTIN from True API |
|
| Information about a CIS (identification code) from True API |
Search by name/brand is the National Catalog (
nk.crpt.ru), a separate API; it is not supported here.search_productsworks by GTIN.
Response format
check_marking_code:
{ "code": "0104600702028445", "found": true, "valid": true, "status": "INTRODUCED" }get_product_info (the producer/owner/status fields are taken from the nested product group object, null if absent):
{
"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 and others.
Each tool additionally returns structuredContent (a typed object according to outputSchema), in addition to the textual JSON.
Examples
Проверь код маркировки 0104600702028445
Расскажи подробнее о товаре с кодом 010460070202844521
Проверь пачку кодов: 0104600702028445, 0104600702028446
Информация о товаре с GTIN 04600702028445
Информация о CIS 0104600702028445Authorization (True API)
⚠️ Important: True API (ГИС МТ) has no static «eternal» token. The token is obtained using the «request-signature» scheme with an enhanced qualified electronic signature (UKEP) certificate (GOST):
GET /api/v3/true-api/auth/key→{ uuid, data }Sign
datawith a UKEP certificate (CAdES-BES, base64).POST /api/v3/true-api/auth/simpleSignIn{ uuid, data: <подпись> }→ token.Token lifetime — no more than ~10 hours, then re-authorization is required.
This server uses CHESTNYZNAK_TOKEN as a token already obtained in this way (it is sent as Authorization: Bearer). UKEP signing is performed outside the server (e.g., via КриптоПро) — there is no built-in GOST signing here. Registration is available to legal entities/individual entrepreneurs at markirovka.crpt.ru.
The endpoints/methods of the authorized part (paths, request body) were verified against the official documentation and open clients, but have not been tested against a live token due to the UKEP requirement. If ЦРПТ changes the contract — adjust via
CHESTNYZNAK_BASE_URL.
Skills
Skill | Trigger |
| «Check the product marking by code» |
| «Find a product by GTIN» |
Troubleshooting
Symptom | Cause / solution |
| The |
| Network/API unavailability; the server makes up to 3 attempts with backoff. The public API may not respond from non-RF IPs. |
| The token is invalid or has expired (~10h) — obtain a new one. |
| Rate limit; the server retries automatically. For batch, reduce the batch size. |
| The override must be |
API
Public (no authorization):
GET https://mobile.api.crpt.ru/mobile/check?code=<код>&codeType=<тип>— undocumented endpoint of the mobile application.Authorized (Bearer):
https://markirovka.crpt.ru/api/v3/true-api/...— True API (ГИС МТ).
Development
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)License
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