Skip to main content

fip-mcp

DOI PyPI

An MCP server that turns community FAIR Implementation Profiles (FIPs) into guidance and deterministic compliance checks for AI agents such as Claude Code.

A FIP records a community's agreed FAIR choices: identifiers, repositories, formats, vocabularies, licences and provenance models. It is published as nanopublications by the FIP Wizard. Today FIPs are mostly filled in once and rarely read again. This server makes them operational. An agent helping a researcher asks the FIP what the community agreed before it suggests anything, and can check work against the FIP.

fip-mcp was developed in the OSCARS-funded FIESTA project (FAIR Image Data Workflows in Galaxy), and is maintained by the Science Live community.

Tools

Tool What it does
communities Known communities and their FIP nanopubs (any tool also accepts a FIP URI).
profile The community's choices question by question, from the latest FIP version.
recommend What the community agreed for a topic (format, repository, licence, …).
check Checks a folder or Zenodo record against the FIP: pass / fail (+ fix) / manual / no-choice.
crosswalk What changes when a workflow or dataset moves between two communities.
compare Several FIPs and R-FIPs side by side: one row per FAIR principle, one column per profile, a Principles Covered count; optional .xlsx.

Design rules:

  • Verdicts are code, not LLM judgement. Each declared resource maps to a probe of facts read from the target. A resource with no probe is manual, so the agent asks the user instead of guessing.
  • A community gap stays a gap. no-choice is reported as a gap in the FIP, and the agent is told not to put its own preference in its place.
  • Latest version. The FIP Wizard republishes a FIP and its declaration index, and both supersede their predecessors. The resolver only follows successors that are themselves FIPs.
  • Nothing hard-coded: the network is the source. Question wording and the principle each question refers to come from the FIP ontology term nanopubs; principle wording from the FAIR principles terms. A question the ontology does not define is reported as such, never filled in.
  • R-FIPs read like Nanodash. A Reference FIP (a community's target practice) lists recommended resources without naming questions. Each resource is grouped under the principles its FIP types enable or support, as stated by the type nanopubs, the same relations Nanodash uses on the R-FIP page. "Supports" is labelled (supports) and can be left out (--enables-only).
  • Checks use registries, not built-in tables. To test a declared resource (is there a NetCDF file? is the licence CC BY 4.0? is it deposited in Zenodo?) fip-mcp looks the facts up: the resource nanopub's own links and URL, Wikidata (file extensions P1195, media types P1163, identifier patterns P1793; an ambiguous label match is not used), the SPDX License List, DataCite and doi.org (which repository and agency minted a DOI). Facts no registry holds (e.g. "an RO-Crate is a ro-crate-metadata.json file") live in a config file, src/fip_mcp/data/resources.toml, each with its source; your own entries go in ~/.config/fip-mcp/resources.toml (or $FIP_MCP_RESOURCES) and win. Every verdict lists where its facts came from; a resource with no fact is manual. The lasting fix is upstream: a skos:exactMatch from a resource nanopub to its Wikidata item makes the lookup exact.

Install and use

pipx install fip-mcp
claude mcp add fip -s user -- fip-mcp     # as an MCP server
fip-check check fiesta-eo 10.5281/zenodo.20960690   # same operations from the shell
fip-check crosswalk fiesta-bio fiesta-eo

# As-Is FIP vs Reference FIPs, written to Excel
fip-check compare https://w3id.org/np/RA9VkRpjqbKT1AUypSJciQfL0RLn0ZJ8b5M8EZQmhS_l8 \
                  https://w3id.org/np/RAxrU7wqSPR2KS-oso6Muj8_eWbWCXcOsa5H7chFaTVpQ \
                  https://w3id.org/np/RAAKevI7Hcsefs-FSX-OV4urKY8KWHpZ6PY8o3DR9P_II \
  --name "FAIR2Adapt R-FIP" --name "RiOMar R-FIP" --name "RiOMar FIP" \
  --xlsx riomar.xlsx

--xlsx needs pipx install 'fip-mcp[xlsx]' (or pipx inject fip-mcp openpyxl).

Nanopubs are cached in ~/.cache/fip-mcp. They are immutable, so they are cached for good. Version lookups always go to the network. Registry answers (Wikidata, SPDX, DataCite) are cached for FIP_MCP_LOOKUP_TTL_DAYS (default 30).

For development: pip install -e '.[dev]' and python -m pytest -q (the tests need no network).

Status

Prototype. The short names in src/fip_mcp/data cover the Astronomy, Bioimaging and Earth Observation FIPs of the OSCARS-FIESTA community FAIR Image Data Workflows in Galaxy. Any tool also accepts the nanopublication URI of another FIP, but the check probes have so far only been exercised on FIESTA outputs.

Assistant test

eval/ tests whether an AI assistant follows a community's FIP, with and without fip-mcp. It asks 6 questions (repository, data format, licence, identifier, vocabulary, provenance) for each of the 3 FIESTA communities, 3 runs per condition. The expected answers are read from the published FIPs, not typed by hand. Results from 2026-10-20 (Claude Opus 5.5, web and file tools disabled) are in eval/results/:

Variant Without fip-mcp With fip-mcp
choice: "what has my community agreed?" 54 of 54 abstain 54 of 54 give the declared choice or report the gap
plain: "what do you recommend?", declared questions 30 of 45 on-profile, 15 off-profile 45 of 45 on-profile
plain: questions the community left open 9 of 9 recommend their own default, with a caveat 9 of 9 report the gap
python eval/run_eval.py --runs 3 --out eval/results/<name>     # needs Claude Code
python eval/score.py eval/results/<name>

Citation

Please cite fip-mcp with the metadata in CITATION.cff. The concept DOI 10.5281/zenodo.24155500 always resolves to the latest version; each release also has its own DOI (v0.1.0: 10.5281/zenodo.24155501).

Funding

fip-mcp was developed within FIESTA, a project funded by OSCARS (Open Science Clusters' Action for Research and Society). OSCARS is funded by the European Union's Horizon Europe programme under grant agreement No 101129751. Views and opinions expressed are those of the authors only and do not necessarily reflect those of the European Union. Neither the European Union nor the granting authority can be held responsible for them.

Science Live is a community-driven, unfunded initiative. Further funders will be listed here as they support the work.

Metadata

Release files for fip-mcp 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fip-mcp 0.2.0
File Size Uploaded Provenance Actions
fip_mcp-0.2.0.tar.gz 102.7 kB With provenance Details for fip_mcp-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fip-mcp 0.2.0
File Interpreter ABI Platform Actions
fip_mcp-0.2.0-py3-none-any.whl Python 3 none any Details for fip_mcp-0.2.0-py3-none-any.whl

Total release size: 137.6 kB

Release files / fip_mcp-0.2.0.tar.gz

Download URL fip_mcp-0.2.0.tar.gz
Size 102.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1f3fa3d7a385f85f7c6960211c0c11bbe08ddb6c114cacef69623bb8e5eeb062
BLAKE2b-256 checksum
How to use checksums
26c62b1aadf0d4a75ad4838d73b1a3a6a2cba2ec8deb1434bd4f753dbf9b3a20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.

Transparency log

Release files / fip_mcp-0.2.0-py3-none-any.whl

Download URL fip_mcp-0.2.0-py3-none-any.whl
Size 34.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
850e92d7f551adef377041312760b4c6b5a7eba38aaeec91fc78333c660a7531
BLAKE2b-256 checksum
How to use checksums
d97126b8b9f40afce7d2afb580a404a277abde7aa2658098d64a64987ccbb330
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.

Transparency log

Security for fip-mcp 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for fip_mcp-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page