AgentIndex icon
AgentIndex
ToolsCategoriesTrendingNewCompare
Submit Tool
ToolsCategoriesTrendingNewCompare
Home/
Compare/
codebase-memory-mcp vs pmb
codebase-memory-mcp logo
codebase-memory-mcp
★ 33.2k
vs
pmb logo
pmb
★ 313

codebase-memory-mcp vs pmb

codebase-memory-mcp: codebase-memory-mcp is a structural analysis backend that indexes codebases into a persistent knowledge graph, drastically reducing token usage for code exploration by providing precise structural results. It integrates with AI assistants like Claude Code, offering advanced capabilities such as call graph tracing, architecture overviews, and dead code detection.; pmb: Local-first persistent memory for AI coding agents (Claude Code, Cursor, Codex) via MCP. 94.5% LoCoMo recall@10, 70ms p50, multilingual, zero API keys.

01

TL;DR

codebase-memory-mcp logoChoose codebase-memory-mcp if…

Code exploration and understanding: Quickly understand codebase architecture, find functions, and trace call paths without high token costs.

pmb logoChoose pmb if…

you need ai-agents capabilities

02

Side-by-Side Comparison

Field
codebase-memory-mcp logocodebase-memory-mcp
pmb logopmb
Category
RAG / Knowledge Base
MCP Servers
Stars
★ 33.2k
★ 313
License
MIT
Apache-2.0
Updated
2d ago
1w ago
Open Source
Yes
Yes
Website
↗ Visit
↗ Visit
GitHub
↗ GitHub
↗ GitHub
Tags
knowledge-graph, codebase-analysis, AI-assistant-tools
ai-agents, ai-memory, bm25
03

Features

codebase-memory-mcp logocodebase-memory-mcp
01Supports 35 programming languages: Parses source code in a wide range of languages using tree-sitter.
02Architecture overview: Provides instant codebase orientation by returning languages, packages, entry points, routes, and clusters.
03High token efficiency: Achieves up to 99.2% token reduction for structural queries compared to file-by-file exploration.
04Auto-sync and incremental reindex: Automatically detects file changes and triggers fast, content-hash based incremental re-indexing.
05CLI mode: Allows direct invocation of any MCP tool from the command line without an MCP client.
pmb logopmb
—
04

Use Cases

codebase-memory-mcp logocodebase-memory-mcp
↳Code exploration and understanding: Quickly understand codebase architecture, find functions, and trace call paths without high token costs.
↳Impact analysis and refactoring: Map git diffs to affected symbols, detect dead code, and analyze function fan-out to aid refactoring efforts.
↳AI assistant integration: Enhance AI assistants like Claude Code with precise structural queries for more effective code-related questions.
↳Architecture Decision Records management: Store, update, and retrieve architectural decisions directly within the codebase context.
↳Automated scripting and CI/CD: Utilize CLI mode for single-shot graph operations in scripts or CI/CD pipelines.
pmb logopmb
—
05

Best For

codebase-memory-mcp logocodebase-memory-mcp
Hidden GemRAG / Knowledge BaseCode Assistant
pmb logopmb
—
FAQ

FAQ

What is the difference between codebase-memory-mcp and pmb?
Both codebase-memory-mcp and pmb are in the RAG / Knowledge Base category. codebase-memory-mcp has 33.2k stars, while pmb has 313 stars.
Which is better, codebase-memory-mcp or pmb?
The best choice depends on your use case. Choose codebase-memory-mcp if Code exploration and understanding: Quickly understand codebase architecture, find functions, and trace call paths without high token costs., and pmb if you need ai-agents capabilities.
Is codebase-memory-mcp free or open source?
Yes, codebase-memory-mcp is open source on GitHub (MIT).
Is pmb free or open source?
Yes, pmb is open source on GitHub (Apache-2.0).
→

Related

Alternatives to codebase-memory-mcp →Alternatives to pmb →codebase-memory-mcp details →pmb details →
© 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.