COBOL Support in Maguyva: Dependency Analysis for Legacy Modernization
This is where broad language support stops being a stat and starts becoming a modernization tool.
Extensions
.cbl, .cob, .cpy
Free tier available. See plans →
Maguyva supports Java with AST parsing and symbol extraction so AI agents can trace classes, interfaces, constructors, and service layers across large enterprise codebases.
Java is where a lot of AI code tooling meets the least forgiving reality. The codebases are large, layered, and old enough that local edits are cheap but understanding the whole path is not. Controllers, services, repositories, events, internal frameworks, and cross-module contracts all sit between a simple request and the actual behavior.
So the useful question is not whether Maguyva can parse Java. It is whether the agent can keep enough graph context to understand where a class fits before it changes code other teams depend on.
Maguyva extracts classes, interfaces, constructors, methods, and enums as distinct structures. It also treats object creation, array creation, and constructor references such as ::new as instantiation signals, which is the kind of detail that helps a graph stay useful in enterprise service code.
One especially good sign in the config is that common stream-style methods like map, filter, and collect are allowlisted instead of discarded. That matters because a lot of Java business logic flows through those methods, and dropping them would make the graph less representative than the code itself.
Three practical entry points cover most review and refactor work:
find_symbol when you know the service, repository, interface, or DTO name.dependency_search before changing a shared contract or central service class.get_task_context for prompts like “trace payment approval from controller to persistence” when you need a quick multi-hop summary.Start here if the question is “can this help an agent work safely inside a large Java codebase?” If the surrounding estate includes older mainframe logic, read COBOL too. If your comparison is more across enterprise OO stacks, C# is the closer sibling.
Best fit
Agent workflows
Engine details
Useful MCP entry points
find_symbol
Use it for a service, repository, interface, or DTO name when you need the exact symbol and its references.
dependency_search
Run this before changing a central service or contract to see which modules depend on it.
get_task_context
Good for prompts like “trace payment approval flow from controller to persistence” when the stack is layered.
Related guides
This is where broad language support stops being a stat and starts becoming a modernization tool.
Extensions
.cbl, .cob, .cpy
A good fit when .NET repos have grown large enough that safe AI assistance depends on real structure.
Extensions
.cs, .csx