1. Conduid
  2. Blockchain
  3. Code Index
MCP server · Blockchain

Code Index

Unclaimed MIT blockchain
30Low

Scored 4 days ago · breakdown

About Code Index

Code Index is an MCP server published by posit-dev in the Blockchain category.

The repository has 6 stars and 1 forks, with the last commit 5 months ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/posit-dev/code-index

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Code Index

Powered by Claude · Grounded in docs

I know everything about Code Index. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 1 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • !No dynamic code executionSource scan found eval or shell execution. Review how tool inputs reach it before granting credentials.

1 check has not been run yet.

Releases

v0.1.10v0.1.10 · 27 Mar 2026Full Changelog: https://github.com/posit-dev/code-index/compare/v0.1.9...v0.1.10
v0.1.7v0.1.7 · 27 Mar 2026Full Changelog: https://github.com/posit-dev/code-index/compare/v0.1.6...v0.1.7

README

code-index

Semantic code search for AI coding assistants. Parses your source code, generates LLM-powered summaries, and builds a searchable vector index exposed via MCP.

What it does

code-index lets AI assistants like Claude Code search your codebase by concept instead of exact keywords:

"check if string is in slice"     → finds StringInSlice in util.go
"how does authentication work"    → finds auth packages, token handlers, middleware
"database transaction management" → finds BeginTransaction, CommitTransaction across packages

It works by generating natural language summaries of every function, file, and package, then embedding them as vectors for similarity search.

Supported languages

Language Parser
Go Native go/ast
TypeScript / Vue tree-sitter
Python tree-sitter
C / C++ tree-sitter
R Native via Rscript (regex fallback)
Markdown / Quarto Regex

Quick start

1. Install

Download a pre-built binary from Releases, or install from source:

go install github.com/posit-dev/code-index/cmd/code-index@latest

2. Configure

Create .code-index.json in your repository root (see Configuration):

{
  "project": "my-project",
  "sources": [
    {"path": "src", "language": "go"},
    {"path": "frontend", "language": "typescript"}
  ],
  "llm": {
    "provider": "openai",
    "base_url": "http://localhost:11434/v1",
    "function_model": "llama3.2",
    "summary_model": "llama3.2"
  },
  "embeddings": {
    "provider": "openai",
    "base_url": "http://localhost:11434/v1",
    "model": "nomic-embed-text"
  }
}

This example uses Ollama for fully local operation. You can also use OpenAI, AWS Bedrock, or any OpenAI-compatible API.

3. Build the index

code-index all    # parse → generate → build → embed

4. Add to Claude Code

Add the MCP server to your project's .mcp.json:

{
  "mcpServers": {
    "code-index": {
      "command": "npx",
      "args": ["-y", "@jonyoder/code-index-mcp"]
    }
  }
}

Claude Code will use code_search proactively when working in your codebase.

If your team distributes the vector database via S3 or HTTP URL (see CI Setup), the MCP server automatically downloads it on first search — no manual setup needed.

How it works

parse → generate → build → embed → search
 AST     LLM docs   JSON    vectors   query
  1. Parse — extracts functions, types, classes from source files using language-specific parsers
  2. Generate — creates LLM summaries for every function (fast model) and file/package (quality model) via AWS Bedrock
  3. Build — combines AST data and summaries into a searchable index
  4. Embed — generates vector embeddings, stored in a SQLite database with sqlite-vec
  5. Search — embeds your query, finds the closest vectors, returns results with signatures, summaries, and source locations

Documentation

License

MIT — see LICENSE.

README fetched from the repository 1 hours ago. The original is authoritative.

Questions

About Code Index

How do I install Code Index?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Code Index safe to use with an AI agent?

Its trust score is 30 out of 100 (low). It passes 4 of the 5 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Code Index still maintained?

Yes — the last commit was 5 months ago. The repository has 6 stars and 1 forks and 3 open issues.