akougkas.io

MCP for science: what sixteen servers taught us

CLIO Kit ships sixteen MCP servers over scientific formats, schedulers, and a shared log. What they taught us about tool shapes, what a summarize tool must refuse, and where the protocol runs out.

Published
Reading
9 min read
Topics
agents, data, scientific computing, systems, building

I spoke to the ESIP community today about connecting agents to earth-science data, and the slide that got the most questions was a grid of MCP servers. So here is the longer version of what those servers are, why we built so many, and what they taught us about tools for agents. Sixteen was never a plan. It is what happens when every student who touches a new format asks whether they can write a server for it and I keep saying yes.

The Model Context Protocol is the open specification that lets an agent discover and call tools with typed schemas. It arrived in late 2024. By now every client I care about speaks it: Claude Code, Cursor, VS Code, Gemini CLI. That mattered to us for a plain reason. A scientist should not have to change agents to reach their data, and we should not have to write the same integration once per client.

What is in the box

CLIO Kit is the tool layer of CLIO, built inside IOWarp. As of this week the tree holds sixteen MCP servers, installable with one command:

uvx clio-kit mcp-servers
uvx clio-kit mcp-server hdf5

The sixteen, by what they face: HDF5, Parquet, and ADIOS for data formats; Pandas, plot, parallel sort, and compression for working on what you read; ParaView for visualization; Slurm, Jarvis, Lmod, and node hardware for the machine; Darshan for I/O traces; ChronoLog for the shared log; ArXiv for literature; and the National Data Platform for discovery across sites. Isa Muradli and Shazzadul Islam did the day-to-day building, with Jaime Cernuda and me contributing across the interfaces. The Kit is BSD-licensed and on PyPI; the servers live in one directory of the repository.

The sixteen CLIO Kit MCP servers grouped by what they face: data formats, working on data, visualization, the machine, traces, the shared log, literature, and discovery. formats HDF5, Parquet, ADIOS working on data Pandas, plot, parallel sort, compression visualization ParaView the machine Slurm, Jarvis, Lmod, node hardware traces Darshan shared log ChronoLog literature ArXiv discovery National Data Platform sixteen servers, one install command
Three servers face data formats (HDF5, Parquet, ADIOS), four work on what you read (Pandas, plot, parallel sort, compression), one faces visualization (ParaView), four face the machine (Slurm, Jarvis, Lmod, node hardware), one reads I/O traces (Darshan), one is the shared log (ChronoLog), one reads literature (ArXiv), and one discovers data across sites (the National Data Platform).

Two servers are mine alone and sit outside the Kit. hdf5-agent, from February 2025, is a single Python file you drop next to your HDF5 data so the agent comes to the file instead of the file going to a cloud; its idea became the Kit’s HDF5 server. ZulipChat MCP connects an agent to our team’s chat, and it is where I learned that sending a message is an action, not a read.

Which tool shapes work

The first lesson is that agents do not want an API. They want a small set of verbs with obvious preconditions. I did not believe this at the start, and I had to watch agents fumble a wide interface before I was convinced.

hdf5-agent has a handful of tools: navigate the file, fetch metadata, summarize a dataset with statistics for numeric data and value counts for strings, and analyze with adaptive sampling when the array is large, behind a small cache so repeated questions do not repeat the I/O. The Kit’s HDF5 server takes the other bet: twenty-six tools, plus resources under an hdf5:// scheme and prompt templates, each tool tagged and annotated so a client can filter. Both are in use, and my assessment after a year of watching agents drive them is that the small verb set is where reliability lives. Breadth belongs in the server; the default mount should be narrow. ZulipChat MCP is where I made that explicit, with a focused core tool set and an extended mode for the rare operations, because handing a model every operation at once raises its selection cost and makes the authority surface harder to read.

The second lesson is that format-native servers beat a generic file server. A tool that returns bytes from a path teaches the model nothing about what the bytes mean. A tool that knows HDF5 has attributes, that Parquet has row groups, that an ADIOS step is a time index, gives the model the vocabulary of the data. Every time we tried to save effort with a general “read file” tool, the model’s next action got worse.

The third is about the machine. A Slurm server that wraps sbatch and squeue is easy; a Slurm server that an agent can use safely has to know the difference between describing the queue and joining it. The same is true of Jarvis, which deploys whole pipelines. Reading is cheap and repeatable; submitting spends someone’s allocation. My rule is that a tool that spends an allocation has to look different from one that reads the queue, before the model sees either. The tool schema should make that difference visible before the call, not after.

