Skip to content
← Back to Skills & MCP

Codebase-Memory-MCP

🔌 MCP Server

Builds a persistent local knowledge graph of functions, classes, and call chains across 150+ languages via Tree-sitter

Open Source No Ads No Tracking Offline No Sign-up

Indexes your repository with Tree-sitter into a local symbol and call-chain graph so coding agents can query exact definitions, callers, and dependencies without burning tokens on repeated full-file reads.

Install / Add

npx -y codebase-memory-mcp

Why we picked it

Instead of letting your coding agent grep and read entire files just to trace a function call, Codebase-Memory-MCP indexes 150+ languages locally with Tree-sitter so agents can query call graphs directly with minimal tokens.

Frequently Asked Questions

Which AI clients support Codebase-Memory-MCP and how do I install it?
Codebase-Memory-MCP works with Claude Code, Cursor, Codex, Windsurf, Cline, Any MCP client. Install or launch it via `npx -y codebase-memory-mcp`.
Is Codebase-Memory-MCP free and open source?
Yes, Codebase-Memory-MCP is released for free under the MIT license with no ads.
What are some related MCP servers or Agent Skills to Codebase-Memory-MCP?
Related free and open-source options include MetaMCP, shadcn/ui Official & Community MCP, 21st.dev Magic UI MCP.