Skip to main content
MCP server CX Codex

code-index — Claude Code MCP server: use and install

Indexes source code in SQLite and gives AI agents structured symbol and call data. It fits repository search and native 1C:Enterprise analysis.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add code-index -- npx -y @regsorm/code-index-mcp
Open on GitHub

What code-index does

code-index parses source files into an AST, stores symbols, function bodies, calls, and metadata in SQLite, then exposes the index through MCP. It is written in Rust, handles AST data for 14 languages, and includes native support for 1C:Enterprise 8.3 exports from both Configurator and 1C:EDT.

The npm route uses @regsorm/code-index-mcp; its postinstall step fetches a ready binary for the current platform. The server can use HTTP or stdio. In either mode, a separate npx @regsorm/code-index-mcp daemon run process builds the index while the MCP server reads it.

Set CODE_INDEX_HOME before using the npm setup. Without the background indexer, tools return daemon_offline. The server can connect to Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, and Zed.

What it helps with

  • find symbol definitions across a repository
  • trace calls to a procedure or function
  • inspect source structure through an AST
  • search project code through MCP
  • analyze 1C:Enterprise 8.3 exports

Example prompts for the agent

  • Index this repository and find every call to UpdateData.
  • Show the definition of UserService and the code locations that use it.
  • Inspect the 1C modules and map the dependencies between them.

How to install code-index

Platform CLI

claude mcp add code-index -- npx -y @regsorm/code-index-mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about code-index

How do I install code-index in Claude Code?

Run claude mcp add code-index -- npx -y @regsorm/code-index-mcp. Then start npx @regsorm/code-index-mcp daemon run and set CODE_INDEX_HOME.

What does code-index do?

It builds a SQLite index of source code and exposes symbols, function bodies, calls, and structure to an AI agent through MCP. The server supports AST data for 14 languages and native 1C:Enterprise 8.3 analysis.

What does the npm setup require?

Run npx @regsorm/code-index-mcp daemon run and set CODE_INDEX_HOME. The tools return daemon_offline when the background indexer is not running.

Topics and platforms

MCP servers catalog →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor