Skip to main content
Glama
hptsu MCP server

hptsu MCP server

Official
by HPT-SU

hpt.su MCP Server

Model Context Protocol server for the hpt.su registry of Russian and EAEU vehicle compliance documents — type approvals (ОТТС / СБКТС / ОТШ), conformity certificates (ТР ТС / ТР ЕАЭС), declarations of conformity, type-approval notifications (СУТ), and single-vehicle evaluation reports.

License: MIT Python 3.11+

What this is

hptsu-mcp lets any MCP-compatible AI assistant (Claude Desktop, Cursor, Cline, Continue, Goose, Cherry Studio, 5ire, LM Studio, ChatGPT Desktop, …) search the hpt.su registry directly — without you copy-pasting numbers between the chat window and the website.

hpt.su is the largest aggregated database in the Russian Federation and the EAEU customs union for:

  • Сертификаты соответствия — conformity certificates issued under TR CU / TR EAEU technical regulations. Browse at hpt.su/documents/cert/.

  • Декларации о соответствии — declarations of conformity. Browse at hpt.su/documents/decl/.

  • ОТТС — Vehicle Type Approval (Одобрение типа транспортного средства) under TR CU 018/2011 — covers automobiles, trucks, buses, trailers, motorcycles. Browse at hpt.su/documents/otts/.

  • СБКТС — Vehicle Safety-of-Design Certificate (Свидетельство о безопасности конструкции транспортного средства). Browse at hpt.su/documents/sbkts/.

  • ОТШ — Chassis Type Approval (Одобрение типа шасси). Browse at hpt.su/documents/otch/.

  • СУТ — Notification of Type Approval (Сообщение об утверждении типа транспортного средства). Browse at hpt.su/documents/sout/.

  • ЗОЕТС / ЗОТШ / ЗОТТС — single-vehicle / chassis / vehicle evaluation reports issued by accredited testing laboratories. Browse at hpt.su/documents/zoets/, zotch/, zotts/.

Use cases an LLM agent can solve through this server:

  • "Find the type approval for a 2024 KAMAZ-43118 truck."

  • "What is the status of EAC declaration ЕАЭС N RU Д-RU.HA67.B.12345/24?"

  • "List recent conformity certificates issued to applicant 'Group GAZ' under scheme 1с."

  • "Has SBKTS been issued for VIN-derived chassis number XYZ123…?"

  • "Fetch type-approval notifications (СУТ) issued for manufacturer X."

Related MCP server: mcp-fns-check

Quick start

1. Install

uv tool install hptsu-mcp
# or
pipx install hptsu-mcp
# or with plain pip
pip install hptsu-mcp

2. Get an API key

Two tiers exist for MCP:

Tier

Throttle

Price

Where to get

Free MCP

50 requests/day; site subscribers: 500/day on subscribed registries (+50/day elsewhere)

Free, signup required

hpt.su/user/mcp/

Paid API tiers (Lite/Standard/Pro)

500–10 000 requests/day, fulltext + direct downloads

See pricing

hpt.su/pricing/#api-tiers

The free tier is plenty for demos and personal use. Upgrade unlocks fulltext_search, download_document_file, the VIN aggregator, and the higher daily limit.

  1. Create an account at hpt.su/accounts/signup/.

  2. Click "Get free MCP key" in hpt.su/user/mcp/.

  3. (Optional) Upgrade on hpt.su/pricing/.

API documentation (Swagger UI): https://hpt.su/api/v1/docs/ · OpenAPI schema: https://hpt.su/api/v1/schema/

3. Wire it into your MCP client

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "hpt-su": {
      "command": "hptsu-mcp",
      "env": {
        "HPTSU_API_KEY": "your-key-here"
      }
    }
  }
}

Cursor (.cursor/mcp.json)

{
  "mcpServers": {
    "hpt-su": {
      "command": "hptsu-mcp",
      "env": { "HPTSU_API_KEY": "your-key-here" }
    }
  }
}

