Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyProgramming

code-index

Lets your AI agent search and navigate code through a fast local index, with support for 1C:Enterprise configurations.

160 stars on GitHubby RegsormLicense MITUpdated 27 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add code-index -- npx -y @regsorm/code-index-mcp serve --path "<path>"

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Who calls this procedure, and what does it call?
Find the shortest call chain between these two functions.

What it is

code-index builds a searchable SQLite index of your source code, so your AI agent gets ready answers instead of reading many files. It parses code into syntax trees for 14 languages and offers tools for symbols, callers, call trees and file reading. It also reads 1C:Enterprise (BSL) exports from Configurator and EDT.

What it can do

  • search_function and get_function: find functions and get their body
  • find_symbol: find a function, class, variable or import
  • get_callers, get_callees, find_path: call graph
  • read_file and list_files: read files from the index
  • grep_body and grep_code: search inside code
  • git_log, git_diff: history of the repository
  • get_stats: state of the index

When to use

  • β€ΊWhen you want to know who calls a function in a big codebase without many file reads
  • β€ΊWhen you work with a large 1C:Enterprise configuration
  • β€ΊWhen you want to cut the tokens your agent spends on code search

What you need

The code-index program (install script on Windows, npm package @regsorm/code-index-mcp, or build with Rust 1.77+). A background daemon must be running to build the index, and CODE_INDEX_HOME must be set, or tools answer daemon_offline.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it open source?

Yes. The repository has a license file and a public release.

How fast is it?

The readme reports about 10 ms per query over HTTP, and 5 minutes 51 seconds to index an 88,284-file configuration.

Which clients work?

Claude Code, Cursor, VS Code, LibreChat and other MCP clients.

Why does it say daemon_offline?

The server only reads the index. The background indexer (daemon run) must be running.

Which version supports 1C?

The bsl-indexer build. The core build without 1C has 25 tools.

Is the server open to the network?

By default it listens only on 127.0.0.1 and accepts only loopback Host headers.

If it does not work

  • β€ΊStart the daemon with daemon run and set CODE_INDEX_HOME if tools answer daemon_offline.
  • β€ΊIf the server returns 403 Host header is not allowed, list the client names in allowed_hosts.
  • β€ΊRebuild the index if you move to a new data version, as the readme notes.

5 new skills a week. 1 minute to read.