MCP server that gives your model randomness from outside it, so one prompt gives different answers
MCP server that gives your model randomness from outside it, so one prompt gives different answers that still do what you asked.
·
Ask a language model for the same thing ten times and you get the same answer ten times. Model Salt is an MCP server that gives your model randomness from outside it, so one prompt gives ten different answers that still do exactly what you asked.
modelsalt.com · works in Claude Code, Codex, Gemini CLI and Kimi Code
One command adds it to your client. Run it once.
| Client | Command |
|---|---|
| Claude Code | npx -y @modelsalt/model-salt setup claude |
| Codex | npx -y @modelsalt/model-salt setup codex |
| Gemini CLI | npx -y @modelsalt/model-salt setup gemini |
| Kimi Code | npx -y @modelsalt/model-salt setup kimi |
Start a new session in your client after it, and the model_salt tool is there.
model-salt server in your client's MCP list. For Codex and Kimi Code it also adds a short skill at ~/.agents/skills/model-salt/ that tells the model when to call the tool, and for Codex one setting on that server so the model sees the tool from the start.--dry-run to print what it would change and change nothing.npx -y @modelsalt/model-salt uninstall claude # or codex, gemini, kimiIt takes out everything setup added. The skill stays while another client of yours still uses it. --dry-run works here too.
Ask for anything with room for choices: a picture, an SVG, a page, a name, a story, a plan. The model calls model_salt with your request, gets back what to settle this time, and then does your request as you asked it.
Want more or less of it? Say so in your prompt ("make it really different", "keep it close to the usual"). The tool takes a setting from 0 to 2. Left out, it is 1.
| Setting | How often each choice keeps the model's usual pick (target) |
|---|---|
| 0 | always |
| 0.5 | 70% of the time |
| 1 (default) | 45% of the time |
| 1.5 | 25% of the time |
| 2 | no more often than any other fitting pick |
The model skips the tool for questions with one right answer (a sum, a fact, a bug fix).
Keep what you like. Like part of a result? Say what to keep in plain words ("keep the palette and layout, give me new illustrations"). Your model copies those decided answers from the earlier Model Salt reply into the tool's keep field and calls it again. Only the open choices are rolled again, and the reply starts with one line, e.g. Kept: palette = burnt orange on cream; layout = split screen, text left. That holds on later runs until you say start fresh, and "give me something new" leaves it out. In a new chat, paste the Kept: line or say it in your own words. A kept answer that no longer fits a new request is dropped, and the reply says so. Nothing is stored on our side.
Same prompt, 10 runs each, from the examples on modelsalt.com.
"Generate an SVG of a pelican riding a bicycle." Different pictures in 10 runs:
| Model | Plain prompt | With Model Salt |
|---|---|---|
| Claude Opus 5.5 | 1 | 9 |
| Claude Fable 5.1 | 3 | 9 |
| GPT-6.1 Sol | 2 | 10 |
| GPT-6 Astra | 1 | 8 |
| Gemini 4 Argon | 2 | 10 |
| Kimi K3 | 1 | 9 |
"Suggest a name for a neighbourhood coffee shop." Claude Opus 5.5, the first five runs:
| Plain prompt | With Model Salt |
|---|---|
| The Common Grind | The Footbridge |
| Common Ground | Brew Espresso Bar |
| The Common Grind | Snugwick Corner |
| The Daily Grind & Gather | Old Oak's |
| The Common Cup | Hilltop Coffee |
"Write the first line of a short story about a lighthouse keeper." Claude Opus 5.5:
Every run, plain and salted, is in examples/, with the prompt, the model and the answer.
npx fetches the package the first time.npx -y model-salt <args> runs the same package as npx -y @modelsalt/model-salt <args>.plugin/ holds a Codex plugin, a Claude Code plugin and a Gemini CLI extension, and this repo is a plugin marketplace. From a clone:
codex plugin marketplace add /path/to/model-salt, then codex plugin add model-salt@model-saltclaude plugin marketplace add /path/to/model-salt, then claude plugin install model-salt@model-salt. Since plugin 1.0.3 it connects to the hosted server at https://modelsalt.com/mcp/listed instead of running the package on your machinegemini extensions install /path/to/model-salt/pluginnpx -y @modelsalt/model-salt anthropic (Claude, Gemini and Kimi models) or npx -y @modelsalt/model-salt openai (GPT models).node src/stdio.mjs anthropic in place of the npx command.In a separate short run (with no Claude Code or Codex on the machine, in your own model's chat, over two tool calls), the model names the biggest open decisions in your request (the questions an expert would ask) and a range of answers to each, its usual one included. Randomness from outside the model picks one answer per question. Your model then does the request with those answers settled. More, and why simpler ways failed: docs/how-it-works.md.
Found a prompt that still gives the same answer every time with Model Salt? Open an issue with the prompt, the model and a few runs. How to test a change to a family's steps: CONTRIBUTING.md.
Run with npx (or the Codex and Gemini plugins, or the MCPB bundle), Model Salt runs on your machine and never sends your prompts anywhere: it only asks public random sources for random bytes. The Claude Code plugin and the hosted endpoint run the same server at modelsalt.com instead, so your request and your model's reply to the exploring step go to modelsalt.com, where they are not stored or logged. Details: Privacy policy and the hosted privacy page.
examples/, the images in docs/): CC BY 4.0, credit "Model Salt", see examples/LICENSE.src/words.mjs, Webster's 2nd, 1934): public domain.Model Salt is a project by Chris Benjaminsen.
Paste this prompt into your agent. It reads this page and does the setup for you.
Read https://aiagentslisting.com/mcp/model-salt to learn what the "Model Salt" MCP server does and how to install it. Add it to my coding agent's MCP configuration as documented on that page, then confirm the server connects and list the tools it exposes.Agents can also browse this directory over MCP at https://aiagentslisting.com/api/mcp
npx -y @modelsalt/model-salt uninstall claude # or codex, gemini, kimi| Name | What it does |
|---|---|
model_salt | Call this before you start any creative or open-ended request (a picture, an SVG, a story, a poem, an email, a design, a name, a plan, an approach to a problem). Send the user's request word for word |
| Name | What it does |
|---|---|
salt | Start a creative or open-ended task with Model Salt |
Read live from the server on November 2, 2026.
Paste this line near the top of your repository's README. The badge always renders the current score.
[](https://aiagentslisting.com/mcp/model-salt)Persistent memory for AI coding agents via MCP — a bitemporal knowledge graph of your codebase
The markitdown-mcp package provides a lightweight STDIO, Streamable HTTP, and SSE MCP server for cal
v1.0.2Model Salt 1.0.2Release notesv1.0.1Model Salt 1.0.1Release notesConnect to the AI Agents Listing MCP server at https://aiagentslisting.com/api/mcp using the HTTP transport and complete the sign-in when it asks. Then call the submit_review tool for the listing "model-salt" with a rating from 1 to 5 and a short note on what worked and what did not.No reviews yet
Be the first to share your experience with this tool.
Persistent memory for AI coding agents via MCP — a bitemporal knowledge graph of your codebase
AI & ML Services
The markitdown-mcp package provides a lightweight STDIO, Streamable HTTP, and SSE MCP server for cal
AI & ML Services
One email a week. New agents, MCP servers and skills, and what is actually getting traction.