JCGEAgentInterface

JCGEAgentInterface

MCP-compatible interface for discovering, loading, solving, validating, and inspecting JCGE computable general equilibrium models.

Category
Visit Server

README

<picture> <source media="(prefers-color-scheme: dark)" srcset="docs/src/assets/jcge_agentinterface_logo_dark.png"> <source media="(prefers-color-scheme: light)" srcset="docs/src/assets/jcge_agentinterface_logo_light.png"> <img alt="JCGE AgentInterface logo" src="docs/src/assets/jcge_agentinterface_logo_light.png" height="150"> </picture>

JCGEAgentInterface

<!-- mcp-name: io.github.equicirco/JCGEAgentInterface.jl -->

What is a CGE?

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 calibration with the currently available JCGECalibrate loaders, SAM helpers, labeled containers, and parameter workflows,
  • guiding solver choice and reporting from generated equations,
  • 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:

using JCGEAgentInterface
serve(transport=:mcp_stdio)

Minimal local MCP client configuration:

{
  "mcpServers": {
    "jcge": {
      "command": "julia",
      "args": [
        "--project=/path/to/JCGEAgentInterface.jl",
        "-e",
        "using JCGEAgentInterface; serve(transport=:mcp_stdio)"
      ]
    }
  }
}

The MCP tools use the jcge_ prefix:

  • jcge_capabilities
  • jcge_list_blocks
  • jcge_describe_block
  • jcge_modeling_guide
  • jcge_formulation_guide
  • jcge_solver_guide
  • jcge_calibration_guide
  • jcge_reporting_guide
  • jcge_package_status
  • jcge_update_packages
  • jcge_list_models
  • jcge_load_model
  • jcge_solve
  • jcge_validate_model
  • jcge_render_model
  • jcge_export_results

The original custom JSON action protocol remains available:

serve() reads JSON requests from stdin and writes JSON responses to stdout.

Docker and MCP Registry

OCI-oriented MCP registry metadata is declared in server.json.

Future version tags matching v*.*.* trigger .github/workflows/publish-mcp.yml, which:

  • verifies the tag version matches Project.toml,
  • builds the MCP Docker image,
  • pushes it to GitHub Container Registry as ghcr.io/equicirco/jcge-agentinterface-mcp:<release-version>,
  • updates server.json for that release,
  • publishes the metadata to the official MCP Registry through GitHub OIDC.

The Docker image includes the MCP ownership label required by the MCP Registry:

LABEL io.modelcontextprotocol.server.name="io.github.equicirco/JCGEAgentInterface.jl"

No release, tag, image publication, or registry publication is performed by editing this repository.

How to cite

If you use the JCGE framework, please cite:

Boero, R. JCGE - Julia Computable General Equilibrium Framework [software], 2026. DOI: 10.5281/zenodo.18282436 URL: https://JCGE.org

@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}
}

If you use this package, please cite:

Boero, R. JCGEAgentInterface.jl - MCP-compatible agent interface for JCGE tooling. [software], 2026. DOI: 10.5281/zenodo.18335121 URL: https://AgentInterface.JCGE.org SourceCode: https://github.com/equicirco/JCGEAgentInterface.jl

@software{boero_jcgeagentinterface_2026,
  title  = {JCGEAgentInterface.jl - MCP-compatible agent interface for JCGE tooling.},
  author = {Boero, Riccardo},
  year   = {2026},
  doi    = {10.5281/zenodo.18335121},
  url    = {https://AgentInterface.JCGE.org}
}

If you use a specific tagged release, please cite the version DOI assigned on Zenodo for that release (preferred for exact reproducibility).

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured