Atlas / MCP servers / helixml / Kodit

KoditBLOCK

mcp/helixml/kodit

👩💻 MCP server to index external repositories

Verdict
BLOCK
Grade
D
Trust score
65 /100
Exposed tools
26 24r · 2w · 0d
Transport
streamable-http
License
Apache-2.0
Stars
126
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Kodit

A code and document intelligence server that indexes Git repositories and provides search through MCP and REST APIs.

[](./LICENSE) [](https://github.com/helixml/kodit/discussions)

AI coding assistants work better when they have access to real examples from your codebase. Kodit indexes your repositories, splits source files into searchable snippets, and serves them to any MCP-compatible assistant. When your assistant needs to write new code, it queries Kodit first and gets back relevant, up-to-date examples drawn from your own projects.

Kodit also handles documents. PDFs, Word files, PowerPoint decks, and spreadsheets are rasterized and indexed so you can search across both code and documentation in one place.

What you get:

  • Multiple search strategies including BM25 keyword search, semantic vector search, regex grep, and visual document search, each exposed as a separate MCP tool so your assistant picks the right approach for each query
  • MCP server that works with Claude Code, Cursor, Cline, Kilo Code, and any other MCP-compatible assistant
  • REST API for programmatic access to search, repositories, enrichments, and indexing status
  • AI enrichments (optional) including architecture docs, API docs, database schema detection, cookbook examples, and commit summaries, all generated by an LLM
  • Document intelligence with visual search across PDF pages, Office documents, and images using multimodal embeddings
  • No external dependencies required for basic operation, with a built-in embedding model and SQLite storage
Read from source at commit ce7a470a60d5OBSERVED · 2026-10-07
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add kodit-benchmark -- uvx kodit-benchmark
claude-desktop
{
  "mcpServers": {
    "kodit-benchmark": {
      "command": "uvx",
      "args": [
        "kodit-benchmark"
      ]
    }
  }
}
03

Exposed tools (26)

24 read · 2 write · 0 destructive.

ToolRiskDescription
commit_shawriteThe commit SHA to get docs for (defaults to latest)
globreadFile path filter (e.g. \
keywordsreadKeywords to search for
kodit_api_docsreadGet API documentation for a repository
kodit_architecture_docsreadGet high-level architecture documentation for a repository
kodit_commit_descriptionwriteGet commit description for a repository
kodit_cookbookreadGet cookbook with usage examples for a repository
kodit_database_schemareadGet database schema documentation for a repository
kodit_grepreadSearch file contents in a repository using git grep with regex patterns. Returns matching file URIs with line numbers. Use for exact/regex matching; use kodit_keyword_search for fuzzy/semantic matching.
kodit_keyword_searchreadSearch indexed files using keyword-based BM25 search and return file resource URIs
kodit_lsreadList files matching a glob pattern in a repository
kodit_read_resourcereadRead the contents of a file resource URI. Use this to fetch file content from URIs returned by kodit_semantic_search, kodit_keyword_search, kodit_grep, and kodit_ls.
kodit_repositoriesreadList all repositories tracked by kodit
kodit_semantic_searchreadSearch indexed files using semantic similarity and return file resource URIs
kodit_versionreadGet the kodit server version
kodit_visual_searchreadSearch indexed document pages (PDFs, etc.) using visual similarity. Embeds a text query and matches against page image embeddings to find visually relevant pages.
kodit_wikireadGet the table of contents for a repository
kodit_wiki_pagereadGet the content of a specific wiki page
languagereadFilter by file extension (e.g. .go, .py)
limitreadMaximum number of results (default 10)
page_slugreadThe slug of the wiki page to retrieve
patternreadRegex pattern to search for (git grep syntax)
queryreadNatural language description of what you are looking for
repo_urlreadThe remote URL of the repository
source_reporeadFilter by source repository URL
urireadThe file resource URI (e.g. file://1/main/src/foo.go?lines=L17-L26&line_numbers=true)
04

Trust audit

BLOCKgrade D · trust 65/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryWARN
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (6 observation(s))
Network
declared (5 observation(s))
Shell
none-observed
Dependencies
pinned
Secrets in source
found

Findings (19)

HIGHHard-coded secrets · secret.db_uri · CWE-798, CWE-321
docker-compose.dev.yaml:84
- DB_URL=postgresql://postgres:[email protected]:5432/kodit
MEDIUMInventory / provenance · inv.binary · CWE-1104
charts/kodit/charts/common-4.5.0.tgz
common-4.5.0.tgz
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
README.md:294
DB_URL: postgresql://postgres:mysecretpassword@vectorchord:5432/kodit
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
handlers_test.go:15
dsn:  "postgresql://postgres:secret@localhost:5432/kodit",
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
handlers_test.go:16
want: "postgresql://postgres:secret@localhost:5432/kodit?search_path=public%2Cbm25_catalog%2Ctokenizer_catalog",
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
handlers_test.go:20
dsn:  "postgresql://postgres:secret@localhost:5432/kodit?sslmode=disable",
MEDIUMAuth / authz · mcp.remote_no_auth · CWE-287, CWE-862
streamable-http
Why it matters. a network transport with no auth environment variable found
Fix. require a token
LOWInventory / provenance · inv.hidden_file · CWE-1104
.air.toml
.air.toml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.ort-version
.ort-version
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.tokenizers-version
.tokenizers-version
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
charts/kodit/.helmignore
.helmignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWFilesystem / path · fs.credential_store · CWE-22, CWE-59
application/service/blob_test.go:310
{input: "/root/.ssh/id_rsa", wantErr: true},
Why it matters. touches a credential store
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
application/handler/indexing/chunk_files_test.go:380
relPath:   "../../etc/passwd",
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
application/handler/indexing/chunk_files_test.go:392
relPath:   "src/../../../../etc/shadow",
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
application/service/blob_test.go:306
{input: "a/../../etc/passwd", wantErr: true},
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
application/service/blob_test.go:307
{input: "../../etc/passwd", wantErr: true},
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
test/e2e/grep_test.go:117
repo.ID(), url.QueryEscape("../../etc/*")))
INFOInventory / provenance · inv.oversize · CWE-1104
test/benchmark/data/swebench-lite.json
test/benchmark/data/swebench-lite.json
Why it matters. 3864129 bytes not read
INFOInventory / provenance · inv.oversize · CWE-1104
test/benchmark/data/swebench-verified.json
test/benchmark/data/swebench-verified.json
Why it matters. 8493438 bytes not read

Gates applied: no_behavioural_pass.

Audited 2026-10-07 · audit v0.4.1 · source sha ce7a470a60d5full audit observations/trust-audit/mcp-server/helixml__kodit.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-07ce7a470a60d5BLOCKD65first audit
06

Questions

What is the Kodit MCP server?

👩💻 MCP server to index external repositories

What tools does Kodit expose?

26 in total: 24 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Kodit safe to connect to an agent?

No — not without reading the findings first. The audit graded it D (65/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on.

What credentials does Kodit need?

No credential environment variables were found in its source, so it appears to need none.

How does Kodit run?

It speaks streamable-http, so it runs as a service you connect to over the network. It is published on PyPI as kodit-benchmark.

How current is this page?

The grade is for one exact copy of the source (ce7a470a60d5), read on 2026-10-07. The repository is watched and re-audited when it changes.

Advertisement