jev-mcp

An MCP server that exposes TypeSafe Jev as typed judgment tools.
Jev is a System One model. It returns a typed answer and a calibrated probability
distribution, never prose. These tools surface that faithfully rather than hiding
it behind a label.
Install
Requires Node 20.12+ and a TypeSafe API key from
console.typesafe.ai.
Claude Code plugin
One marketplace add, one install. This registers the server and the agent skill
together, so there is no separate skill step.
/plugin marketplace add rashedInt32/jev-mcp
/plugin install jev@jev-mcp
The plugin runs the published package through npx -y jev-mcp@<version>, so nothing
needs building. The first launch downloads the package, so allow a few seconds before
the server shows as connected in claude mcp list.
Any MCP client
claude mcp add --scope user jev -- npx -y jev-mcp
Or in a client's JSON config:
{
"mcpServers": {
"jev": { "command": "npx", "args": ["-y", "jev-mcp"] }
}
}
Do not register the server directly and install the plugin. Two servers named
jev will otherwise both register.
The key
The server reads the key from TYPESAFE_API_KEY in its environment, then from
JEV_API_KEY, then from ~/.config/typesafe/key. It is never a tool argument, so it
cannot land in a transcript or in a model's context.
The key file is the most reliable source, because some MCP clients strip the
environment before spawning servers:
mkdir -p ~/.config/typesafe
printf '%s' "ts_..." > ~/.config/typesafe/key
chmod 600 ~/.config/typesafe/key
If you prefer the variable, put it in ~/.zshenv rather than in any repo, and make
sure it is exported. Without export the variable exists only in the shell that
read it, and every server Claude Code spawns fails with a missing-key error.
Plugin internals
The server is declared inline under mcpServers in .claude-plugin/plugin.json.
There is no .mcp.json anywhere in the repo, and that is deliberate.
A .mcp.json at the plugin root is auto-discovered by the plugin loader, so it works.
But any session opened in this directory also reads that same file as a project
config, where ${CLAUDE_PLUGIN_ROOT} is undefined. The result is a missing-variable
warning and a scope conflict on the same server name. The inline form has exactly one
loader and produces neither. Verify with claude mcp list: the server appears as
plugin:jev:jev and the diagnostics section stays empty.
One trap. claude plugin details jev reports MCP servers (0) for an inline
declaration even while the server is connected and working. That is a gap in the
inventory count, not a failure. Trust claude mcp list over plugin details here.
The plugin deliberately ships no env block. Naming the key there would expand to
an empty string when the variable is unset, and an empty string is not nullish, so it
would shadow the ~/.config/typesafe/key fallback and turn a working setup into a
missing-key error. Leaving env out keeps all three key sources live.
Tools
| Tool | Primitive | Use when |
|---|
jev_classify | Choice | The answer is one of a fixed set you define |
jev_score | Score | The answer is a degree on an ordered scale |
jev_check | Noul | The answer is yes or no, and you want the probability |
jev_ask | all three | You have several questions about the same state |
jev_triage | all three, per item | You have many items and want one result each, with files read server-side |
jev_models | — | Confirm the key works and find a model id |
Every tool returns the full probability distribution alongside the answer, plus
confidence for Choice and Score. Results come back as MCP structured content, so a
client gets typed data rather than a JSON string to re-parse.
Prefer jev_ask
Jev prefills the state once and scores every question in a single forward pass, so
extra questions add almost no latency or cost. TypeSafe's own
measurement on a
document-dominated workload puts one batched call at 12.2x cheaper and 10.0x faster
than one call per question, with no change in the answers.
Questions in one request cannot see each other's answers. State any speculative
premise explicitly and let your own code decide which answers apply.
Triage many items without reading them