my gov bg — MCP конектор

Документация

my gov bg — MCP конектор за български и европейски публични данни. Всеки отговор посочва източника си.

Какво е

Конекторът е MCP сървър (Model Context Protocol — отворен стандарт, с който AI асистентите извикват външни инструменти). Свързан към Claude, ChatGPT или друг MCP клиент, той позволява на асистента да търси и чете данни направо от официалните публични източници — вместо да разчита на паметта си — и да ви покаже откъде е всяко твърдение.

Какво може

Законодателство

Действащите редакции на законите и подзаконовите актове, измененията и официалният им текст, вкл. постановления на МС (ПМС) и Указ № 883, с връзки към lex.bg; обществени консултации от strategy.bg; актове на Министерския съвет (ПРИС); Държавен вестник; законопроекти, закони и стенограми от parliament.bg; официалните имейли на парламентарните комисии и народните представители (parliament_contacts); право на ЕС и транспонирането му.

Съдебна практика

ВКС и ВАС (актове, дела, тълкувателни дела, заседания), ЕПЕП, съдебни актове по ECLI (legalacts) и по дати от сайтовете на съдилищата (court_acts_list), Конституционен съд, ЕСПЧ — решенията по български дела и изпълнението им, оспорени наредби по чл. 181 АПК, компетентни съдилища по инструменти на ЕС.

Фирми и финанси

Търговски регистър и регистър на ЮЛНЦ, несъстоятелност, ДДС номера (VIES и бюлетинът на НАП), КФН (регистри, решения, санкции), БНБ (IBAN, регистри, наказания), Патентно ведомство (марки, патенти, дизайни).

Обществени поръчки и регулатори

ЦАИС ЕОП и АОП; КЗК, КЕВР, КРС, СЕМ, КЗП, КЗЛД, КЗД, Омбудсман; Сметна палата (декларации, ЕРИК, конфликт на интереси, одити); КОНПИ; Прокуратура; ВСС; ДНСК; РИОСВ и МОСВ (ОВОС).

Общини

Общински наредби (obshtini.bg) и решения на общинските съвети на София, Варна и Пловдив; обществени консултации и обсъждания на Столична община и Община Варна (municipal_consultations_search).

Отворени данни и регистри

data.egov.bg (наборите и самите данни), отворените данни на Столична община, НАЦИД (дипломи, университети, академичен състав, конкурси), ГВА (въздухоплавателни средства), вещи лица, адвокати, съдебни преводачи и заседатели, ИПОП; получателите в ССЕВ — кои администрации и институции приемат документи по електронен път (ssev_recipients); кадастър — публични данни по идентификатор от КАИС: площ, предназначение, начин на ползване; собствеността е в платения Имотен регистър.

Бизнес и маркетинг

Свободни домейни и цените им, проверка на име (фирми, марки, домейни), Уикипедия (интерес и най-четени статии), Google Trends, Евростат, YouTube.

Новини

Търсене на живо в около 70 медии със свободен достъп — български (национални и регионални), европейски и международни на английски — като всяка получава заявката на своя език (превод от клиента или безплатен превод на сървъра), и четене на статия.

Всяка публична страница или документ

web_page_get и public_document_get четат публична страница, PDF или DOCX от адрес, който дадете — общински сайтове, наредби, документи от консултации.

Всички 227 инструмента с описанията и параметрите им →

Как да го свържа

Нужен ви е личен ключ (ключове и лимити). Навсякъде по-долу заменете YOUR_KEY с вашия ключ. Адресът на конектора:

https://mcp.dt9.eu/mcp?key=YOUR_KEY

Ключът в адреса е тайна: не споделяйте адреса и не го показвайте на екранни снимки. Ако е изтекъл, пишете ни за нов (старият се изключва).

Claude (claude.ai — уеб, десктоп и мобилно приложение)

  1. Отворете Settings (Настройки) → Connectors.
  2. Изберете Add custom connector.
  3. Име: напр. my gov bg; адрес (Remote MCP server URL): горният адрес с вашия ключ. Разширените настройки (OAuth) оставете празни.
  4. Натиснете Add.
  5. В чат отворете менюто с инструменти (бутонът „+“ или иконата за инструменти до полето за писане) и включете my gov bg.

Конекторът, добавен в уеб версията, се появява и в десктоп и мобилното приложение. В организационните планове (Team, Enterprise) може да трябва администратор да го добави. Менютата се променят — ако не намирате точния пункт, търсете „Connectors“ / „Add custom connector“ в настройките.

Claude Code

claude mcp add --transport http bg-gov "https://mcp.dt9.eu/mcp?key=YOUR_KEY"

Или с ключа в заглавка вместо в адреса:

claude mcp add --transport http bg-gov https://mcp.dt9.eu/mcp --header "Authorization: Bearer YOUR_KEY"

Проверка: claude mcp list; в сесия — /mcp.

