open-jev
Adds Open-Jev context to Hermes prompts via a pre_llm_call plugin, supplying calibrated probabilities derived from planner-generated questions.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@open-jev What are the calibrated probabilities on this plan? Run a Jev analysis before responding."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
open-jev-mcp
Every prompt you send to Claude Code or Hermes goes through this pipeline:
prompt ──► local LLM planner (Ollama, JSON-schema output) ──► 2-5 typed questions (noul/choice/score)
──► local Open-Jev server (/v1/systemone) ──► calibrated probabilities
──► injected as context ──► the main agent decides what to do with itThe pipeline fails open: if Ollama or Jev is down or slow, the prompt goes through unchanged.
Failures are logged to ~/.cache/openjev-mcp/errors.log. Each successful run is logged to
~/.cache/openjev-mcp/runs.jsonl with the questions, answers and latencies.
Prompts are sent only to the two localhost services above; nothing leaves your machine. The logs stay local
in ~/.cache/openjev-mcp and are git-ignored.
Install
Requires Python 3.10+, uv, Ollama and an NVIDIA GPU
(about 10 GB of VRAM is enough for Open-Jev-2B plus qwen3.5:4b). Below, <repo> is where you clone this project.
This project and the planner model:
git clone https://github.com/yogeshvar/open-jev-mcp <repo> && cd <repo> && uv sync ollama pull qwen3.5:4bOpen-Jev with the published 2B checkpoint (the default location is
~/Projects/Open-Jev):git clone https://github.com/Zefan-Cai/Open-Jev ~/Projects/Open-Jev && cd ~/Projects/Open-Jev uv venv --python 3.12 .venv && uv pip install --python .venv/bin/python -e '.[train]' huggingface_hub .venv/bin/hf download ZefanCai/Open-Jev-2B --revision 0c7aa498b1627be8da4acf34c863ff0ee0a92785 --local-dir models/Open-Jev-2BThe server command:
ln -s <repo>/bin/jev-server ~/.local/bin/jev-server && jev-server startClaude Code: register the MCP server and add the prompt hook to
~/.claude/settings.json:claude mcp add --scope user open-jev -- uv run --quiet --project <repo> openjev-mcp{ "hooks": { "UserPromptSubmit": [ { "hooks": [ { "type": "command", "command": "python3 <repo>/hooks/claude_prompt_hook.py", "timeout": 20 } ] } ] } }Hermes: link the plugin, then enable the plugin and the MCP server in
~/.hermes/config.yaml:ln -s <repo>/hermes_plugin/open-jev ~/.hermes/plugins/open-jevplugins: enabled: - open-jev mcp_servers: open-jev: command: uv args: [run, --quiet, --project, <repo>, openjev-mcp] enabled: true
Related MCP server: local-coder-mcp
Pieces
Path | What it does |
| Ollama writes question designs for the prompt. Test it with |
| Applies Open-Jev's |
|
|
| General questions used when the planner fails but Jev is up |
| MCP tools: |
| Claude Code |
| Hermes |
Run the services
ollama pull qwen3.5:4b
jev-server start # background Open-Jev server; waits until /health is ready
jev-server status # Jev + Ollama readiness (exit 0 only when Jev is ready)
jev-server stop # also stops a server started by hand on the same port
jev-server restart
jev-server logs [n] # follow ~/.cache/openjev-mcp/jev-server.logbin/jev-server is symlinked into ~/.local/bin. Override with JEV_HOME (default ~/Projects/Open-Jev),
JEV_CHECKPOINT, JEV_DEVICE, JEV_PORT and JEV_START_TIMEOUT.
Config (env vars)
OPENJEV_URL (default http://127.0.0.1:8791/v1/systemone), OPENJEV_LLM_URL (http://127.0.0.1:11434),
OPENJEV_LLM_MODEL (qwen3.5:4b), OPENJEV_PLAN_TIMEOUT (10 s), OPENJEV_JEV_TIMEOUT (5 s),
OPENJEV_MAX_CHARS (6000), OPENJEV_MAX_QUESTIONS (5), OPENJEV_MAX_CANDIDATES (24),
OPENJEV_FALLBACK (static or none), OPENJEV_DISABLE=1 (turns the pipeline off).
Tests
OPENJEV_SOURCE=/path/to/Open-Jev python3 -m unittest discover -s tests -vAvailable Tools
4 toolsjev_analyzeB
Run the full pipeline (LLM planner -> local Jev) on any text; returns questions, answers and a summary.
Inputs: prompt (required). Returns: result
jev_askC
Ask the local Open-Jev server typed questions about a state.
questions maps question_id -> {"type": "noul"|"choice"|"score", "instructions": str, "criteria": ...}. choice criteria: {label: description, ...}; score criteria: ordered list of level descriptions (2-10, lowest first); noul: no criteria (or {"true": ..., "false": ...}).
Inputs: state (required), questions (required). Returns: result
jev_healthA
Report whether the local Open-Jev server and the Ollama planner model are available.
Inputs: no named parameters. Returns: result
jev_planA
Generate (but do not run) the Jev probe the local LLM planner would write for this prompt.
Inputs: prompt (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Most tools are clearly distinct: health checks availability, plan generates a probe, and analyze runs the full pipeline. The slight overlap is between ask and analyze, since both involve asking the Open-Jev server questions, but ask is a direct query about a state while analyze runs the complete planner-to-Jev flow.
All tool names follow the same jev_<verb> pattern with clear verbs: ask, plan, analyze, and health. This makes the toolset highly predictable and easy for an agent to navigate.
Four tools is well-scoped for this focused server. Each tool covers a meaningful operation without redundancy or unnecessary surface area.
The core workflows are covered: checking health, inspecting a generated plan, asking direct questions, and running the full analysis pipeline. A minor gap is that there is no explicit tool to run a previously generated probe exactly, though analyze effectively covers the end-to-end use case.
Maintenance
Related MCP Connectors
Source-checked CLI guides and model-aware planning for Claude Code, Codex, and Grok Build.
Source-backed prompting and coding-agent guidance with provenance and freshness checks.
Research-backed lint + generation for agent context files (CLAUDE.md, AGENTS.md) + prompt enhancer.
Shared long-term memory & Stop-hook task handoff across Claude Code, Codex, Cursor, and mobile.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceProvides Claude Code with local-first multimodal semantic search across documents, code, images, and video, plus multi-engine web research with active counter-evidence hunting and source-verified, extract-only briefings.4AGPL 3.0
- AlicenseBqualityFmaintenanceBridges Claude with a local Ollama coding model, letting Claude delegate bounded implementation tasks to the local model while retaining reasoning, review, and safety enforcement.12MIT
- FlicenseNot gradedqualityBmaintenanceEnables OpenCode to route simple, medium, and complex requests through planner-critic-solver logic, with local token-saving cache and compression, and optional delegation of heavy math or science tasks to a GPU-backed service.-
- AlicenseAqualityCmaintenanceEnables frontier coding agents to delegate routine probabilistic judgments to TypeSafe Jev, providing calibrated triage signals for failures, attempts, completion, context ranking, findings, risk, and generic evidence-grounded questions.7MIT