mcp-oktmo-reference-check
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_OKTMO_REFERENCE_CHECK_API_KEY | Yes | Ключ выбранного кабинета с правом на услугу. Нужен для сверки. Передайте ключ только через окружение процесса MCP. | |
| MCP_OKTMO_REFERENCE_CHECK_BASE_URL | No | По умолчанию https://cabinet.atomno-api.ru. Для ключа ATOMNO Data используйте https://cabinet.atomno-data.ru. Loopback-адрес допускается для тестов. | https://cabinet.atomno-api.ru |
| MCP_OKTMO_REFERENCE_CHECK_LOG_LEVEL | No | По умолчанию INFO. Параметр --log-level имеет приоритет. | INFO |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Сверка записей собственного справочника с двумя установленными выпусками классификатора ОКТМО Росстата. Сначала вызовите describe_contract для справки о версиях и полях. Бизнес-запрос отправляется в API ATOMNO и учитывается по ключу пользователя.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| describe_contractA | Показать версии, источник и ограничения. Запрос к API и списание не выполняются. |
| compare_oktmo_referenceC | Сверить записи собственного справочника с двумя выпусками ОКТМО. Успешный новый запрос учитывается по ключу. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 2 tools
The two tools serve clearly separate purposes: describe_contract returns metadata/limitations without making an API request, while compare_oktmo_reference performs the actual comparison. There is no meaningful overlap that would cause misselection.
Both names use a consistent snake_case verb_noun pattern: describe_contract and compare_oktmo_reference. The naming is predictable and readable despite one tool being more domain-specific than the other.
With only two tools, the surface feels thin even for a narrow OKTMO reference-checking service. Each tool earns its place, but the server sits at the low end of what feels comfortably scoped.
The core read-only workflow is covered: inspect the contract/versions and compare reference records against two OKTMO releases. Minor gaps remain around auxiliary operations such as usage/quota status or retrieving prior comparison results, but the main purpose is supported.