fsnb-mcp
Offline MCP server for querying Russian construction normative rates (FSNB-2022/GESN) via SQLite with full-text search.
README
fsnb-mcp
MCP-сервер для офлайн-доступа к нормам ФСНБ-2022 (ГЭСН) через SQLite + FTS5. Данные — из официального набора открытых данных ФГИС ЦС; сервер только читает локальную базу, в сеть не ходит.
Быстрый старт
npm install && npm run build && npm run build:sample
Подключение к MCP-клиенту:
{
"mcpServers": {
"fsnb-mcp": {
"command": "node",
"args": ["/path/to/fsnb-mcp/dist/index.js"],
"env": {
"FSNB_DB": "/path/to/fsnb-mcp/samples/sample.sqlite"
}
}
}
}
Переменные окружения:
FSNB_DB— прямой путь к sqlite (приоритет)FSNB_DATA_DIR— каталог данных (по умолчанию~/.fsnb-mcp/data, файлfsnb.sqlite)
Инструменты (5)
| Инструмент | Назначение |
|---|---|
fsnb_rate_get |
Норма по коду (gesn:01-01-001-01 или 01-01-001-01) |
fsnb_search |
Полнотекстовый поиск (FTS5, кириллица) |
fsnb_rate_composition |
Состав ресурсов: труд, машины, материалы (нормы расхода) |
fsnb_validate_code |
Проверка существования кода |
fsnb_meta |
Метаданные, manifest, правовая основа |
Данные и атрибуция
Нормативные данные получены из официального набора открытых данных ФГИС ЦС «ФСНБ-2022» (Минстрой России): https://fgiscs.minstroyrf.ru/opendata/7707082071-fsnb
Условие использования данных: использование, включая коммерческое, разрешено при условии ссылки на первоисточник (портал ФГИС ЦС, ссылка выше).
Правовая опора для ПО: письмо Минстроя России от 08.02.2021 №4350-ИТ/09 — законодательство не содержит запретов на разработку программного обеспечения для автоматизации сметной документации на основе нормативов ФРСН/ФГИС ЦС.
В репозитории — только образец samples/sample.sqlite (10 реальных норм). Полная база собирается локально скриптом scripts/ingest/fgiscs-xml.mjs.
Разработка
npm install
npm run build
npm test
npm run build:sample
Требования: Node.js ≥ 22 (node:sqlite + FTS5).
License
MIT (код). Данные ФСНБ лицензируются отдельно — см. раздел «Данные и атрибуция».
English (short)
MCP server for offline read-only access to Russian construction normative rates (FSNB-2022 / GESN) via SQLite + FTS5. Data from official FGISC open data (Minstroy portal); attribution required. Legal basis for software use: Minstroy letter №4350-ИТ/09 (2021-02-08). Code: MIT.
npm install && npm run build && npm run build:sample
Set FSNB_DB to your sqlite path. Five tools: fsnb_rate_get, fsnb_search, fsnb_rate_composition, fsnb_validate_code, fsnb_meta.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.