Codesteward

•
16
•

Transforms code repositories into queryable structural graphs for AI agents, enabling complex code analysis and interaction through an MCP tool interface.

Codesteward acts as a powerful server that parses any codebase into a persistent structural graph using tree-sitter for Abstract Syntax Tree (AST) analysis. This graph is then exposed via the Model Context Protocol (MCP) as a set of tools that AI agents (such as Claude Code, Cursor, or Copilot) can directly call. Instead of repeatedly scanning files, AI agents can query the pre-built graph to understand cross-file relationships, call chains, authentication guards, and dependencies, facilitating advanced code understanding and interaction across various programming languages and supporting multiple graph backends like Neo4j, JanusGraph, or an embedded SQLite solution (GraphQLite).

Key Features

010 GitHub stars
02Exposes four MCP tools for graph rebuilding, querying (lexical, referential, semantic, dependency), augmentation, and status.
03Parses repositories into structural code graphs using tree-sitter AST for 14+ languages.
04Offers optional taint analysis to trace untrusted input flows and identify security vulnerabilities.
05Integrates with popular AI tools like Claude Code, Cursor, and Copilot without per-project configuration.
06Supports multiple graph backends including Neo4j, JanusGraph, and GraphQLite (embedded SQLite).

Use Cases

01Identifying functions protected by specific authentication mechanisms or middleware.
02Tracing transitive call chains to understand dependencies and execution flow within a codebase.
03Determining which files or modules within a project depend on particular external packages.