fgis-mcp
Use fgis-mcp as an MCP server to access, download, store, and query public FGIS CS normative, resource-price, and document data from AI clients.
Explore available catalogues and browse FGIS source trees, including FSNB, FER, TER registry, methodologies, prices, and archives.
Diagnose FGIS API connectivity and proxy or VPN limitations.
List price regions, zones, and periods.
Search norms by code or text and read exact norm cards with work steps and original resource quantities.
Read public documents and technical parts, search literal text within them, view document outlines, and inspect tables with merged-cell structure.
Start, monitor, cancel, and resume durable downloads for queries, collections, price books, or broader public sources.
Work offline with saved datasets: list datasets, inspect coverage and manifests, query norms/prices/documents, read saved documents, and export to JSONL or Parquet.
Track provenance, SHA-256 hashes, and completeness indicators, while avoiding treating search matches as confirmed applicability.
Click on "Deploy 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., "@fgis-mcp Найди в ФСНБ-2022 норму на бетонирование и покажи её ресурсы."
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.
fgis-mcp
ФГИС ЦС в вашем ИИ-клиенте
Независимый MCP-сервер для работы с публичными данными ФГИС ЦС Минстроя России.
fgis-mcp даёт ИИ-агенту прямой доступ к сметным нормам, ресурсам, ценам, техническим частям, методикам и открытым данным ФГИС ЦС. Сервер умеет сохранять версии нормативной базы, сравнивать редакции и показывать источник каждого полученного факта.
fgis-mcp не выбирает расценку за пользователя. Он предоставляет данные ФГИС, первоисточники и сведения об их происхождении. Выводы делает агент или специалист.
Работает с Codex, Claude Desktop, Gemini, Cursor, Qwen Code, VS Code, LM Studio и другими MCP-клиентами.
Подключение · Работа без локальной базы · Покрытие ФГИС · Источники · Проверка данных
Что умеет fgis-mcp
Находить и читать сметные нормы
Код, наименование, единица измерения, состав работ и ресурсы с исходными количествами. Для ведомостей доступны пакетный поиск и пакетное чтение до 10 позиций за вызов с сохранениемinput_id.Сравнивать редакции норм
Показывает добавленные и удалённые работы и ресурсы, изменения наименований и количеств.Хранить историю ФСНБ-2022
Официальные версии из OpenData сохраняются отдельно и не затирают друг друга. Завершённый снимок неизменяем, а неполные и сбойные импорты по умолчанию исключаются из запросов и экспорта.Работать с ФСБЦ
Читает ресурсные каталоги и позволяет просматривать изменения карточек ресурсов между редакциями.Работать с ценами ФГИС ЦС
Получает цены по ценовым зонам и периодам и позволяет смотреть их историю.Читать технические части и методики
Доступны текст документов, структура, таблицы и исходные ячейки с сохранением объединений строк и столбцов.Извлекать коэффициенты из документов
Возвращает значение, условие, основание и контекст. Неоднозначные строки помечаются как неразрешённые, а не интерпретируются автоматически.Работать с OpenData Минстроя
Получает паспорта наборов, версии и официальные дистрибутивы ФСНБ.Создавать локальные наборы данных
Ответы и исходные файлы сохраняются в SQLite, JSONL, Parquet и каталогеraw/.Сохранять происхождение данных
Для записей фиксируются источник, версия, документ, файл и контрольные суммы SHA-256.Проверять полноту выгрузки
Сервер сохраняет сведения о количестве полученных записей, пропущенных страницах, дублях, составе файлов и других признаках полноты конкретного источника.Импортировать внешние файлы
Можно вручную добавлять территориальные нормативы и другие материалы. Для некоторых PDF и архивов импорт ограничивается сохранением исходного файла без структурного разбора.
Related MCP server: fgiscs-history-mcp
Чего fgis-mcp не делает
Не выбирает сметную норму автоматически
Сервер предоставляет найденные нормы и их содержание, но не решает, какая из них применима к конкретной технологии.Не определяет применимость коэффициента сам по себе
MCP возвращает текст нормы, таблицу и условия. Решение принимается на основании исходного документа и условий конкретного объекта.Не обходит CAPTCHA и авторизацию
Закрытые и защищённые разделы автоматически не вскрываются.Не скачивает содержимое сторонних региональных сайтов ТЕР
Реестр и доступные ссылки сохраняются, но сторонние ресурсы автоматически не обходятся.Не распознаёт изображения как текст
Если формула, схема или таблица существует только в виде изображения, сервер не пытается восстанавливать её содержимое через OCR.Не считает отсутствие локальных данных доказательством отсутствия данных во ФГИС
Неполная локальная база помечается отдельно.
Как работать через ИИ
Для точных ответов агенту достаточно придерживаться простой последовательности:
Найти нужную норму или документ через MCP; для списка работ использовать пакетный поиск.
Перед описанием нормы прочитать её карточку по шифру и семейству (
ГЭСН,ГЭСНми т. п.).Перед нормативным выводом открыть первоисточник.
Использовать сведения об источнике из результата MCP.
Не выдавать поисковое совпадение за подтверждённую применимость.
Отличать отсутствие данных во ФГИС от отсутствия данных в локальной базе.
Для цены в ЛСР вызывать
fgis_resolve_resource_priceс точнымиdataset_id,zone_idиperiod_id. Не переноситьprice_baseв текущий уровень напрямую: инструмент либо вернёт опубликованную текущую цену, либо явно рассчитаетprice_base × index, либо заблокирует строку как неразрешённую.
document_guid в чтении нормы — строгий фильтр публикации конкретной карточки, а не указатель на
накопительный состав действующей ФСНБ. Сначала читайте норму без этого фильтра; используйте GUID,
только когда нужно подтвердить принадлежность к конкретной публикации.
Поисковая выдача различает:
exact— однозначная карточка с подтверждённым официальным происхождением;candidate— найдено возможное совпадение;ambiguous— один шифр соответствует нескольким нормативным сущностям, требуетсяfamily;not_found— совпадение не подтверждено;filter_reasonотличает строгий промах фильтра;unverified— локальная запись есть, но официальный provenance не подтверждён;error— ошибка отдельной позиции пакетного вызова, не прерывающая остальные позиции.
Каждый инструмент может вернуть ожидаемую операционную ошибку как обычный структурированный
результат с полями status, error_code, error/message, http_status и retryable. Например,
NETWORK_ERROR означает недоступность источника, а не отсутствие данных во ФГИС. Клиенту следует
повторять вызов только при retryable: true; LOCAL_DATASET_INCOMPLETE означает отсутствие нужного
среза в локальной базе и также не доказывает отсутствие данных во ФГИС.
Что можно спросить у ИИ
«Подрядчик применил ГЭСНм10-04-067-04. Что это за норма, какие работы и ресурсы в неё входят?»
«Найди нормы для прокладки кабеля по готовому лотку и покажи, чем найденные варианты отличаются по составу работ.»
«В техчасти указан коэффициент 1,15. Найди, при каких условиях он применяется и покажи исходный пункт документа.»
«Что изменилось в этой норме между редакциями ФСНБ 2024 и 2026 годов?»
«Покажи, как менялась цена этого ресурса в Санкт-Петербурге по доступным кварталам.»
«Вот код ресурса из старой сметы. Как он назывался в разных редакциях ФСБЦ и менялись ли его характеристики?»
Подключение
Нужны uv и Git.
Codex
codex mcp add fgis -- uvx --from git+https://github.com/proovcme/fgis-mcp.git fgis-mcpClaude Desktop, Cursor, Qwen Code, VS Code и другие MCP-клиенты
Добавьте сервер в конфигурацию клиента:
{
"mcpServers": {
"fgis": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/proovcme/fgis-mcp.git",
"fgis-mcp"
]
}
}
}Подробные примеры для разных клиентов: docs/CLIENTS.md.
Проверить соединение с ФГИС ЦС:
uvx --from git+https://github.com/proovcme/fgis-mcp.git fgis-mcp diagnoseДокументация
Задача | Документ |
Подключить MCP-клиент | |
Работать с ФГИС без локальной базы | |
Посмотреть доступные источники | |
Проверить покрытие данных | |
Скачать данные через терминал | |
Разобраться в локальной базе | |
Разобраться в XML OpenData | |
Проверить воспроизводимость и тесты | |
Настроить сеть, VPN и прокси | |
Запустить MCP по URL | |
Посмотреть правила использования данных |
Разработка
Обычные тесты не требуют доступа к ФГИС:
uv sync --locked --group dev
uv run pytest -q
uv run ruff check src tests scripts
uv run ruff format --check src tests scripts
uv buildПроверки с реальным подключением к ФГИС и подготовленной локальной базой запускаются отдельно:
uv run pytest -q -m liveКод распространяется по лицензии MIT.
Данные принадлежат их первоисточникам и используются на условиях соответствующих источников.
Проект независим и не связан с Минстроем России или оператором ФГИС ЦС.
Available Tools
19 toolsfgis_browse_sourceARead-only
Navigate named FGIS source tree. Use returned GUID/id as parent and level for next branch. registry uses section + page; TER sections are 6 and 7. source_params supports region_id/zone_id/period_id/authority_id, stage, group_id, materials, year, fsnb_type. Current-price stages: authorities, services, worker_prices, group_indices, building_indices, direct_cost_indices.
Inputs: source (required), page, level, limit, +5 more.
fgis_cancel_jobA
Request cooperative cancellation after the current request/import; preserve downloaded data.
Inputs: job_id (required).
fgis_catalogBRead-only
List price regions; zones with region parent_id; periods with zone parent_id.
Inputs: kind, parent_id.
fgis_dataset_infoBRead-only
Read dataset counts, coverage, manifest and local artifact paths.
Inputs: dataset_id (required).
fgis_diagnoseARead-only
Check FGIS API JSON via configured route; explain proxy vs full-tunnel VPN limitations.
Inputs: no named parameters.
fgis_document_outlineARead-only
List document paragraphs, explicit HTML headings and tables with text offsets and previews. offset/next_block_offset paginate blocks, not text characters. This is source structure, not an inferred official table of contents. Table indices feed fgis_read_document_table.
Inputs: limit, offset, source, document_guid, +1 more.
fgis_export_datasetA
Export stopped dataset to jsonl and/or parquet. SQLite always exists; return files and hashes.
Inputs: dataset_id (required), formats.
fgis_job_statusARead-only
Read progress, failed tasks and interruption state of a background download.
Inputs: job_id (required).
fgis_list_datasetsARead-only
List locally stored datasets without contacting FGIS.
Inputs: limit, offset.
fgis_query_datasetBRead-only
Offline norms/prices/documents search. Documents return summaries; read full content with document tool.
Inputs: dataset_id (required), code, kind, limit, +4 more.
fgis_read_dataset_documentBRead-only
Read saved complete source JSON/technical parts in bounded character pages; no network.
Inputs: dataset_id (required), document_id (required), limit, offset.
fgis_read_documentARead-only
Read a public document/technical part online as text, without a dataset or disk cache. Use document_refs from browse: source='normative' + GUID for FSNB/FER/methods/PIR; source='fssc'/'fsem' without GUID for those full documents. Offsets are text characters. Pass prior provenance.sha256 as expected_sha256 to guard against changed documents. A bounded 15-minute RAM cache avoids repeated full downloads. refresh forces a new request. Embedded images are not OCR-processed. Use table tool for cells and merged spans.
Inputs: limit, offset, source, refresh, +2 more.
fgis_read_document_tableARead-only
Read source table rows/cells online, preserving header flags, rowspan and colspan. Get table_index from outline. Each row paginates physical source cells with cell_offset/cell_limit; merged cells are not expanded. Long cell previews are explicitly truncated: read their text offsets with read_document. Includes surrounding text; no inferred price or coefficient applicability.
Inputs: table_index (required), limit, source, cell_limit, +4 more.
fgis_read_normBRead-only
Read exact bare norm code online, including work steps and original resource quantities.
Inputs: code (required), limit, offset.
fgis_resume_jobB
Resume a stopped/partial job, verify saved source hashes, retry uncommitted tasks.
Inputs: job_id (required), max_tasks.
fgis_search_documentARead-only
Find literal case-insensitive text within one public document, without a dataset. Whitespace matches across paragraph/cell boundaries. Returns excerpts, character offsets and next_offset for more matches. Use read_document at a returned offset to read the surrounding text. No semantic search, coefficient selection or inference. Check text_status before interpreting no matches.
Inputs: query (required), limit, offset, source, +3 more.
fgis_search_normsARead-only
Search public norm API by code/text. Returns cards for all returned source publications.
Inputs: query (required), limit, offset.
fgis_sourcesBRead-only
Available catalogues: FSNB, FER, TER registry, methodologies/coefficients, prices, archives and limits.
Inputs: no named parameters.
fgis_start_downloadB
Start durable download. Explicit queries, collection prefixes (each scans 01..99), price_books [{zone_id,period_id}]. No automatic all-Russia/history download. sources from fgis_sources traverses actual catalogues and downloads documents with technical parts. ['all_public'] selects all adapters; include_archive adds archived legal trees; all_periods includes historical split forms (large). max_tasks bounds traversal; bounded jobs retain pending tasks. TER registry is not TER table content; bulk archive files require interactive portal CAPTCHA. Search enumeration cannot establish exhaustive FSNB coverage. Returns job/dataset ID.
Inputs: queries, sources, max_tasks, all_periods, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
Most tools target distinct resources and actions: source/catalog browsing, norm search vs read, online vs dataset reads, and job lifecycle tools are clearly separated. Some potential confusion exists between fgis_sources, fgis_catalog, and fgis_browse_source, and between offline query_dataset and online search_norms/search_document, but the descriptions are specific enough to disambiguate.
All tools share the fgis_ prefix and most follow a verb_noun pattern such as search_norms, read_document, cancel_job, and export_dataset. A few noun-style names like fgis_sources, fgis_catalog, fgis_dataset_info, and fgis_job_status, plus verb-only fgis_diagnose, break the pattern slightly, but the convention is still readable and predictable.
19 tools is on the heavy side and sits in the borderline range for a single MCP server. The tools are largely distinct, but catalog/source browsing, document reading, and job management could potentially be consolidated without losing much clarity.
The surface covers the full read-oriented workflow: discover sources and catalogues, browse and search online, start and manage downloads, then query, read, and export saved datasets. Minor gaps such as no direct way to fetch a dataset by ID from a job result and no dataset deletion/pruning keep it from a perfect score, but core workflows have no dead ends.
Related MCP Connectors
Current law as data for AI: search, read and verify statutes and citations. CIS countries first.
Russian docs for AI agents: invoices/acts PDF, document parsing, INN checks, medical ad checks
AI Hub for AEC — 50+ 3D formats, clash detection, ACC integration via Autodesk Platform Services.
Russian company lookup (EGRUL/INN), Cyrillic search, RU page to Markdown. Pay per call in USDC.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables AI clients to search and read Korean Construction Standards (KCS/KDS) documents directly, using the KCSC OpenAPI.42-
- AlicenseAqualityDmaintenanceMCP server that exposes the version history of Russian construction-pricing open data (ФГИС ЦС), enabling queries about dataset versions, salary changes, and republished-but-unchanged exports.41MIT

co.geztio/platformofficial
AlicenseNot gradedqualityBmaintenanceEnables AI assistants to search and manage construction project economic data, including unit price analyses, resource catalogs, budget trees, and price lists, with secure multi-tenant access.MIT- AlicenseNot gradedqualityCmaintenanceEnables users to search and retrieve current K-eco regulation articles, verify citations and detect hallucinated titles, trace cross-references, run compliance-radar checks, inspect attachments, and sync current versions from ALIO through MCP-compatible clients.MIT