프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. 리뷰와 계정 기능은 다음 단계에서 열려요.
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요

codeindex

제작자: munhq버전 0.6.2i★ –i내 컴퓨터에서 실행
레지스트리 이름io.github.munhq/codeindex

설치

개요

제작자가 쓴 설명(영어 원문)

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

PopNx MCP의 세 기둥

이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.

할 수 있는 일

이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.

  • 연결 방식: 내 컴퓨터에서 실행
  • 전송 방식: stdio
  • 카테고리: 기타

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

설치하기 전에

  • 기본 점검: 1개 중 1개 통과
  • 내 컴퓨터에서 내 사용자 계정의 권한(파일, 네트워크, 앱)으로 실행돼요.
  • 직접 입력할 값: CODEINDEX_WORKSPACE, CODEINDEX_NO_DAEMON, CODEINDEX_DAEMON_IDLE_SECS

필요한 것

  • npmNode.js 설치(npx 명령어용)

어떤 앱을 쓰세요?

위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.

Claude Desktop → Settings → Developer → Edit Config를 열고 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"
      }
    }
  }
}

터미널에서 이 명령어를 실행하세요

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

실행하기 전에 빈 값을 채워 주세요.

Cursor에서 열기

또는 설정을 직접 복사하기

프로젝트의 .cursor/mcp.json 또는 ~/.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"
      }
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

VS Code에서 열기

또는 설정을 직접 복사하기

프로젝트의 .vscode/mcp.json에 붙여 넣으세요

{
  "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"
      }
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.

선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.

직접 입력할 값

  • 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.

이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.

할 수 있는 일

내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 6일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 GitHub 계정 munhq 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요

  • … 아직 점검 안 함

    계속 관리되고 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • … 아직 점검 안 함

    라이선스 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • – 해당 없음

    엔드포인트 응답

    내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요

  • – 해당 없음

    OAuth로 로그인

    내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요

기타 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 32398개 중 0%보다 스타가 많아요
  • 이 카테고리의 다른 서버 32398개 중 90%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 32398개 중 100%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

codeindex, 안전한가요?

해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.6.2)은 3일 전 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: Spec Driven Development, Remote Desktop Commander, AI Deprecations

대안

같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.

카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

Spec Driven Development

제작자: formulahendry

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

내 컴퓨터에서 실행★ 440MIT14개월 전 업데이트
설치

Remote Desktop Commander

제작자: desktop-commander

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

클라우드에서 실행★ 211어제 업데이트
설치

AI Deprecations

제작자: aideprecations.com

AI model shutdown dates, replacements, change feed and webhook alerts for 8 providers.

클라우드에서 실행오늘 업데이트
설치

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

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

앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요

PopNx에게 묻기