1C MCP: search over a configuration's structure and code

1C MCP

A stdio MCP server that indexes a 1C structure XML export and code into SQLite and gives an agent search over objects and procedures

  • 0 ★ on the repository
  • Last commit
MCP server

Extended access

Why this level

  • Builds a SQLite index of the 1C XML dump, code and docs in Docker
  • The MCP server only reads that index and never touches a live database
All reasons and checks
Russian stack

rezuqq/1c-mcp

Install

Manual install

docker compose run --rm --build index-structure && docker compose run --rm --build index-docs && docker compose run --rm -T mcp

Builds the structure and documentation index and immediately starts the MCP server, meant for a first run on a new machine.

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • Builds a SQLite index of the 1C XML dump, code and docs in Docker
  • The MCP server only reads that index and never touches a live database

This is third-party code. Review the repository files before installing.

What it does

The project does not store the 1C configuration itself, it builds an index over it. From a structure XML export it builds SQLite tables of metadata objects, attributes and type links. Separately, you can index a folder of exported 1C code: the indexer finds procedure and function declarations and endings in both Russian and English syntax and pulls them into searchable records. A third layer is documentation: the indexer reads markdown, text, html and PDF files from a docs folder and makes them searchable through the search_docs tool. The MCP server runs over stdio and gives the agent about a dozen search tools across all three layers at once.

Who it is for. For 1C developers who want to give an agent fast search over a specific configuration's structure and code instead of manually grepping the export.

Good fit when

  • You have a configuration structure XML export and need to search objects and attributes quickly
  • You have a 1C code export and need to search procedures and functions by name or content
  • You want reference documentation next to the code index for search in one place

Not a fit when

  • You have neither a structure XML export nor a code export, so there is nothing to index
  • You need access to a live 1C database, not a static index of an export
  • You are not ready to keep Docker Desktop running for indexing and serving

Example request

Find the procedure that recalculates balances in the Товары register and show its source code

MCP

Transport
stdio
Authentication
not required

Environment variables

CODE_EXPORT_DIR
Host path to the folder with exported 1C code to index

Limitations

The server only works with prepared exports, not with a live 1C database directly. The repository ships a few 1C-related PDF books alongside the code as a documentation-indexing example, and their origin and rights are not stated, so it is worth replacing that folder with your own material for a real project. Indexing without rebuilding the image after a Dockerfile change will not pick up new dependencies like pypdf.

How to disable. Stop the containers with docker compose down; the MCP server only runs when a client launches it and does not linger in the background on its own.

FAQ

Do I need to reindex on every configuration change?

Yes, if the structure XML export changed or a new code export appeared, the README recommends rebuilding the relevant index.

Can it work without Docker?

The local scripts parser/indexer.py, code_indexer.py, docs_indexer.py and search/search.py remain as helpers, but the README recommends Docker as the main way to run it.

Discussion

No questions or reviews yet.

Russian stack

An MCP server and portable admin tool for analyzing an exported 1C XML configuration: object listing, metadata structure, code search

MCP serverExtended access2Repository stars
Russian stack

A SQLite code index with MCP tools for search, call graphs and metadata, including 1C dumps from Designer and EDT

MCP serverExtended access162Repository stars
Russian stack

An MCP server for Claude Code: full-text search over multiple 1C XML+BSL configuration exports in a local SQLite FTS5 database

MCP serverExtended access

1C configuration graph MCP server

1C Configuration MCP Server

Russian stack

An MCP server builds a metadata and call graph from a 1C configuration's XML and BSL export, with optional semantic search via an external embedder and Qdrant

MCP serverExtended access4Repository stars
Russian stack

A local MCP server for semantic search over an exported 1C configuration, with a choice of embedding model and vector database

MCP serverExtended access11Repository stars
Russian stack

A local OneScript MCP server for searching a 1C configuration dump right from Cursor

MCP serverExtended access18Repository stars

README in short

The README explains that the project stores an index rather than the configuration itself, lists the SQLite tables and indexer modules, shows docker compose commands to run the MCP server and to index structure, code and documentation separately, gives an MCP client config example both through docker compose run and a direct python3 mcp/server.py launch, and describes the formats the code and documentation indexers understand.

README badge

Report a problem