Back to Home
Shashankss1205 icon

CodeGraphContext

Verified Safe

by Shashankss1205

Overview

An AI pair programmer that provides real-time, accurate, context-aware assistance by indexing and analyzing codebases (local projects and dependencies) using a graph database, facilitating code understanding, writing, and refactoring across multiple programming languages.

Installation

Run Command
python -m codegraphcontext start

Environment Variables

  • DATABASE_TYPE
  • CGC_RUNTIME_DB_TYPE
  • DEFAULT_DATABASE
  • NEO4J_URI
  • NEO4J_USERNAME
  • NEO4J_PASSWORD
  • CGC_DATA_DIR
  • LOG_LEVEL
  • IGNORE_DIRS
  • PATH
  • PYTHONUNBUFFERED

Security Notes

The server's primary communication method is via stdin/stdout, which limits direct network exposure. It includes robust checks to prevent arbitrary write operations when executing Cypher queries, by filtering forbidden keywords after stripping string literals. While `subprocess.run` is used for language-specific package discovery (e.g., `npm`, `go list`), these calls are generally well-defined with `shell=False`, reducing the risk of command injection.

Similar Servers

Stats

Interest Score96
Security Score9
Cost ClassHigh
Avg Tokens50
Stars342
Forks281
Last Update2026-01-16

Tags

Code AnalysisAI AssistantCode IndexingGraph DatabaseRustMulti-languageSoftware DevelopmentRefactoringDeveloper ToolPair Programming