PatrickSys/codebase-context

Local-first Second brain for AI agents working on your codebase - detects your team coding conventions and patterns, brings in persistent memory, code-generation checks, and hybrid search with evidence scoring. Exposed through CLI and MCP server.

59
/ 100
Established

Combines semantic and syntactic search with git history analysis to surface coding patterns alongside results, enabling agents to detect adoption trends and identify "golden files" as architectural exemplars. Automatically extracts team decisions from conventional commits and surfaces them with confidence-decay scoring across sessions, preventing regressions on deliberate architectural choices. Supports stdio transport for single-client integrations (Claude Desktop, VS Code Copilot) and HTTP mode for multi-client setups, with built-in routing for monorepo workflows.

Available on npm.

Maintenance 13 / 25
Adoption 7 / 25
Maturity 22 / 25
Community 17 / 25

How are scores calculated?

Stars

33

Forks

8

Language

TypeScript

License

MIT

Last pushed

Mar 11, 2026

Commits (30d)

0

Dependencies

13

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/mcp/PatrickSys/codebase-context"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.