Cline / Continue / Goose / etc.

Any MCP client that supports stdio transport works the same way — point it at the hptsu-mcp executable and pass HPTSU_API_KEY in the environment.

HTTP / SSE transport

For hosted MCP gateways set HPTSU_TRANSPORT=streamable-http (or sse) and call the server over the network.

OAuth (hosted mode)

The hosted instance at https://mcp.hpt.su/mcp acts as an OAuth 2.0 protected resource (RFC 9728): it publishes /.well-known/oauth-protected-resource/mcp pointing at https://hpt.su as the authorization server, and challenges unauthenticated requests to /mcp with 401 WWW-Authenticate: Bearer resource_metadata="...". This lets clients that do OAuth discovery connect without a manually issued API key.

Two credential styles both work against the hosted endpoint:

  • X-API-Key: <public_id>:<secret> — a static key from hpt.su/user/mcp/. Works with any client that lets you set a custom header (Cursor, Cline, Continue, local scripts, …).

  • OAuth 2.0 Bearer — obtained via the standard MCP OAuth flow (discovery → dynamic client registration → authorization code + PKCE). Supported by clients that implement MCP's OAuth discovery, including:

    • ChatGPT (Developer Mode / Connectors);

    • Claude.ai / claude.com (custom connectors);

    • VS Code (MCP extension host);

    • Cursor, via its cursor:// deep-link callback;

    • Local/loopback clients that redirect to 127.0.0.1/localhost (the typical desktop-app OAuth callback pattern).

A Bearer token bound to a different MCP resource (RFC 8707) or that has expired/been revoked is rejected with a transport 401 — the client should refresh or re-run the OAuth flow, not treat it as a data response.

Tools

Search & retrieval

Tool

What it does

Tier

search_documents

Cross-registry search by document number — use when the registry kind is unknown.

Free

get_document

Fetch one document's full record by slug + kind (both taken from a search result).

Free

search_certificates

Conformity certificates (ТР ТС / ТР ЕАЭС) — number, applicant, status, scheme, regulations, product.

Free

search_declarations

Declarations of conformity (ТР ТС / ТР ЕАЭС).

Free

search_otts

ОТТС — vehicle type approvals (ТР ТС 018/2011).

Free

search_otch

ОТШ — chassis type approvals.

Free

search_zotts

ЗОТТС — vehicle conformity assessment conclusions.

Free

search_zotch

ЗОТШ — chassis conformity assessment conclusions.

Free

search_sbkts

СБКТС — vehicle safety-of-design certificates.

Free

search_zoets

ЗОЕТС — single-vehicle technical expertise conclusions.

Free

search_sout

СУТ — type-approval notifications (small dataset, basic fields only).

Free

search_by_vin

Aggregated VIN search across ОТТС / ОТШ / ЗОТТС / ЗОТШ / СБКТС / ЗОЕТС.

Free

fulltext_search

Full-text search inside ОТТС / ОТШ / ЗОТТС / ЗОТШ PDF bodies.

Paid

list_document_files

List the files attached to a document (returns file_uids for download).

Free

download_document_file

Get links for a document file — page URL is always returned; the signed direct-download URL needs a plan that includes it.

Free / Paid

Reference dictionaries

Tool

What it does

list_brands

Resolve vehicle brand names.

list_vehicle_models

Resolve vehicle model names within a brand.

list_test_labs

Accredited testing laboratories.

list_certification_bodies

Accredited certification bodies.

list_tnved_codes

TN VED EAEU classifier (cert/decl context only).

list_registry_kinds

Enumerate registry kinds the API exposes.

Reference filters accept names, not internal ids. The search tools resolve human-readable values automatically — pass issuer="НАМИ", brand="KAMAZ", eco_class="5", wheel_formula="4x2", axis_count="2" and the server looks up the reference id for you (issuer / brand also take a numeric id directly). An ambiguous name returns the matching candidates to pick from.

Configuration

Variable

Default

Meaning

HPTSU_API_KEY

required

Bearer key from hpt.su cabinet.

HPTSU_BASE_URL

https://hpt.su/api/v1

Override for staging / on-prem deployments.

HPTSU_TRANSPORT

stdio

stdio · streamable-http · sse.

HPTSU_TIMEOUT

30.0

Per-request HTTP timeout (s).

HPTSU_USER_AGENT

hptsu-mcp/0.1

User-Agent header.

HPTSU_LOG_LEVEL

INFO

Standard logging levels.

SEO description (for catalogue listings)

hpt.su MCP server — let your AI assistant search the hpt.su database of Russian and EAEU vehicle compliance documents directly. Covers type approvals (ОТТС, ОТШ), safety-of-design certificates (СБКТС), conformity certificates and declarations under TR CU / TR EAEU technical regulations, and type-approval notifications (СУТ). Source registry: https://hpt.su. API documentation: https://hpt.su/api/v1/docs/. Read-only, Bearer-key auth, MIT licence.

Russian-language version:

MCP-сервер hpt.su — поиск по крупнейшей базе российских и ЕАЭС документов соответствия для автотранспорта: ОТТС, СБКТС, ОТШ, СУТ (сообщения об утверждении типа), сертификаты соответствия и декларации (ТР ТС / ТР ЕАЭС). Источник: https://hpt.su. REST API: https://hpt.su/api/v1/docs/. Только чтение, Bearer-аутентификация, лицензия MIT.

Keywords

mcp · model-context-protocol · hpt.su · vehicle certification · type approval · ОТТС · СБКТС · EAEU · TR CU 018 · conformity certificate · declaration of conformity · сертификат соответствия · декларация о соответствии · СУТ · Russian compliance database · AI agent · Claude · Cursor · Cline

Development

git clone https://github.com/hpt-su/hptsu-mcp
cd hptsu-mcp
uv sync --all-groups
uv run pytest
uv run hptsu-mcp           # launch via stdio

License

MIT — see LICENSE.

mcp-name: su.hpt/hptsu-mcp

Available Tools

21 tools
download_document_fileAInspect

Issue a signed URL to download the document PDF from hpt.su.

Returns {download_url, file_name, kind, document_id}. The URL is encrypted with the user_id behind the API key — opening it works only if the user is signed in to hpt.su under the same account. The dl_counter is decremented on the website at actual download time, not here.

Requires an active subscription covering the document's kind or a stand-alone DOC_PURCHASE. On the free tier returns 403 with an upgrade prompt to https://hpt.su/pricing/.

Inputs: file_uid (required). Returns: result

get_documentAInspect

Fetch a single Document by slug+kind.

Inputs: kind (required), slug (required). Returns: result

list_brandsBInspect

Resolve a vehicle brand name to its canonical record (used to filter type approvals).

Inputs: name, page, page_size. Returns: result

list_certification_bodiesAInspect

Lookup accredited certification bodies (issuers of сертификатов/деклараций).

Inputs: name, page, page_size. Returns: result

list_document_filesAInspect

List the files attached to a document.

Returns [{file_uid, file_name, kind, pages_count, published_at}] — each entry's file_uid can be passed to download_document_file.

A document often has several PDFs (e.g. cleaned + original); use this tool to enumerate them and pick the right one before download.

Inputs: kind (required), document_slug (required). Returns: result

list_registry_kindsBInspect

Return the catalogue of registry kinds exposed by the hpt.su public API.

Inputs: no named parameters. Returns: result

list_test_labsBInspect

Lookup accredited testing laboratories (issuers of СБКТС/ЗОЕТС).

Inputs: name, page, short_id, page_size. Returns: result

list_tnved_codesAInspect

TN VED EAEU classifier lookup.

Note: TN VED codes are linked only to certificates and declarations — not to vehicle type approvals or safety reports.

