codemogger

codemogger indexes local source code by parsing it with tree-sitter, chunking into semantic units, embedding chunks with a provided/local embedding pipeline, and storing vectors plus full-text search in a single embedded SQLite (.db) file; it also provides an MCP server and CLI for indexing/reindexing and searching that index.

Evaluated Mar 30, 2026 (21d ago)
Repo ↗ Ai Ml ai-ml search code-indexing mcp sqlite tree-sitter semantic-search typescript
⚙ Agent Friendliness
59
/ 100
Can an agent use this?
🔒 Security
50
/ 100
Is it safe for agents?
⚡ Reliability
28
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
78
Documentation
72
Error Messages
0
Auth Simplicity
100
Rate Limits
5

🔒 Security

TLS Enforcement
100
Auth Strength
20
Scope Granularity
0
Dep. Hygiene
55
Secret Handling
85

Designed for local execution with no API keys, which reduces remote credential exposure. However, it ingests arbitrary local source code and runs local embedding computation; security concerns primarily relate to supply-chain and dependency hygiene plus handling of local filesystem inputs. No information provided about sandboxing, safe path handling, or how errors/logs may include paths/content.

⚡ Reliability

Uptime/SLA
0
Version Stability
45
Breaking Changes
20
Error Recovery
45
AF Security Reliability

Best When

You want an on-device, agent-friendly code search/indexing capability with a single-file SQLite database and a local embedding model.

Avoid When

You need a networked API with remote authentication/tenancy controls or require strict guarantees about data retention policies beyond local storage.

Use Cases

  • Local semantic search over a codebase for relevant definitions (functions/types/impls/classes).
  • Keyword lookup for identifiers with fast FTS-backed search.
  • Helping AI coding agents navigate unfamiliar repositories and retrieve relevant code snippets.
  • Offline codebase indexing and search without external services/API keys.

Not For

  • Use as a hosted/realtime SaaS search service.
  • Use where you require centralized access control/audit across multiple users without local isolation.
  • High-concurrency multi-tenant environments (it’s oriented around local single-user .db usage).

Interface

REST API
No
GraphQL
No
gRPC
No
MCP Server
Yes
SDK
Yes
Webhooks
No

Authentication

OAuth: No Scopes: No

No auth described; designed to run locally with no API keys. MCP server is intended to be spawned locally (e.g., via npx).

Pricing

Free tier: No
Requires CC: No

No hosted pricing information provided; package is MIT and intended for local/offline use.

Agent Metadata

Pagination
none
Idempotent
True
Retry Guidance
Not documented

Known Gotchas

  • Embedding model runtime/latency: initial indexing can be dominated by local embedding compute (potentially long-running MCP calls).
  • Index lifecycle: agents should ensure they call index/reindex before searching relevant code.
  • Local file permissions/paths: MCP/CLI operate on local directories and write/read .db files; path mismatches can lead to empty/incorrect results.
  • Indexing respects .gitignore; agents expecting full traversal may miss ignored files.

Alternatives

Full Evaluation Report

Comprehensive deep-dive: security analysis, reliability audit, agent experience review, cost modeling, competitive positioning, and improvement roadmap for codemogger.

AI-powered analysis · PDF + markdown · Delivered within 30 minutes

$99

Package Brief

Quick verdict, integration guide, cost projections, gotchas with workarounds, and alternatives comparison.

Delivered within 10 minutes

$3

Score Monitoring

Get alerted when this package's AF, security, or reliability scores change significantly. Stay ahead of regressions.

Continuous monitoring

$3/mo

Scores are editorial opinions as of 2026-03-30.

8642
Packages Evaluated
17761
Need Evaluation
586
Need Re-evaluation
Community Powered