Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By machine-madev1.3.1MITIn 1 marketplace
Fortran plugin: compile-checks Fortran edits with gfortran when it is installed, debugs runtime errors and follows modern Fortran conventions; adds fortls code intelligence in Claude Code
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
fortran, fortls, gfortran, lsp, language-server, hpc, scientific-computing
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Fortran plugin for Claude. It has two parts:
fortran skill. Claude compile-checks every Fortran edit with gfortran,
debugs runtime errors with gfortran's checking flags, and writes modern Fortran
(implicit none, iso_fortran_env kinds, intent on every argument, modules).| Part | Claude Code | Cowork | Claude apps (web, desktop, mobile) |
|---|---|---|---|
fortran skill | Yes | Yes | Yes |
| fortls language server | Yes | No | No |
The skill's compile checks need gfortran wherever Claude runs the code: on your
computer in Claude Code and Cowork, and in the code-execution sandbox in Claude apps.
The Claude apps sandbox has no gfortran at first; Claude asks you, then installs it
there with apt-get, which only changes that temporary sandbox. Without gfortran the
skill still applies its conventions and reviews the code by reading it, and its answer
starts with "Not compile-checked".
Install the plugin. In Claude Code:
/plugin install fortls-lsp --marketplace machine-made/fortran-lsp
On Claude Code versions before 2.1.275, add the marketplace first:
/plugin marketplace add machine-made/fortran-lsp
/plugin install fortls-lsp@fortran-lsp
In Claude apps and Cowork, add it from Customize > Plugins.
Install gfortran for compile checks. The plugin never installs it for you; when it is missing, Claude shows the command and asks before running it.
brew install gcc # macOS
sudo apt-get update && sudo apt-get install -y gfortran # Debian, Ubuntu
sudo dnf install gcc-gfortran # Fedora
For the language server in Claude Code, install fortls:
uv tool install fortls # or: pipx install fortls, pip install fortls
fortls --version # check that it is on your PATH
The skill runs skills/fortran/scripts/check_fortran.py, a single Python file that
uses only the standard library. It runs gfortran -fsyntax-only -Wall on the files
Claude changed, in module order, on the files that define the modules they use, and on
the files that use modules the changed files define.
It prints one line per problem (path:line:col: error|warning: message). Module files
go to a temporary folder that is deleted afterwards, so nothing is written into your
project. The check does not link; Claude finishes with your project's own build
(fpm, CMake, make) when there is one.
Free form: .f90, .f95, .f03, .f08. Fixed form: .f, .f77, .for, and .fpp,
which is also preprocessed. The uppercase variants of each (.F90, .F, …) go through
the C preprocessor too. The language server indexes the same set.
The language server and the compile check both read an optional .fortls JSON file
at the project root (.fortlsrc and .fortls.json also work):
{
"excl_paths": ["build", "third_party"],
"include_dirs": ["include"],
"pp_defs": {"MY_MACRO": "1"}
}
See the fortls options reference for
every setting. The compile check uses excl_paths, include_dirs and pp_defs. When
a .fortls file is present, fortls lets its values replace any command-line
arguments per key (pp_defs in particular resets unless restated in the file).
Executable not found in $PATH in the /plugin Errors tab: fortls is not installed,
or its directory is not on PATH. Run fortls --version in the shell that starts
Claude Code.excl_paths in .fortls.fortran-check: gfortran not found: install gfortran (step 2), or pass another
gfortran executable with --fc gfortran-14.--flag=-fopenmp, or -I the folder
that holds the MPI module files.This plugin collects no data and sends nothing over the network. The only downloads are the ones you approve: installing gfortran or fortls fetches them from your package manager or PyPI.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub machine-made/fortran-lsp --plugin fortls-lspPlugins from other owners that cover similar ground