JCGE MCP server for CGE discovery, guidance, examples, solving, validation, and reporting.
io.github.equicirco/JCGEAgentInterface.jl MCP Server
This MCP server provides JCGE discovery, modeling guidance, solving, validation, and equation rendering. It targets computable general equilibrium (CGE) workflows and is described with topics covering economic modeling and numerical optimization, implemented for the Julia ecosystem.
🛠️ Key Features
JCGE discovery
Modeling guidance
Solving
Validation
Equation rendering
🚀 Use Cases
Build and run computable general equilibrium models
Support modeling and analysis across interconnected goods and services markets
⚡ Developer Benefits
Supports equation rendering for CGE model components
Includes guidance, solving, and validation steps as part of the workflow
Built for Julia-language development contexts
⚠️ Limitations
Public documentation excerpt is incomplete and only partially describes functionality beyond CGE framing
A Computable General Equilibrium (CGE) model is a quantitative economic model that represents an economy as interconnected markets for goods and services, factors of production, institutions, and the rest of the world. It is calibrated with data (typically a Social Accounting Matrix) and solved numerically as a system of nonlinear equations until equilibrium conditions (zero-profit, market-clearing, and income-balance) hold within tolerance.
What is JCGE?
JCGE is a block-based CGE modeling and execution framework in Julia. It defines a shared RunSpec structure and reusable blocks so models can be assembled, validated, solved, and compared consistently across packages.
What is this package?
MCP-compatible interface layer for agents that need to discover, load, solve, validate, and inspect
JCGE models. It exposes a small action API and a standard MCP stdio server over the same functionality.
The agent surface is intentionally focused on:
discovering installed JCGE packages and available functionality,
listing and describing reusable JCGEBlocks components,
guiding users through CGE model development with JCGE blocks,
guiding formulation choices such as equality systems, inequalities, MCP/complementarity, and optimization-style representations,
guiding source-data preparation with released JCGEImportData adapters while retaining model-owned SAM construction choices,
guiding calibration with the currently available JCGECalibrate loaders, SAM helpers, labeled containers, and parameter workflows,
guiding solver choice and reporting from generated equations,
listing released JCGEExamples reference model modules,
solving registered RunSpec models,
validating solved contexts,
rendering implemented equations, blocks, and symbols through JCGEOutput,
reporting or applying updates to released JCGE packages in the active Julia environment.
The package services are grouped in the documentation as discovery, modeling
guidance, model interaction, reporting, environment maintenance, and MCP runtime
services. See docs/src/services.md for the full service contract and current
limits.
MCP server
The standard MCP transport is:
julia
using JCGEAgentInterface
serve(transport=:mcp_stdio)
Boero, R. JCGE - Julia Computable General Equilibrium Framework [software], 2026.
DOI: 10.5281/zenodo.18282436
URL: https://JCGE.org
bibtex
@software{boero_jcge_2026,
title = {JCGE - Julia Computable General Equilibrium Framework},
author = {Boero, Riccardo},
year = {2026},
doi = {10.5281/zenodo.18282436},
url = {https://JCGE.org}
}