Skip to main content
Glama

Jef MCP

An MCP server for a model that decides instead of generating.

Jef never produces text. Every answer is one of the options you supplied, a number from 1 to 10, a yes or no, or a flag, with a confidence between 84% and 99%. It reads 0 tokens of your input, because it hashes it rather than reading it. It stores nothing, costs nothing, and returns the same answer for the same input forever.

It is a parody of TypeSafe AI's real decision model, Jev, and it is labelled as one everywhere. If you want to understand the real thing, we wrote a straight explainer for it: What is Jev?

Connect

The server is hosted. Nothing to install, no key, no account.

https://typosafe.lol/mcp

Claude Code:

claude mcp add --transport http jef https://typosafe.lol/mcp

Anything that reads a config file:

{
  "mcpServers": {
    "jef": { "type": "http", "url": "https://typosafe.lol/mcp" }
  }
}

Or find it in the official MCP registry as lol.typosafe/jef, or on Smithery as typosafe/jef.

Related MCP server: jev-mcp

Tools

Tool

Ask it

Get back

jef_yes_no

A yes-or-no question

YES or NO

jef_pick

2 to 5 options

One of them, plus a probability for each

jef_score

Something to rate

1 to 10

jef_rank

2 to 5 options

Them, in order

jef_flag

A described behaviour

RED FLAG, GREEN FLAG or BEIGE FLAG

Every result carries a structuredContent object with the answer, the confidence, the probability for each option, and two booleans that matter more than the answer does.

Two things an agent must handle

escalated: true means the question touched health, harm, money, law or safety. The content is ESCALATED TO A HUMAN and confidence is 0. Tell the person to ask a human. Do not rephrase the question to get a different answer.

blocked: true means the input contained profanity, slurs or sexual content. The content is NOT EVALUATED, nothing was stored, and nothing is echoed back. Do not retry.

Both checks run on normalised text, so leetspeak, dotted letters and stretched spellings are caught, and both cover English, Spanish, Portuguese, Japanese and Chinese.

Beyond that: Jef is a parody and its answers are deliberately arbitrary. Present them as a confident arbitrary choice, which is what the user asked for, and never as advice.

Run it yourself

npx jef-mcp                    # MCP over stdio, what most clients spawn

Or from source:

git clone https://github.com/SPFreedom/jef-mcp.git
cd jef-mcp
node src/stdio.js              # stdio transport
node src/server.js             # http://localhost:8787/mcp
node test.js                   # smoke test, no network

As a local stdio server in a client config:

{
  "mcpServers": {
    "jef": { "command": "npx", "args": ["-y", "jef-mcp"] }
  }
}

The hosted URL needs no install. This one runs entirely offline, which is possible because the whole model is 331 lines and reads nothing.

Zero dependencies. src/jef.js is the whole model, and src/handler.js is the exact handler running at typosafe.lol/mcp.

Why the joke works

Every other MCP server is a wrapper around something that does work. This one wraps a 32-bit hash and a lookup table, and is honest that it never reads your input. It is stateless, so there is no session to establish and nothing to resume, which is the one part of MCP it implements better than most.

Related: npx typosafe is the same model on the command line, where the exit code is the decision.

Docker

docker build -t jef-mcp .
docker run -i --rm jef-mcp        # stdio, nothing exposed

The build runs the test suite, so a broken image cannot be produced. Nothing is installed, because there is nothing to install.

License

MIT. The model is 331 lines. Read it.

Available Tools

5 tools
jef_flagAsk Jef if it is a red flagA
Read-onlyIdempotent
Inspect

Judge a described behaviour as RED FLAG, GREEN FLAG or BEIGE FLAG. Use this when the user describes something someone did and wants a verdict on it. Beige means neither good nor bad, merely odd. Anything describing harm, threats or abuse escalates instead of being judged.

Inputs: behaviour (required). Returns: kind, answer, blocked, ranking, +7 more

jef_pickAsk Jef to pick oneA
Read-onlyIdempotent
Inspect

Pick one of 2 to 5 options and give a probability for each. Use this when the user is stuck between named choices and wants one chosen for them: dinner, which film, which of three plans. Jef can only ever return an option you passed in, so it cannot introduce an idea of its own.

Inputs: options (required), question. Returns: kind, answer, blocked, ranking, +7 more

jef_rankAsk Jef to rank thingsA
Read-onlyIdempotent
Inspect

Put 2 to 5 options in order, best first. Use this when the user wants a priority order decided for them, such as which chore to do first or which of several tasks to start with. Returns every option you passed, reordered, never a subset.

Inputs: options (required). Returns: kind, answer, blocked, ranking, +7 more

jef_scoreAsk Jef to rate somethingA
Read-onlyIdempotent
Inspect

Rate something from 1 to 10. Use this when the user wants a number put on something subjective, such as an outfit, a plan, or an excuse. The number is arbitrary and deterministic, so the same description always scores the same.

Inputs: thing (required). Returns: kind, answer, blocked, ranking, +7 more

jef_yes_noAsk Jef yes or noA
Read-onlyIdempotent
Inspect

Answer a yes-or-no question with YES or NO and a confidence. Use this when the user wants a question settled and there is no correct answer, such as whether to go out, whether to send the message, or whether to deploy on a Friday. Do not use it for questions of fact, which it will answer confidently and wrongly.

Inputs: question (required). Returns: kind, answer, blocked, ranking, +7 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool produces a distinctly different output type: binary yes/no, a single pick with probabilities, a numeric score, an ordering, and a categorical flag. The descriptions explicitly map use cases to each response shape, so an agent should not confuse them.

    Naming Consistency4/5

    All names share the jef_ prefix and use lowercase snake_case, which is consistent. The only slight deviation is jef_yes_no being named after its output while the others are verb-like commands (pick, score, rank, flag), but this is a minor inconsistency.

    Tool Count5/5

    Five tools is a well-scoped size for a subjective-decision helper server. Each tool covers a different way a user might want an opinion, and none feel redundant or unnecessary.

    Completeness5/5

    The tool surface covers the main decision output types an agent would need: binary choices, selection among options, numerical ratings, ordering, and categorical verdicts. There are no obvious dead ends or missing operations for the stated purpose.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables local, LLM-free probabilistic decisions (choice, classification, scoring, yes/no) with real probabilities in 100+ languages, as a drop-in replacement for jev-local tools.
      4
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      An MCP server that exposes eleven typed decision tools—check, choose, score, judge, route, triage, guard, grep, rank, compact, and ask—so agents can make fast, branchable yes/no, option-pick, score, and filtering decisions on text via TypeSafe's Jev model.
      7 npm
      2
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI coding agents to offload yes/no, multiple-choice, and scoring questions to TypeSafe's Jev, returning compact confidence-scored answers to save tokens and improve speed.
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Judgment calls on small, fast, cheap models: yes/no, pick-one and rating questions about any text, answered YES, NO or UNSURE. Four tools (likely, classify, rate, each) for TypeSafe's Jev, open models on Ollaya, Ollama or a local NLI model.
      4
      25 PyPI
      7
      Apache 2.0