fortranspire

maurinl26/fortranspire
★ 0 stars Python AI/LLM Updated 5d ago
MCP server with OpenAI SDK and loki-ifs
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "fortranspire": {
      "command": "uvx",
      "args": [
        "fortranspire"
      ]
    }
  }
}

Or install with pip: pip install fortranspire

README Excerpt

<div align="center"> **An LLM + Model Context Protocol pipeline that ports legacy Fortran HPC kernels to GPU (OpenACC) and differentiable JAX.** </div> --- `fortranspire` automates the four transformations a senior HPC engineer would perform by hand when porting a Fortran 90 kernel to GPU and Python: AST parsing with [Loki](https://github.com/ecmwf-ifs/loki)

Tools (18)

PATHagent_statusanalyze_kernelsask_agentbuild_call_graphcommenterrorexplainexplain_port_costfortranspiregenerate_docspathprofile_kernelssarifsummarytranslate_kerneltranslate_kernel_gpuversion