# Local Codebase Indexer (pypi · local-codebase-indexer)

Trace SQL Server tables to C# callers and Razor pages locally; MCP server and CLI.

- Trust score: 63/100 (medium)
- Change this week: +29
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-11-21

## Components

- pypi · `local-codebase-indexer`: 63/100 (this document), [markdown](https://verifymcp.io/servers/sfy257000-local-codebase-indexer/local-codebase-indexer.md), [page](https://verifymcp.io/servers/sfy257000-local-codebase-indexer/local-codebase-indexer)

## Channel facts

- Registry: `pypi`
- Package: `local-codebase-indexer`
- Version: `1.1.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-11-21.

- **Supply Chain Security**: 49/100
  - Malware scan not yet available for this package.
  - No known CVEs affecting this package version or its production dependencies.
  - Runs setuptools.build_meta at install time, a recognised build step with no custom scripting around it.
  - 1 of 8 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 97/100
  - Source repository is publicly reachable at the declared URL.
  - Cryptographically verified build provenance (signed, bound to sfy257000/local-codebase-indexer).
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 1 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 67/100
  - AI-judged instruction clarity (good).
  - Context-footprint check failed: tool/resource definitions use about 842 tokens (~120/item across 7 items; 7 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 0/100
  - Stability not yet verified: not enough scan history yet (needs a 30-day window).
- **Tool Coverage**: 91/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 68% of tool parameters carry a description.
  - Structured output schemas are declared (100% of tools); any adoption earns full credit.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 7 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 7 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

**Unverified: 1 category.** A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

## Install

### How do I install the Local Codebase Indexer MCP server?

Local Codebase Indexer runs locally as a PyPI package, launched with uvx local-codebase-indexer serve, plus the required --root, which you supply. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add sfy257000-local-codebase-indexer -- uvx local-codebase-indexer serve
```

Incomplete: the registry marks --root as required and gives no value we can show, so it is not in this command. Add it before you run it.

### Cursor

```json
{
  "mcpServers": {
    "sfy257000-local-codebase-indexer": {
      "command": "uvx",
      "args": [
        "local-codebase-indexer",
        "serve"
      ]
    }
  }
}
```

Incomplete: the registry marks --root as required and gives no value we can show, so it is not in this command. Add it before you run it.

### VS Code

```json
{
  "servers": {
    "sfy257000-local-codebase-indexer": {
      "command": "uvx",
      "args": [
        "local-codebase-indexer",
        "serve"
      ]
    }
  }
}
```

Incomplete: the registry marks --root as required and gives no value we can show, so it is not in this command. Add it before you run it.

### Codex

```bash
codex mcp add sfy257000-local-codebase-indexer -- uvx local-codebase-indexer serve
```

Incomplete: the registry marks --root as required and gives no value we can show, so it is not in this command. Add it before you run it.

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "sfy257000-local-codebase-indexer": {
      "type": "local",
      "command": [
        "uvx",
        "local-codebase-indexer",
        "serve"
      ],
      "enabled": true
    }
  }
}
```

Incomplete: the registry marks --root as required and gives no value we can show, so it is not in this command. Add it before you run it.

### OpenClaw

```bash
openclaw mcp add sfy257000-local-codebase-indexer --command uvx --arg local-codebase-indexer --arg serve
```

Incomplete: the registry marks --root as required and gives no value we can show, so it is not in this command. Add it before you run it.

### Hermes

```yaml
mcp_servers:
  sfy257000-local-codebase-indexer:
    command: "uvx"
    args: ["local-codebase-indexer", "serve"]
