Back to Home
PatrickSys icon

codebase-context-mcp

Verified Safe

by PatrickSys

Overview

Provides AI coding agents with real-time, context-aware insights into a codebase's patterns, libraries, architecture, and conventions to improve code generation and review.

Installation

Run Command
npx codebase-context /path/to/your/project

Environment Variables

  • EMBEDDING_PROVIDER
  • OPENAI_API_KEY
  • EMBEDDING_MODEL
  • CODEBASE_ROOT
  • CODEBASE_CONTEXT_DEBUG

Security Notes

The server performs `git log` commands, which, while using a hardcoded command, could pose a risk if `rootPath` is untrusted. OpenAI API key (if used) is handled via environment variable. Dependencies are actively maintained with recent security fixes (e.g., hono update). Local-first execution for embeddings and storage reduces external network attack surface. Overall, it follows good security practices for a local developer tool.

Similar Servers

Stats

Interest Score48
Security Score9
Cost ClassLow
Avg Tokens500
Stars21
Forks3
Last Update2026-01-18

Tags

AICode AnalysisDeveloper ToolsSemantic SearchMCP Server