ChatGPT

  1. Отворете Settings → Apps & Connectors (в по-новите версии може да е просто Apps).
  2. Отворете Advanced settings и включете Developer mode.
  3. Върнете се и изберете Create (създаване на конектор / приложение).
  4. Име: напр. my gov bg; MCP server URL: горният адрес с вашия ключ; Authentication: No authentication (ключът е в адреса).
  5. Потвърдете предупреждението за риск (отметката „I understand…“) и натиснете Create.
  6. В чат: „+“ → More → Developer mode и изберете конектора (или го изберете от списъка с инструменти).

Нужен е план на ChatGPT, в който има Developer mode (към момента — платените планове). Менютата на ChatGPT се сменят често: търсете „Developer mode“, „Connectors“ или „Apps“ в настройките и „MCP server URL“ при създаването.

Други MCP клиенти

Транспорт: Streamable HTTP. Адрес: https://mcp.dt9.eu/mcp. Ключът се подава или в адреса (?key=YOUR_KEY), или в заглавка:

Authorization: Bearer YOUR_KEY

Пример за клиенти с конфигурационен файл mcpServers:

{
  "mcpServers": {
    "bg-gov": {
      "type": "http",
      "url": "https://mcp.dt9.eu/mcp",
      "headers": { "Authorization": "Bearer YOUR_KEY" }
    }
  }
}

Ключове и лимити

Всеки потребител получава личен ключ (заявка — контакти). Сървърът пази само отпечатък (hash) на ключа, не самия ключ. Лимитите по подразбиране за ключ:

ОграничениеИзвиквания
Едновременни извиквания2
В секунда1 (до 2 наведнъж след пауза)
В минута15
В час250
На ден1 000
На месец10 000

Данни и поверителност

За собственици на сайтове

Контакти

Версия и състояние

Documentation in English

my gov bg is an MCP (Model Context Protocol) connector: it gives AI assistants — Claude, ChatGPT and any other MCP client — direct access to Bulgarian and EU public data, and every answer cites its source (source, url). Unofficial texts are flagged as such.

What it can do

  • Legislation: current versions of acts, amendments and their official text (incl. Council of Ministers decrees and Decree No. 883, with lex.bg links), public consultations (strategy.bg), Council of Ministers acts (PRIS), the State Gazette, bills, laws and transcripts (parliament.bg), the official e-mails of parliamentary committees and MPs (parliament_contacts), EU law and its transposition.
  • Case law: Supreme Court of Cassation and Supreme Administrative Court, the unified court portal (ЕПЕП), acts by ECLI and by date from the courts' sites, the Constitutional Court, ECHR judgments in Bulgarian cases and their execution, the Supreme Judicial Council.
  • Companies and finance: Commercial Register and non-profits register, insolvency, VAT numbers (VIES and the NRA bulletin), Financial Supervision Commission, Bulgarian National Bank, Patent Office.
  • Procurement and regulators: the e-procurement platform and the Public Procurement Agency; competition, energy, telecom and media regulators, consumer and data protection, anti-discrimination, the Ombudsman, the National Audit Office, asset forfeiture commission, the Prosecutor's Office, construction control, environmental authorities.
  • Municipalities, open data and registers: municipal ordinances and council decisions, public consultations and discussions of the Sofia and Varna municipalities (municipal_consultations_search), data.egov.bg, Sofia open data, NACID, civil aviation, experts, lawyers, court translators and jurors, the recipients of the secure e-delivery system ССЕВ (ssev_recipients), and the cadastre — public data of a property by its identifier (area, purpose, use; ownership is in the paid Property Register).
  • Business and marketing: domains, name checks, Wikipedia, Google Trends, Eurostat, YouTube; news searched live in about 70 free outlets — Bulgarian (national and regional) plus European and international outlets in English, each asked in its own language; any public page or document (web_page_get, public_document_get).

All 227 tools with descriptions and parameters: /docs/tools.

How to connect

You need a personal key; replace YOUR_KEY below with it. Connector URL:

https://mcp.dt9.eu/mcp?key=YOUR_KEY

The key in the URL is a secret: do not share the URL or show it in screenshots. If it leaks, ask for a new one.

Claude (claude.ai web, desktop and mobile):

  1. Settings → Connectors → Add custom connector.
  2. Name, e.g. my gov bg; URL: the connector URL with your key; leave the advanced (OAuth) settings empty → Add.
  3. In a chat, open the tools menu (“+” or the tools icon next to the input) and enable my gov bg.

On Team/Enterprise plans an admin may need to add it. Menus change — look for “Connectors” / “Add custom connector” in Settings.

Claude Code:

claude mcp add --transport http bg-gov "https://mcp.dt9.eu/mcp?key=YOUR_KEY"

ChatGPT:

  1. Settings → Apps & Connectors (or Apps) → Advanced settings → enable Developer mode.
  2. Create a connector: name, MCP server URL = the connector URL with your key, Authentication = No authentication (the key is in the URL).
  3. Accept the risk notice (“I understand…”) → Create.
  4. In a chat: “+” → More → Developer mode, then pick the connector.

