Codesteward Graph

•
1
•

Parses software repositories into a structural graph, enabling AI agents to perform complex code queries.

Codesteward Graph is a powerful server that transforms any code repository into a queryable, persistent structural graph. Leveraging tree-sitter for accurate Abstract Syntax Tree (AST) parsing, it resolves cross-file relationships, call chains, and dependencies. This graph is exposed via a Model Context Protocol (MCP) interface, allowing AI agents like Claude Code, Cursor, or Copilot to directly query the codebase for complex insights, such as identifying protected functions, tracing call flows, or analyzing external dependencies. It supports multiple graph backends including Neo4j, JanusGraph, and an embedded SQLite (GraphQLite) for zero-setup local development, significantly enhancing AI agent capabilities in code understanding and interaction.

Key Features

01Parses code repositories into queryable structural graphs using tree-sitter AST.
02Offers optional taint-flow analysis to identify security vulnerabilities and untrusted input paths.
03Provides specialized query types including lexical, referential, semantic, and dependency.
042 GitHub stars
05Exposes code graph capabilities via a Model Context Protocol (MCP) interface for AI agents.
06Supports multiple graph backends: Neo4j, JanusGraph, and embedded SQLite (GraphQLite).

Use Cases

01Trace transitive call chains within a codebase to understand execution flow.
02Analyze file dependencies on external packages and modules.
03Identify functions protected by specific authentication mechanisms or middleware.