AgentIndex icon
AgentIndex
ToolsCategoriesTrendingNewCompare
Submit Tool
Home/
RAG / Knowledge Base/
code-memory
code-memory logo

code-memory

Active·★ 41·MIT·Updated 2026-05-20
★ Trending★ RAG / Knowledge Base★ Memory & Context

MCP server with local vector search for your codebase. Smart indexing, semantic search, Git history — all offline.

code-memory is a deterministic, high-precision code intelligence layer exposed as a Model Context Protocol (MCP) server, designed to provide accurate and token-efficient code context for LLMs. It runs entirely locally, indexing codebases for semantic search, architecture understanding, and Git history analysis, addressing the cost and inaccuracy of traditional context retrieval methods.

#code-intelligence#semantic-search#LLM-tooling#local-processing#AST-parsing#Git-integration#embeddings#Model-Context-Protocol
$ Install
$ pip install code-memory
↗ Visit site★ GitHub
01

Features

01Fully local operation without API keys, leveraging sentence-transformers for embeddings
02High token efficiency (up to 50% saving) through precise code retrieval instead of dumping entire files
03Deep code understanding via AST parsing for multiple programming languages
04Multi-faceted codebase analysis with dedicated tools for code, documentation, and Git history search
02

Compatibility

Python
Runtime
Verified via docs
Linux
Platform
Verified via docs
macOS
Platform
Verified via docs
Windows
Platform
Verified via docs
Python
Full AST Support
Verified via docs
JavaScript/TypeScript
Full AST Support
Verified via docs
03

Quick start

1
$ pip install code-memory
04

Use cases

↳Finding definitions, references, and understanding code structure within a codebase
↳Understanding architectural patterns and workflows of a project
↳Debugging regressions and understanding developer intent through Git history
↳Performing semantic searches across code, documentation, and docstrings
05

Alternatives

mindsdb logo
mindsdb★ 39.2k
Federated Query Engine for AI - The only MCP Server you'll ever need
vs →
Brave Search MCP logo
Brave Search MCP★ 86.5k
Allow your AI Agent to search the real-time internet using Brave Search API. Essential for getting up-to-date information.
vs →
memtrace-public logo
memtrace-public★ 173
The missing memory layer for coding agents
vs →
deep-code-reasoning-mcp logo
deep-code-reasoning-mcp★ 105
A Model Context Protocol (MCP) server that provides advanced code analysis and reasoning capabilities powered by Google's Gemini AI
vs →
CodeMCP logo
CodeMCP★ 98
Code intelligence for AI assistants - MCP server, CLI, and HTTP API with symbol navigation, impact analysis, and architecture mapping
vs →
trace-mcp logo
trace-mcp★ 82
Framework-aware code intelligence MCP server — 81 languages, 58 framework integrations, 138 tools, up to 99% token reduction
vs →
sverklo logo
sverklo★ 69
The local-first MCP server for code intelligence — symbol graph, blast-radius, git-pinned memory. Open-source alternative to Greptile/Sourcegraph for Claude Code & Cursor.
vs →
Ctxo logo
Ctxo★ 56
MCP server for AI coding agents. Instead of reading files one by one, your agent gets dependency graphs, git intent, blast radius, and change health in a single call. Works with any language deep analysis for TypeScript, Go, and C#.
vs →
See all alternatives →

Related searches

code-memory AlternativesBest RAG / Knowledge Base Tools 2026Open Source RAG / Knowledge Basecode-memory Tutorialcode-memory Vs Competitorscode-intelligencesemantic-searchLLM-tooling

Comments

Log in to leave a comment
  • P
    Parker NguyenMay 25, 2026

    Finds code by what it does, not just what it's named — that's the differentiator.

  • J
    Jordan ChenMar 29, 2026

    Works well for large codebases where grep falls short.

  • F
    Finley JohnsonMar 24, 2026

    Semantic search over your codebase that actually finds relevant code.

  • R
    Rowan NguyenMar 14, 2026

    Indexing is fast enough to stay current with active development.

  • C
    Casey JohnsonMar 12, 2026

    Local vector search means no data leaves your machine.

On this page
01Features02Compatibility03Quick start04Use cases05Alternatives
Stats
GitHub Stars★ 41
Last commit1w ago
StatusActive
LicenseMIT
CategoryRAG / Knowledge Base
Trend (30d)
+1.6↑ 0.7%
Links
Documentation↗Discussion↗Issues↗Releases↗

Deploy on DigitalOcean — Get $200 Free Credit

Ad
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
QYSGitHubBuy me a coffee ☕

Browse by Category

Code AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.