Skip to content
MCP server

stemseal

Locked, verified calculation functions that small local LLMs can call instead of guessing

Runs locally

stemseal is an open-source MCP server for ai models and llm tooling. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, Self-hosted, Linux
Runs
Locally
Version
0.2.3
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add stemseal -- uvx stemseal

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

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

Claude Code setup guide

Add to claude_desktop_config.json

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

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

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

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "stemseal": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "stemseal"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add stemseal -- uvx stemseal

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.stemseal]
command = "uvx"
args = ["stemseal"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "stemseal": {
      "command": "uvx",
      "args": [
        "stemseal"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

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

    Or run: gemini mcp add -s user stemseal uvx -- stemseal

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

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

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

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

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

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

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "stemseal": {
          "command": "uvx",
          "args": [
            "stemseal"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

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

    Junie

    Add to ~/.junie/mcp/mcp.json

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

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

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

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • STEMSEAL_MODELOptional. Your model's name (e.g. qwen2.5:3b) for a selection guide fitted to it.
  • STEMSEAL_LANGOptional. ko or en; otherwise guides follow the request's language.

About stemseal

The README says small language models often get arithmetic wrong, so stemseal gives them deterministic calculation cells to call. Each cell is a small pure function that must pass a purity check and at least 20 ground-truth cases before it is added, and is then locked by sha256 so it cannot change silently; fixes ship as new versions. When no cell matches a request, the model receives an explicit "not available" reply rather than an invented answer.

The lite build runs entirely on the user's machine with no server, account or telemetry. It is exposed as an MCP server over stdio with tools find_cell, call_cell, list_cells and request_cell, and it also has a command-line interface. Setting the optional STEMSEAL_MODEL variable adds a selection guide tuned to that model family's known weak spots, and the Python package can be installed with pip.

The author's own benchmark, a set of 52 mostly Korean business arithmetic tasks, reported higher accuracy for local models with stemseal than without. The README notes this test set was written by the authors and that cells only help where a cell exists. It is aimed at people running small local models for business arithmetic such as leave days, VAT, currency conversion and growth rates.

Tools this server provides (4)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 2 of 4 tools read data; 2 names don't say.

From the server's own tool labels and tool names; not verified by us.

find_cellName suggests: reads
Finds a calculation cell matching a request.
call_cell
Runs a named calculation cell with inputs.
list_cellsName suggests: reads
Lists available calculation cells.
request_cell
Records a request for a missing calculation cell.

What it does

Locked deterministic cells
Each calculation is a small pure function verified against ground-truth cases and locked by sha256.
Honest not-available replies
When no matching cell exists, the model is told so instead of receiving a guessed answer.
Fully local operation
The lite version runs on your machine with no server, account or telemetry, and only update downloads.
MCP tool interface
Exposes find_cell, call_cell, list_cells and request_cell to any MCP-compatible client over stdio.
Model-specific guidance
An optional model name setting adds selection hints for that model family's common mistakes.
Command-line access
Lets you list, find, call, request and update cells directly from a terminal.
Process-isolated execution
Cells run in a separate Python process with a timeout, though the README says this is not an OS sandbox.

Good for

  • Giving a small local model reliable VAT, leave-day or wage calculations
  • Converting foreign currency amounts to won with consistent rounding
  • Computing compound growth or percentage-point differences for business reports
  • Requesting new calculation cells when a needed function is missing

Pricing

Open source

Free and MIT-licensed; no paid plan mentioned.

stemseal FAQ

Does stemseal send my data anywhere?

The README says the lite version runs entirely on your machine with no telemetry. Only the stemseal update command downloads new cells, and requests are saved locally until you choose to open a GitHub issue.

Which languages do the guides support?

Guides answer in Korean when the request contains Hangul and in English otherwise, and STEMSEAL_LANG can fix the language. The README says the English wording has not been measured yet.

What license is stemseal under?

The README states the project is released under the MIT license.

How do I install stemseal?

The README gives pip install stemseal, followed by stemseal verify to re-check every lock and ground-truth case.

Is stemseal free?

Yes. stemseal is open source, so you can use and self-host it for free.

How do I add stemseal to Claude Code?

Run this command in your terminal: claude mcp add stemseal -- uvx stemseal

What are the best alternatives to stemseal?

The closest alternatives to stemseal are Quelllm MCP, DevRay DataLab MCP, Local AI MCP, modelread and SmarToken.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers