# stemseal

> stemseal is an open-source MCP server for ai models and llm tooling. Locked, verified calculation functions that small local LLMs can call instead of guessing. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted, Linux, macOS, Windows
- **Repository:** https://github.com/roarose/stemseal
- **MCP Registry name:** io.github.roarose/stemseal
- **Categories:** [AI models and LLM tooling](https://ai-powered.com/categories/ai-and-llm)
- **Listing updated:** 2026-11-19

## About

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.

## Features

- **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

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add stemseal -- uvx stemseal
```

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

### Claude Code: Or share it with your project (.mcp.json)

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

### Claude Desktop (claude_desktop_config.json)

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

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

### Cursor (~/.cursor/mcp.json)

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

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

### VS Code (~/.copilot/mcp-config.json)

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

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

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add stemseal -- uvx stemseal
```

### Codex: Or add to config.toml (~/.codex/config.toml)

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

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

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

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

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

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

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

### Devin Desktop (~/.config/devin/mcp_config.json)

```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.

### Cline (cline_mcp_settings.json)

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

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

### Zed (Zed settings.json)

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

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

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

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

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

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

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

### Kiro (~/.kiro/settings/mcp.json)

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

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

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

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_cell` (name suggests: reads): Finds a calculation cell matching a request.
- `call_cell`: Runs a named calculation cell with inputs.
- `list_cells` (name suggests: reads): Lists available calculation cells.
- `request_cell`: Records a request for a missing calculation cell.

## 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.

## Alternatives

- [Quelllm MCP](https://ai-powered.com/mcp/quelllm-mcp): Quelllm MCP is an open-source MCP server for ai models and llm tooling.
- [DevRay DataLab MCP](https://ai-powered.com/mcp/devray-datalab-mcp): DevRay DataLab MCP is an open-source MCP server for ai models and llm tooling.
- [Local AI MCP](https://ai-powered.com/mcp/local-ai-mcp): Local AI MCP is an open-source MCP server for ai models and llm tooling.
- [modelread](https://ai-powered.com/mcp/modelread): modelread is an MCP server for ai models and llm tooling.
- [SmarToken](https://ai-powered.com/mcp/smartoken): SmarToken is a paid MCP server for ai models and llm tooling.
- [Model Tested](https://ai-powered.com/mcp/model-tested): Model Tested is a free MCP server for ai models and llm tooling.
- [NoGPU](https://ai-powered.com/mcp/nogpu): NoGPU is a freemium MCP server for ai models and llm tooling.
- [PentestLLM](https://ai-powered.com/mcp/pentestllm): PentestLLM is a paid MCP server for security.

---
Source: https://ai-powered.com/mcp/stemseal
