New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@vymalo/lightbridge-code-intelligence-mcp

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vymalo/lightbridge-code-intelligence-mcp

Local-first MCP server giving coding agents repository-aware semantic and structural code retrieval.

latest
Source
npmnpm
Version
0.4.0
Version published
Maintainers
2
Created
Source

@vymalo/lightbridge-code-intelligence-mcp

A local-first Model Context Protocol server that gives coding agents repository-aware semantic and structural code retrieval. Index a checkout once, then ask it to find a symbol, walk callers and callees, explore a symbol's neighborhood, or search code by meaning.

Everything runs in one local process launched over stdio by the MCP host. There is no server to deploy, no daemon left running, and no database to install — the index is a single SQLite file in your user data directory. The only outbound network call the tool ever makes is to an optional embeddings endpoint, and only when semantic search needs one.

Connect it to an MCP host

There is nothing to install first — point your host at the package with npx, passing --stdio and the repository to index:

{
  "mcpServers": {
    "lci": {
      "command": "npx",
      "args": [
        "-y",
        "@vymalo/lightbridge-code-intelligence-mcp",
        "--stdio",
        "--root",
        "/path/to/your/repo"
      ]
    }
  }
}

Then call lci_index once. Structural queries work as soon as it returns.

Requires Node.js 24 or newer. The Rust engine ships as a prebuilt native addon in @vymalo/lightbridge-code-intelligence-native, fetched automatically. Prebuilt binaries currently cover Linux x64 (glibc) and Linux arm64 (glibc).

Installing it instead

To avoid re-resolving the package on every launch, install it and use the binary as the command:

npm install -g @vymalo/lightbridge-code-intelligence-mcp
{
  "mcpServers": {
    "lci": {
      "command": "lightbridge-code-intelligence-mcp",
      "args": ["--stdio", "--root", "/path/to/your/repo"]
    }
  }
}

An MCP host launched from a desktop environment does not always inherit the PATH your shell has, so if the host reports that the command cannot be found, give the absolute path that which lightbridge-code-intelligence-mcp prints.

Tools

ToolWhat it does
lci_indexIndexes or reindexes the repository. Returns once structural extraction completes; embeddings, if configured, keep building in the background. Never destroys the previously active index on failure.
lci_index_statusIndex lifecycle, freshness and statistics — state, whether it is usable, indexed vs current HEAD, and file/chunk/node/edge counts.
lci_find_symbolFinds structural symbols by name, label or path substring, case-insensitively.
lci_get_callersDirect callers of a node id — reverse call-graph edges.
lci_get_calleesDirect callees of a node id — forward call-graph edges.
lci_explore_symbolA symbol's immediate neighborhood: nearby nodes and the call edges among them, out to a given caller/callee depth.
lci_searchSemantic search over the index. Returns ranked chunks with source locations and node ids for follow-up structural exploration. Requires an embeddings endpoint.

lci_find_symbol is the usual entry point: it returns node ids that the three graph tools take.

Configuration

Semantic search needs an OpenAI-compatible embeddings endpoint. Without one the other six tools work normally and lci_search reports that it is unavailable.

lightbridge-code-intelligence-mcp --stdio \
  --root /path/to/repo \
  --embedding-base-url https://your-endpoint/v1 \
  --embedding-model text-embedding-3-small

Or in ~/.config/lci/config.json:

{
  "embedding": {
    "baseUrl": "https://your-endpoint/v1",
    "model": "text-embedding-3-small",
    "dimensions": 1536,
    "auth": { "apiKey": "..." }
  }
}

Rather than storing a key, embedding.auth.helper can name a command that prints headers on stdout, which is re-run when the endpoint rejects the cached credentials.

Sources are merged lowest to highest precedence:

built-in defaults → ~/.config/lci/config.json → --config → LCI_CONFIG_CONTENT → --config-json → CLI flags

lightbridge-code-intelligence-mcp config show prints the resolved configuration with credentials redacted, along with the repository identity and the database path it will use.

Options

FlagMeaning
--stdioStart the MCP server on stdio (required to actually serve)
--root <path>Repository root to index (default: current directory)
--config <path>Load a JSON config file
--config-json <json>Inline JSON config, merged over --config
--log-level <level>error, warn, info, debug, trace (default: info)
--embedding-base-url <url>OpenAI-compatible embeddings endpoint; unset disables embeddings
--embedding-model <name>Embedding model name
--embedding-dimensions <n>Expected embedding vector size
--database <path>Override the SQLite database path

Where the index lives

By default {{dataDir}}/lci-mcp/{{repoKey}}/index.sqlite — your platform data directory, keyed by a hash of the repository, so several checkouts never collide. --database overrides it.

The server refuses to index a root that resolves to a home directory or a filesystem root; pass --root at a specific repository instead.

FAQs

Package last updated on 25 Sep 2026

Related posts