Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

codeindex

by munhqversion 0.6.2i★ –iRuns on your computer
Registry nameio.github.munhq/codeindex

Install

Overview

Description from the maker (original English)

Structural code intelligence over MCP: symbols, callers, imports and blast radius, 40+ languages.

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Other

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • You fill in yourself: CODEINDEX_WORKSPACE, CODEINDEX_NO_DAEMON, CODEINDEX_DAEMON_IDLE_SECS

You need

  • npmNode.js installed (for the npx command)

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

{
  "mcpServers": {
    "codeindex": {
      "command": "npx",
      "args": [
        "-y",
        "@munhq/codeindex"
      ],
      "env": {
        "CODEINDEX_WORKSPACE": "your-value",
        "CODEINDEX_NO_DAEMON": "your-value",
        "CODEINDEX_DAEMON_IDLE_SECS": "your-value"
      }
    }
  }
}

Run this in your terminal

claude mcp add codeindex --env CODEINDEX_WORKSPACE=your-value --env CODEINDEX_NO_DAEMON=your-value --env CODEINDEX_DAEMON_IDLE_SECS=your-value -- npx -y @munhq/codeindex

Fill in the empty values before running it.

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

{
  "mcpServers": {
    "codeindex": {
      "command": "npx",
      "args": [
        "-y",
        "@munhq/codeindex"
      ],
      "env": {
        "CODEINDEX_WORKSPACE": "your-value",
        "CODEINDEX_NO_DAEMON": "your-value",
        "CODEINDEX_DAEMON_IDLE_SECS": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "codeindex": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@munhq/codeindex"
      ],
      "env": {
        "CODEINDEX_WORKSPACE": "your-value",
        "CODEINDEX_NO_DAEMON": "your-value",
        "CODEINDEX_DAEMON_IDLE_SECS": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

Values you fill in

  • CODEINDEX_WORKSPACE env
    Directory to index. Defaults to the enclosing project root of wherever the client starts the server, which is the right answer for every editor and agent that launches it inside a repository. Set it…
  • CODEINDEX_NO_DAEMON env
    Set to 1 to keep the index inside this server process. By default every session on one repository shares a single background daemon that parses and watches the tree once, and each session is a thin r…
  • CODEINDEX_DAEMON_IDLE_SECS env
    Seconds with no session attached before the shared daemon exits and returns its memory. Default 900. Set 0 to keep it resident.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 6, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account munhq, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Otheri

  • More stars than 0% of the other 32415 servers in this category
  • Published to the registry more recently than 90% of the other 32415 servers in this category
  • Basic checks equal to or better than 100% of the other 32415 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is codeindex safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (0.6.2) reached the registry 3 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Spec Driven Development, Remote Desktop Commander, Safe Fetch

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Spec Driven Development

by formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

Runs on your computer★ 440MITUpdated 14 months ago
Install

Remote Desktop Commander

by desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

Runs in the cloud★ 211Updated yesterday
Install

Safe Fetch

by Sanoy24

MCP server for fetching URLs, safe against SSRF, DNS rebinding, and redirect-to-internal attacks.

Runs on your computerUpdated today
Install

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

A structural code intelligence engine that runs as an MCP server for AI coding agents.

It indexes your codebase with tree-sitter (40+ languages), builds a trigram full-text index, an inverted word index, and a dependency graph — then exposes them through 16 MCP tools.

 ┌─────────────┐   MCP (stdio)   ┌───────────┐            ┌──────────────────┐

│ AI Agent │ ◄─────────────► │ codeindex │ socket │ codeindex daemon │ │ (Claude, │ 16 tools, │ (relay) │ ◄────────► │ one per │ │ Cursor…) │ JSON-RPC └───────────┘ │ workspace │ └─────────────┘ └────────┬─────────┘ ┌─────────────┐ MCP (stdio) ┌───────────┐ │ │ AI Agent │ ◄─────────────► │ codeindex │ ◄───────────────────┘ │ (session 2)│ │ (relay) │ tree-sitter parse (40+ langs) └─────────────┘ └───────────┘ trigram + word index dependency graph one file watcher snapshot persistence

Every session on a repository speaks plain stdio MCP, as before. Behind that, they share one index: the tree is parsed once, watched once and written once, however many agents are attached. Eight sessions on one repository used to be eight copies of the same index, eight file watchers and eight writers of the same snapshot; measured on a 720-file project, each session went from 87 MB to 7 MB, against one shared 77 MB daemon.

Why

AI coding agents spend tokens reading entire files. codeindex answers structural questions — symbol outlines, definitions, callers, blast radius, dependency chains — in a few hundred tokens instead of thousands.

One plan_change call returns: where a symbol is defined, every call site, the file's architectural role (god module / stable core / island / driver), hardcoded literals to check, and the full transitive blast radius if the file changes.

Quickstart

The shortest path, if you have Node 18+. Nothing else to install, no key, no config — the package is a 4 KB wrapper that fetches the binary for your platform and verifies it against the published checksums:

claude mcp add codeindex -- npx -y @munhq/codeindex

No Node, or you want the skill and the hook as well:

# Prebuilt binary + skill + MCP registration, in one command

curl -fsSL https://raw.githubusercontent.com/munhq/codeindex/main/install.sh | sh

Or build from source:

cd zig && ./fetch-vendor.sh && zig build -Doptimize=ReleaseFast

Docker, for hosts that install MCP servers as images. The workspace is bind-mounted read-only; codeindex never writes to it:

docker run -i --rm -v "$PWD:/workspace:ro" munhq/codeindex

Register with your AI agent:

# Claude Code — the plugin is the one-step path. It ships the skill, both

routing hooks and the MCP server together, and its launcher finds or fetches

the binary.

claude plugin marketplace add munhq/codeindex claude plugin install codeindex@codeindex

Without the plugin (or for a different MCP client), register the binary

directly. Do not do both: two registrations mean two servers, two copies of

every tool schema, and two writers on one snapshot. install.sh detects the

plugin and skips this step when it is present.

claude mcp add -s user codeindex -- ~/.local/bin/codeindex --mcp

Cursor / Claude Desktop / other MCP clients: add to your config

{ "mcpServers": { "codeindex": { "command": "npx", "args": ["-y", "@munhq/codeindex"] } } }

Every listing points at the same server: npm @munhq/codeindex, the official MCP registry as io.github.munhq/codeindex, and Smithery as munhq/codeindex.

The next time your agent starts, codeindex indexes your project in the background and serves structural queries.

MCP Tools

ToolWhat it does
statusIndex stats: file count, symbol count, indexing state, token savings %, the indexed workspace and whether a watcher is live
searchTrigram-accelerated full-text search across all indexed files
find_symbolFind symbol definitions (functions, structs, classes…) by name
find_wordExact word/identifier lookup in the inverted word index
find_callersCall sites of a symbol, each with the function that holds it. Matched by name, so a same-named definition elsewhere is included
get_outlineStructural outline of a file (symbols, line counts)
get_treeDirectory tree with file metadata
get_importsWhat files does a given file import/depend on
get_imported_byReverse dependencies — who imports this file
get_change_impactTransitive blast radius: what breaks if a file changes
plan_changeFull refactor plan for a symbol or file — definitions, callers, file role, literals, blast radius
get_hot_filesRecently changed files sorted by recency
read_fileRead file contents with optional line range
read_symbolRead just a symbol's source code (with optional context lines)
index_workspaceIndex or re-index a project directory; a session that works in another checkout moves to that checkout's index
analyzeRun one of 22 code analyses (see below)
Analyses (analyze tool)
AnalysisWhat it finds
securityHardcoded secrets, SQL injection patterns, unsafe blocks, eval usage
dead_codeSymbols nothing names outside their own definition, split from the unused public API of a library package
unwrap_audit.unwrap() / expect / panic! sites (Rust), ranked by whether a request handler, a loop or main reaches them
test_coverageFiles without test coverage
architectureArchitectural smells — god modules, circular deps, islands
crossrefCross-file symbol references
type_driftType signature mismatches across modules
db_schemaTables the migrations create that no code names, and SQL ORM models no migration creates
migration_parityMissing migrations for schema changes
manifest_compliancepackage.json / Cargo.toml / go.mod compliance issues
literal_scanHardcoded URLs, IPs, ports, absolute paths, TODOs
couplingModule coupling metrics
cyclesCircular dependency detection
duplicationReinvented free functions — the same job written twice
clonesCopy-pasted function bodies, ignoring names and whitespace
spawn_scanAn interpreter started on a loop or a timer, across files, ranked by startup cost times spawn rate
depsDependency inventory — duplicate versions, unreferenced crates, single-use crates
leak_shapesShapes a leak has, each paired with the runtime series that decides it
logic_shapesA fixed byte constant against the memory limit of the unit that deploys it, and replicas × pool size against a pooler's connection capacity
call_costLoops over rows ranked by the database and HTTP round trips each element costs, counted through the call graph
field_contentionOne declared-state field written by two or more owners
healthRoll-up of the analyses above into one index-health report

Supported Languages

40+ languages via tree-sitter: Rust, Python, TypeScript/TSX, Go, Zig, C, C++, Java, Ruby, Bash, C#, Kotlin, Lua, Scala, Elixir, R, Swift, Dart, Haskell, TOML, JSON, YAML, HTML, CSS, SCSS, SQL, HCL, Dockerfile, Markdown, Nix, Make, and more.

Configuration

codeindex --mcp                          # Run as MCP server (stdio)

codeindex --mcp --no-daemon # ...without sharing the workspace daemon codeindex --daemon-idle-secs 0 # Keep the daemon resident indefinitely codeindex --workspace ./my-project # Index a specific directory codeindex --project-id my-project # Project identifier codeindex -v # Print version codeindex -h # Print help

Environment variables

CODEINDEX_WORKSPACE=/path/to/project # Same as --workspace CODEINDEX_PROJECT_ID=my-project # Same as --project-id

Getting it used

A server that registers without telling an agent when to reach for it stays idle, and an idle index saves nothing however cheap its calls are. The plugin ships three things for that, in the order they act:

  1. A SessionStart brief. About 240 tokens, once per session, in a repository that holds source files: codeindex is live, and here is the tool for each kind of code question. It lands before the agent has chosen a tool, which is the only moment that can change the first choice.
  2. A PreToolUse hint. Fires on the 1st, 8th and 25th code question of a session, when a scan is about to answer something the index answers better, and names the tool for that exact question. It matches Bash as well as Read/Grep/Glob, because a permission mode that routes file work through the shell is where most scans actually happen.
  3. The skill, which the model loads when it decides the task calls for it.

Advice loses to habit, so the narrow case where the index is strictly better is refused rather than argued with: an identifier search that is the whole command line, in a project that has been indexed before. It never refuses a file read — the bytes are required before an Edit — never refuses a line that also builds or tests, and stops refusing after three times in a session, so it can never be the reason a session cannot proceed.

That is on by default, and it is one switch to turn off — no file to edit by hand. It is a plugin option, so /plugin shows it as "Refuse a scan the index answers better" and Claude Code passes your answer to the hook. Outside the plugin, or for a single session, CODEINDEX_ENFORCE=0 in the environment overrides the option and CODEINDEX_ENFORCE=1 restores it.

Measure the effect rather than assuming it: python3 plugin/measure_routing.py counts, per session, how many code questions went to a scan and how many went to the index, across every Claude Code home on the machine.

Which tree gets indexed

In --mcp mode the working directory belongs to the client, not to you, and it is regularly not your project: Claude Code launches a plugin's MCP server from the plugin's own directory and a user-scope server from its config directory. So the workspace is resolved in this order, and the first usable answer wins:

  1. --workspace or CODEINDEX_WORKSPACE. An explicit answer is never overridden.
  2. CLAUDE_PROJECT_DIR, which Claude Code sets in every MCP server it spawns.
  3. The launch directory, walking up for a .git, `package.jso

Only the beginning is shown; read the rest in the repo

Ask PopNx