```

Incomplete: the registry marks --root as required and gives no value we can show, so it is not in this command. Add it before you run it.

### Netclaw

```json
{
  "McpServers": {
    "sfy257000-local-codebase-indexer": {
      "Transport": "stdio",
      "Command": "uvx",
      "Arguments": [
        "local-codebase-indexer",
        "serve"
      ]
    }
  }
}
```

Incomplete: the registry marks --root as required and gives no value we can show, so it is not in this command. Add it before you run it.

### Vellum

```bash
assistant mcp add sfy257000-local-codebase-indexer -t stdio -c uvx -a local-codebase-indexer serve
```

Incomplete: the registry marks --root as required and gives no value we can show, so it is not in this command. Add it before you run it.

### Other

```json
{
  "mcpServers": {
    "sfy257000-local-codebase-indexer": {
      "command": "uvx",
      "args": [
        "local-codebase-indexer",
        "serve"
      ]
    }
  }
}
```

Incomplete: the registry marks --root as required and gives no value we can show, so it is not in this command. Add it before you run it.

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-11-20 (score 63, +14)

- [security regression] Malware scan: pass → unverified
- [security improvement] Injection markers: unverified → pass
- [security] First check of Judged manipulation: pass
- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional improvement] Tool coverage: unverified → 100
- [functional improvement] MCP protocol: unverified → pass
- [functional] First check of Schema quality: fail
- [functional] First check of Destructive annotations: pass
- [functional] First check of Schema quality: fail
- [functional] First check of Tool coverage: 68
- [functional] First check of Schema quality: good
- [functional] First check of Tool coverage: 100
- [functional] Package version: 0.9.1 → 1.1.0
- [functional] Package version: 0.9.1 → 1.0.0

### 2026-11-19 (score 49, +15)

- [security improvement] Malware scan: unverified → pass

### 2026-11-18 (score 34, −15)

- [security regression] Malware scan: pass → unverified

### 2026-11-15 (score 49, +15)

- [security improvement] Malware scan: unverified → pass

### 2026-11-13 (score 34, 0)

- [functional] Package version: 0.9.0 → 0.9.1

### 2026-11-11 (score 34, 0)

- [functional regression] Dependency health: 1.00 → 0.93

### 2026-11-10 (score 34, 0)

- [functional] Package version: 0.8.0 → 0.9.0

### 2026-11-09 (score 34)

First indexed and scored.

## MCP tools (7)

### `codebase_semantic_search` (~200 tokens)

Find code from a description when you do not know the identifiers (Chinese or English; hybrid keyword + symbol + vector search). For an exact identifier or string literal, plain grep is faster and complete.

Input parameters:

- `cursor` (string): Continue using pagination.next_cursor; query and filters must remain unchanged.
- `detail` (boolean): Return full structured nested collections; result limits and lookup bounds still apply.
- `explain` (boolean): Explain matched query terms, synonym sources, layer ranks, and data-access evidence.
- `file_pattern` (string): File glob, e.g. *Repository*.cs
- `language` (string)
- `limit` (integer): Maximum chunks to return (default 5).
- `mode` (string)
- `offset` (integer)
- `query` (string, required): Semantic explanation of what you are looking for.
- `related` (boolean): Also list files linked to the top hits in the dependency graph.

Output parameters:

- `mode` (string)
- `query` (string)
- `related_files` (array)
- `result_type` (string)
- `results` (array)
- `schema_version` (integer)
- `truncation` (array)

### `codebase_get_symbol_relations` (~137 tokens)

Who calls a method (resolved through interfaces / DI to the implementation, with confidence levels), what it calls, and who implements or inherits a type. Use instead of grep when the call goes through an interface. Overloaded names: pass Type.Method.

Input parameters:

- `detail` (boolean): Return full structured nested collections; result limits and lookup bounds still apply.
- `relation_direction` (string)
- `symbol_name` (string, required): Class, interface or method name; "Type.Method" or a full qualified name picks one class, e.g. "IExistOpenHandleService" or "SFC_MLotRepository.InsertAsync".

Output parameters:

- `definitions` (array)
- `result_type` (string)
- `schema_version` (integer)
- `symbol` (string)
- `truncation` (array)

### `codebase_get_optimized_context` (~75 tokens)

Return only the relevant lines around focus lines of a file to minimise token usage.

Input parameters:

- `file_path` (string, required): Target source file (relative to project root).
- `focus_lines` (array, required): Target lines identified by search tools.
- `padding_lines` (integer): Surrounding lines to extract (default 15).

Output parameters:

- `context` (string)
- `file_path` (string)
- `result_type` (string)
- `schema_version` (integer)
- `truncated` (boolean)
- `truncation` (array)

### `codebase_get_data_access` (~199 tokens)

Who reads, writes or executes a database table / stored procedure / view, and which programs (controller actions, followed through the C# call graph) end up touching it. Covers SQL files, C# SQL strings (literals, concatenation, StringBuilder) via Dapper / ADO.NET, EF LINQ on DbSets and EF mappings, plus callers of procedures. Prefer this over grep for impact analysis of a table. Dynamic SQL is reported as uncertain.

Input parameters:

- `call_depth` (integer)
- `confidence` (string)
- `detail` (boolean): List every entry instead of the 5-entry summary.
- `limit` (integer): Page size per section.
- `object_name` (string, required): Table, view or procedure name, optionally schema qualified, e.g. "MES_Lot" or "dbo.usp_Lot_UpdateStatus".
- `offset` (integer)
- `sql_depth` (integer)

Output parameters:

- `ambiguous` (boolean)
- `candidates` (array)
- `coverage` (object)
- `executed_by` (array)
- `found` (boolean)
- `key` (string)
- `mapped_by` (array)
- `object` (string)
- `possible` (array)
- `readers` (array)
- `result_type` (string)
- `schema_changes` (array)
- `schema_version` (integer)
- `truncation` (array)
- `writers` (array)

### `codebase_impact_analysis` (~119 tokens)

Impact of a change: symbols on changed lines (git diff), tables / procedures they access, and the programs, Razor pages and caller-less entry points that reach them. Use before committing or when reviewing a branch.

Input parameters:

- `base` (string): Git revision or range to diff against, e.g. "main", "HEAD~3", "origin/main...HEAD". Omit for uncommitted work (staged, unstaged, untracked).
- `detail` (boolean): List every changed symbol instead of the first 15.

Output parameters:

- `changed` (array)
- `programs` (array)
- `result_type` (string)
- `schema_version` (integer)
- `tables` (array)
- `truncation` (array)

### `codebase_index_status` (~63 tokens)

Report whether the index can be trusted: freshness, git commit it was built from, files that failed to index, and consistency checks. Does not refresh the index.

Input parameters:

- `detail` (boolean): Return full structured nested collections; result limits and lookup bounds still apply.

Output parameters:

- `result_type` (string)
- `root` (string)
- `schema_version` (integer)
- `state` (string)
- `truncation` (array)

### `codebase_index_doctor` (~49 tokens)

Diagnose index coverage and explain why a file is excluded.

Input parameters:

- `detail` (boolean): Return full structured nested collections; result limits and lookup bounds still apply.
- `path` (string)

Output parameters:

- `eligible_files` (integer)
- `result_type` (string)
- `root` (string)
- `schema_version` (integer)
- `truncation` (array)

## Diagnostics

Captured diagnostic sections: Provenance, Install scripts, Dependencies. The full working is on the page: https://verifymcp.io/servers/sfy257000-local-codebase-indexer/local-codebase-indexer#diagnostics

## Score history

- 2026-11-21: 63
- 2026-11-20: 63
- 2026-11-19: 49
- 2026-11-18: 34
- 2026-11-17: 49
- 2026-11-16: 49
- 2026-11-15: 49
- 2026-11-14: 34
- 2026-11-13: 34
- 2026-11-12: 34
- 2026-11-11: 34
- 2026-11-10: 34
- 2026-11-09: 34

## Common questions

### What is the Local Codebase Indexer MCP server?

Local Codebase Indexer is an MCP server listed in the public MCP registry as io.github.sfy257000/local-codebase-indexer. Trace SQL Server tables to C# callers and Razor pages locally; MCP server and CLI. This page covers its PyPI package (local-codebase-indexer).

### Is the Local Codebase Indexer MCP server safe to use?

Local Codebase Indexer scores 63 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 21 November 2026. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the Local Codebase Indexer MCP server expose?

Local Codebase Indexer exposes 7 tools: codebase_semantic_search, codebase_get_symbol_relations, codebase_get_optimized_context, codebase_get_data_access, codebase_impact_analysis, and 2 more. Their descriptions and schemas cost roughly 842 tokens of context every time the server is loaded.

### Is the Local Codebase Indexer MCP server still maintained?

Local Codebase Indexer is still listed as active in the MCP registry. We last reached this channel on 21 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the Local Codebase Indexer MCP server under?

Local Codebase Indexer declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

### What did VerifyMCP test on the Local Codebase Indexer MCP server?

VerifyMCP ran 14 checks on Local Codebase Indexer, covering Known CVEs, Install scripts, Dependency health, Source repository and 10 more. 2 items could not be completed, a gap on our side rather than a finding about Local Codebase Indexer: Malware scan and Stability. One category scores 0 for that reason, because we only credit what we can confirm. Endpoint Security and Transport & Reachability do not apply to a PyPI package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.

## Links

- PyPI project: https://pypi.org/project/local-codebase-indexer/
- Socket report: https://socket.dev/pypi/package/local-codebase-indexer
- Repository: https://github.com/sfy257000/local-codebase-indexer
- Changelog RSS feed: https://verifymcp.io/servers/sfy257000-local-codebase-indexer/local-codebase-indexer.xml
- Changelog JSON feed: https://verifymcp.io/servers/sfy257000-local-codebase-indexer/local-codebase-indexer/changelog.json
- Trust report (JSON): https://verifymcp.io/servers/sfy257000-local-codebase-indexer/local-codebase-indexer.json
- HTML version of this page: https://verifymcp.io/servers/sfy257000-local-codebase-indexer/local-codebase-indexer