This needs a ChatGPT plan with Developer mode (currently the paid plans). ChatGPT's menus change often: look for “Developer mode”, “Connectors” or “Apps” in Settings and “MCP server URL” when creating.

Other MCP clients: Streamable HTTP at https://mcp.dt9.eu/mcp, the key either as ?key=YOUR_KEY or as a header:

Authorization: Bearer YOUR_KEY

Keys and limits

Every user gets a personal key (only its hash is stored). Default limits per key:

LimitCalls
Concurrent calls2
Per second1 (a burst of 2 after a pause)
Per minute15
Per hour250
Per day1 000
Per month10 000

The server owner has the highest priority: when the server is busy, waiting calls are served by priority. A call over a limit is not run; the assistant gets a short message naming the limit and when it frees up (refused calls are not counted). A call that waits too long for a slot or a slow source is stopped after about 45 seconds; whatever was fetched stays cached for the next try.

Data and privacy

  • Public sources only: no logins, no CAPTCHA solving, no WAF or other protection bypass; a refusal is reported as “source not accessible”.
  • Data is passed on exactly as the source publishes it, personal data included; such replies carry a personal_data_note. Unofficial consolidated texts are flagged.
  • Requests carry ordinary browser headers plus X-Client: bg-gov-mcp (+https://mcp.dt9.eu; client=…). client= is an 8-hex-digit pseudonymous id of the API key behind the request (SHA-256 of the key's internal label with a secret per-install salt): stable, different per key, not revealing who the user is; the owner can map it to a key. The owner's own calls and background work carry no client=.
  • Logged per call: tool name, duration, outcome, the key's internal label, and the source host on errors or slowness. Never the arguments (what you searched for), never keys; the key is also stripped from the web server's logged URLs. Your conversations do not pass through this server — it only sees tool calls.
  • Feedback after use: the server asks the assistant that uses it, once it has answered the user, to send one short anonymous note through the report_problem tool — what was right, what was wrong, what information was missing, and one idea to improve the tool. Using the service is on that condition. One line is kept: time (UTC), tool name, kind (ok, idea, wrong, missing, outdated, unclear, other), the note (10–500 characters) and optionally the address of a public page. Not kept: the arguments (what you searched for), the reply, the IP address, the key, the session or the conversation. A note with an e-mail address or a number of nine or more digits is refused. The note is written by the assistant, not by the server. Only the owner reads it, to improve the tools; it is not published or shared. Caps: 300 problem notes and 500 routine ones (ok, idea) a day, 5 a minute of each kind. The assistant may skip a note; the server cannot force it.
  • Protection of replies: everything the tools return comes from external sources (court acts, decisions, registers, news, documents) and is treated as untrusted data. Before it leaves the server, every reply, every error and every Atom feed entry passes one filter: (1) hidden characters are removed — invisible Unicode tag characters, zero-width and bidirectional controls, control characters; (2) active content is made inert in place — HTML comments, script, iframe and similar tags, chat-template and tool-call markup (<|im_start|>, [INST], <system>, <function_calls>), markdown images (clients load them on their own), the schemes javascript: and data:text/html; (3) instructions aimed at a model are flagged, not deleted (an act stays as the source published it): "ignore the previous instructions", "do not tell the user", "call the tool", "send … to", a command to run, a request for a password or key, text addressed to the assistant, a long encoded blob — in Bulgarian and English, also when written with look-alike letters. The reply gets a content_guard field naming the rules and the places (a path in the reply, never the text itself) and telling the model not to follow such text and to tell the user. Blocks other than text or a PNG image are dropped; a reply over 4 MB is not sent. A clean reply is not changed. The server's instructions to the client carry the same rule. The same protection covers what comes in: hidden characters in the answers of external sites are removed before the text is parsed or cached; arguments with hidden characters are refused; a report_problem note with a hidden character or with an instruction to an assistant (for example "ignore previous instructions") is refused and not recorded.
  • Source responses are cached on the server (minutes to 30 days by kind) to spare the sources and to answer when a source is down.

For site operators

We identify ourselves with X-Client: bg-gov-mcp (+https://mcp.dt9.eu…). We do not crawl: only the pages a user's question needs are requested, with a per-host limit over a sliding 60-second window — for public institutions typically at most one request per second, often less — and responses are cached. 429 / Retry-After are honoured. Automated background work (e.g. catalogue builds) follows robots.txt; what a user's request needs (a page, a document, a search on a news outlet's own site) is requested as a browser would, and news is not stored. To ask us to slow down or stop, e-mail us with the subject “bg-gov-mcp: client=…”, naming your host and, if present, the client= value and the approximate time.

Contacts

  • Orders and new keys:
  • Complaints:
  • Ideas and bug reports:
  • Site operators — slow down or stop: (name your host and the client= value of the X-Client header)

Version and status

  • Version: 13.9.0, build of 2026-11-03 07:23
  • Tools: 227 (list)
  • Server status: /health (answers “ok” and the version number while the server runs)