JIDRA
Indexes Java codebases to build static call graphs, trace method flows, and generate LLM-ready context for diagnosis and documentation.
JIDRA (Java Intelligent Diagnostic & Reasoning Agent) is a minimalist, graph-driven CLI and Model Context Protocol (MCP) server designed to enhance developer workflows for Java codebases. It efficiently indexes Java source code to create a deterministic static call graph, enabling offline tracing and querying of execution flows from methods or HTTP routes. Beyond foundational analysis, JIDRA provides capabilities to generate prompt-ready context and specific prompts for Large Language Model (LLM) workflows, significantly reducing context and improving diagnostic accuracy. It also produces deterministic investigation documents for both code flows and stack trace errors, offering an optional LiteLLM-based diagnosis on top of its graph-grounded context for a streamlined troubleshooting experience.