Inputs: page, query, prefix, page_size. Returns: result

list_vehicle_modelsCInspect

Resolve a vehicle model name (within a brand) to canonical record.

Inputs: name, page, brand, page_size. Returns: result

search_by_vinAInspect

Aggregated search by VIN across all car-kinds (ОТТС/ОТШ/ЗОТТС/ЗОТШ/ СБКТС/ЗОЕТС). Open for any active API key — no subscription required.

Returns substring matches via UNION across kind-tables sorted by issue_date DESC. For exact full-VIN match within a single kind, use the per-kind tool (search_otts/search_sbkts/…) — they autoroute substring↔DAWG by VIN validity.

Inputs: vin (required). Returns: result

search_certificatesCInspect

Search conformity certificates (ТР ТС / ТР ЕАЭС).

Inputs: page, number, scheme, status, +6 more. Returns: result

search_declarationsBInspect

Search declarations of conformity (ТР ТС / ТР ЕАЭС).

Inputs: page, number, scheme, status, +6 more. Returns: result

search_documentsBInspect

Cross-registry search by document number across all hpt.su kinds.

Inputs: page, number, page_size. Returns: result

search_otchCInspect

Search ОТШ (chassis type approvals).

Inputs: vin, page, type, brand, +8 more. Returns: result

search_ottsCInspect

Search ОТТС (vehicle type approvals, ТР ТС 018/2011).

Inputs: vin, mods, page, type, +10 more. Returns: result

search_sbktsCInspect

Search СБКТС (vehicle safety certificate).

Inputs: vin, page, type, year, +14 more. Returns: result

search_soutBInspect

Search СУТ (vehicle type notification — small dataset, only basic fields).

Inputs: page, type, brand, number, +1 more. Returns: result

search_zoetsCInspect

Search ЗОЕТС (vehicle technical expertise conclusion).

Inputs: vin, page, type, year, +14 more. Returns: result

search_zotchCInspect

Search ЗОТШ (chassis conformity assessment conclusion).

Inputs: vin, page, type, brand, +7 more. Returns: result

search_zottsCInspect

Search ЗОТТС (vehicle conformity assessment conclusion).

Inputs: vin, page, type, brand, +7 more. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 21 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: list tools for reference data, search tools for specific document kinds or aggregated searches, and document retrieval tools. No two tools overlap in functionality, and descriptions make the differences clear.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern in snake_case (e.g., search_otts, list_brands, download_document_file). The verbs are consistently 'search', 'list', 'get', 'download', and 'fulltext' as a modifier. No mixing of conventions.

    Tool Count4/5

    With 21 tools, the set is slightly large but justifiable given the many document kinds and search methods. Each tool addresses a specific need, and the number is within a reasonable range for such a comprehensive data retrieval server.

    Completeness5/5

    The tool surface covers the full lifecycle of document discovery: reference lookup (brands, models, labs, etc.), multiple search modalities (by VIN, document number, fulltext, per-kind), file listing, and download. No obvious gaps for a read-oriented API.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      MCP server for searching Russia's official software catalog (каталогпо.рф) containing 26,000+ domestic products. Enables finding Russian alternatives to foreign software, checking FSTEC/FSB certifications, and discovering vendors for import substitution directly from Claude or any MCP client.
      3
      7
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      MCP server for verifying Russian counterparties (legal entities and individual entrepreneurs) via public Federal Tax Service data: EGRUL/EGRIP, bankruptcy registry (EFRSB), Transparent Business, bailiff service (FSSP), and arbitration courts (KAD).
      8
      65 PyPI
      15
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      MCP server for the Russian state registries EGRUL (legal entities) and EGRIP (individual entrepreneurs), built on official Federal Tax Service open-data dumps. Self-hosted via local SQLite.
      8
      54 PyPI
      2
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides a read-only tool to query official vehicle documentation for printing low vehicle certificates, with pay-per-use prepaid credits and no platform credentials required.
      MIT