What a summarize tool has to refuse

summarize_dataset looks harmless and is the tool I worry about most. A summary is a decision about what to leave out, and the model treats the result as the truth about the array. Summaries are where I stop trusting any tool, including mine.

So the tool has to refuse some things.

  • No silent sampling. It must not sample and report the sample as the population; the response says the sample size.
  • No coercion. It must not turn a string dataset into numbers because a mean was requested.
  • No collapsing time. It must not summarize across a dimension the file marks as time without saying so.
  • No surprise I/O. When the dataset is larger than a bound the operator set, it returns the plan it would use and asks, instead of spending ten minutes of I/O on a question the agent may have asked casually.

Each of those rules exists because I have watched a model write a confident paragraph about a dataset it had not actually read.

That is the same rule I hold for the whole of CLIO: the smallest sufficient context, with enough provenance that a person can check what the agent was shown.

Where the protocol runs out

MCP is a good protocol for tools and a poor transport for data. In the current specification, binary content travels as a base64 string inside a JSON message. That is fine for a plot. It is a third larger than the bytes and a serialization on both ends for a slab of an HDF5 dataset, and it is the wrong shape entirely for a terabyte on a parallel file system.

Our answer is to keep bulk movement out of the protocol. The Kit’s HDF5 server can stream chunked reads for the cases where the agent does need values, but the servers mostly return handles and shapes, and the movement happens in the CLIO Core transfer engine, which places data across tiers the way Hermes did. The agent sees a name and a receipt. Alternative transports have been proposed and closed in the specification repository, and none of them changes the fact that tool results are JSON messages. I would not build a science tool that depends on the model’s context window as a data path in any case. I have spent too long moving bytes between tiers to accept a transport that wraps them in a chat message.

The other gap is state. MCP calls are independent; a workflow is not. Which step ran, on which node, against which version of the file, is exactly what ChronoLog exists to record, and the ChronoLog server is in the Kit so an agent can write its own trail. This is my assessment, not a survey result: before this work, no HPC storage system shipped a first-class MCP interface. I would be glad to be corrected.

What I would do differently

  • Fewer servers, sooner. Sixteen is a good number now because each one carries a lesson, but the first six taught most of them. I say this as the person who approved every one of them.
  • Contracts before code. A client should be able to verify what a server promises from a recorded tools/list exchange, and we do not have that yet.
  • A shared regression corpus, so that “the agent got better at HDF5” is a number and not a feeling.

If you have a format or a scheduler that scientists reach through scripts today, write a server for it. Keep the verbs few, make the preconditions visible, and make every summary say what it left out. Then send it to me. I will run it against the questions in this entry and tell you where it breaks.

Sources, code, and records

  1. source

    CLIO Kit repository

    The servers, their tests, and the contributor history. Sixteen servers were in the tree on the date of this entry.

  2. source

    clio-kit on PyPI

    The installable package behind `clio-kit mcp-server `.

  3. source

    hdf5-agent

    My February 2025 single-file HDF5 agent, the prototype whose idea carried into the Kit's HDF5 server.

  4. source

    MCP specification, resources

    Binary content travels as a base64 `blob` field in the 2025-06-18 revision.

  5. source

    MCP servers for scientific computing

    How CLIO Kit connects agents to HDF5, Slurm, ParaView, and other scientific tools.

  6. source

    CLIO Kit documentation

    Getting started with the kit and its servers.

  • 2025–present
    active

    CLIO

    A context layer for scientific AI agents and workflows

  • 2025–present
    evolving

    ZulipChat MCP

    An MCP server for agent participation in Zulip conversations

  • 2024–present
    active

    IOWarp

    Context management infrastructure for scientific AI

  • 2020–present
    active

    ChronoLog

    A distributed shared log ordered by physical time

More on CLIO

  1. essay

    One destination, N tiers

    Every tier supplies the application at once, and the application sees one destination. The thesis from a November 2026 talk to my group at the Gnosis Research Center, the six lines of I/O work behind it since 2016, and my bet that they are the foundation agents need for context.

    9 min
  2. essay

    CLIO as the entry point

    CLIO should become the single place a developer starts with IOWarp, built as an application SDK with deployment profiles rather than an umbrella package or a gateway service. This is the direction for 2027; the API and the scope are still open.

    5 min
  3. essay

    A study that keeps its evidence

    CLIO Agent 0.9.5.1 links a study's questions, hypotheses, experiments, observations, and conclusions to the tool calls that produced them, so a scientific conclusion stays attached to the evidence that produced it.

    3 min