AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompare
Home/
RAG / Knowledge Base/
codebase-context
codebase-context logo

codebase-context

Active·★ 66·MIT·Updated 2026-10-21

Codebase-context is a local-first tool that acts as a second brain for AI agents, providing curated context on coding patterns, team conventions, and past decisions. It helps agents generate code that aligns with project standards, avoids repeated mistakes, and remembers crucial information across sessions.

#AI Agents#Codebase Context#Local-first#Developer Tools#Code Analysis#Team Memory
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.

Guides
#Coding Conventions
#Retrieval-Augmented Generation (RAG)
$ Install
$ npx -y codebase-context /path/to/your/project
↗ Visit site★ GitHub
01

Features

01Curated context retrieval with pattern analysis and team memories.
02Automated detection of coding conventions, trends, and 'golden files'.
03Persistent memory for decisions, failures, and git commits with confidence decay.
04Preflight checks for code edits, including risk assessment and evidence validation.
02

Compatibility

Claude
AI Agent
Verified via docs
VS Code (Copilot)
IDE Integration
Verified via docs
Cursor
IDE Integration
Verified via docs
TypeScript
Language
Verified via docs
JavaScript
Language
Verified via docs
Python
Language
Verified via docs
03

Quick start

1
$ npx -y codebase-context /path/to/your/project
04

Use cases

↳Guiding AI agents to write code that adheres to specific team conventions and architecture.
↳Preventing AI agents from repeating past mistakes by surfacing failure memories and decisions.
↳Providing comprehensive context for AI agents before code modifications, including risk and best practices.
↳Automating the discovery of code patterns, golden files, and component usage for AI agents.
05

Alternatives

⚡Top VS:
VSCogniLayer★28→VSsuperlocalmemory★255→VSbrain-mcp★81→

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Compatibility03Quick start04Use cases05Alternatives
VS
memory-journal-mcp
★20
→
CogniLayer logo
CogniLayer★ 28
Stop re-explaining your codebase to AI. Infinite speed memory + code graph for Claude Code & Codex CLI. 17 MCP tools, subagent protocol, hybrid search, TUI dashboard, crash recovery. Save 80-200K+ tokens/session.
VSCompare→
superlocalmemory logo
superlocalmemory★ 255
World's first local-only AI memory to break 74% retrieval and 60% zero-LLM on LoCoMo. No cloud, no APIs, no data leaves your machine. Additionally, mode C (LLM/Cloud) - 87.7% LoCoMo. Research-backed. arXiv: 2603.14588
VSCompare→
brain-mcp logo
brain-mcp★ 81
Your AI has amnesia. Persistent memory and cognitive context for AI. 25 MCP tools. 12ms recall.
VSCompare→
memory-journal-mcp logo
memory-journal-mcp★ 20
MCP server for AI Context + Project Intelligence. Overcome disconnected AI sessions with persistent project memory, triple search, knowledge graphs, and GitHub integration (Actions, Issues, Kanban Boards, Milestones, and PRs). Uses Tool Filtering. HTTP/SSE Transport Available.
VSCompare→
claude-code-buddy logo
claude-code-buddy★ 16
MeMesh - Your AI memory mesh for Claude Code. Smart routing, persistent memory, and intelligent task management. (Formerly Claude Code Buddy)
VSCompare→
docfork logo
docfork★ 484
Docfork - Up-to-date Docs for AI Agents.
VSCompare→
sdl-mcp logo
sdl-mcp★ 494
SDL-MCP (Symbol Delta Ledger MCP Server) is a cards-first context system for coding agents that saves tokens and improves context.
VSCompare→
flywheel-memory logo
flywheel-memory★ 0
MCP server giving AI a knowledge graph over Obsidian vaults. 13-layer scoring that learns. Local-first, zero cloud.
VSCompare→
See all alternatives →
PatrickSys /
codebase-context
↗

Second brain for AI agents working on your codebase - team coding patterns detection, persistent memory, preflight checks, and hybrid search with evidence scoring. Local-first MCP server.

66MIT
Last commit2d ago
StatusActive
CategoryRAG / Knowledge Base
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit