jev-flash-router
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., "@jev-flash-router Evaluate this diff: is it safe to merge?"
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.
jev-flash-router
Zero-token-output decision router MCP server powered by TypeSafe Jev.
AI coding agents waste hundreds of reasoning tokens just deciding which file to edit, which route to pick, or whether a diff breaks tests. jev-flash-router evaluates context, code diffs, logs, or planning options and returns calibrated probabilities in ~150ms — with $0.00 output token cost.
Features
~150ms decisions — Lightning-fast evaluation via OpenRouter Decisions API
Zero output token cost —
output_tokens: 0on every callTypeSafe Jev — Powered by the cutting-edge
typesafe/jev-latestmodelMCP-native — Works seamlessly with Cursor, Windsurf, Claude Desktop, and Claude Code
Zero-config — Run via
npxor build locally from sourceThree decision formats —
noul(binary),choice(categorical),score(rubric)
Related MCP server: Jev MCP Server
Quick Start
1. Get an OpenRouter API Key
Obtain an API key from OpenRouter with access to the Jev model.
2. Client Setup
Option A: Run directly via npx (Recommended)
{
"mcpServers": {
"jev": {
"command": "npx",
"args": ["-y", "jev-flash-router"],
"env": {
"OPENROUTER_API_KEY": "sk-or-v1-YOUR-ACTUAL-API-KEY"
}
}
}
}
Option B: Run from Local Source (Cloned Repository)
{
"mcpServers": {
"jev": {
"command": "node",
"args": ["/path/to/jev-flash-router/dist/index.js"],
"env": {
"OPENROUTER_API_KEY": "sk-or-v1-YOUR-ACTUAL-API-KEY"
}
}
}
}
3. Install AI Agent Skill (Recommended)
To automatically configure your AI agent (Antigravity IDE, Cursor, Claude Code) with the Master Jev Skill so it proactively uses zero-token decisions:
npx -y jev-flash-router install-skillOption C: GUI Client Setup (Manual Field Entry)
Server name:
jevExecutable command:
node(ornpx)Arguments:
/path/to/jev-flash-router/dist/index.js(or-y\njev-flash-router)Environment:
OPENROUTER_API_KEY=sk-or-v1-YOUR-ACTUAL-API-KEY
MCP Client Configuration
Cursor
Go to Settings → Features → MCP Servers → Add New MCP Server:
{
"mcpServers": {
"jev": {
"command": "node",
"args": ["/path/to/jev-flash-router/dist/index.js"],
"env": {
"OPENROUTER_API_KEY": "sk-or-v1-YOUR-ACTUAL-API-KEY"
}
}
}
}
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"jev": {
"command": "node",
"args": ["/path/to/jev-flash-router/dist/index.js"],
"env": {
"OPENROUTER_API_KEY": "sk-or-v1-YOUR-ACTUAL-API-KEY"
}
}
}
}
Windsurf
Add to your Windsurf MCP configuration:
{
"mcpServers": {
"jev": {
"command": "node",
"args": ["/path/to/jev-flash-router/dist/index.js"],
"env": {
"OPENROUTER_API_KEY": "sk-or-v1-YOUR-ACTUAL-API-KEY"
}
}
}
}
Installation for Developers
Clone and Run Locally
git clone [https://github.com/Ravinder82/jev-flash-router.git](https://github.com/Ravinder82/jev-flash-router.git)
cd jev-flash-router
npm install
npx tsc --types node && chmod +x dist/index.js
API Reference
Tool: evaluate_decision
Evaluates context and returns calibrated probabilities.
Parameter | Type | Required | Description |
| string | Yes | Context, code diff, error log, or task description |
| string | Yes | Targeted question (e.g., "Will this change cause a breaking API error?") |
| string | Yes | Decision format: |
| object | Yes | Criteria map matching the chosen type |
Criteria Examples
noul (binary yes/no):
{
"true": "breaks existing callers",
"false": "backward compatible"
}
choice (categorical):
{
"option1": "use caching",
"option2": "recompute",
"option3": "defer"
}
score (ordered rubric):
[
"critical",
"warning",
"info"
]
Cost and Performance
Metric | Value |
Latency | ~150ms |
Output tokens | 0 |
Output cost | $0.00 |
Input cost | ~$0.042 / 1M tokens |
Model |
|
License
MIT
Available Tools
1 toolevaluate_decisionA
Zero-token-output decision engine powered by TypeSafe Jev. Evaluates context, code diffs, logs, or planning options and returns calibrated probabilities. Use this BEFORE generating long reasoning plans or multi-file edits to pick optimal paths.
Inputs: type (required), state (required), criteria (required), question (required), +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
There is only one tool, so there is no possibility of an agent confusing it with another. Its purpose is stated clearly and does not overlap with anything else in the set.
The single tool name uses a clear snake_case verb_noun format: evaluate_decision. With only one tool there is no broader naming pattern to compare against, so it cannot earn a full 5.
One tool is acceptable for a narrowly scoped decision engine, but the surface feels thin for a server named as a 'router.' It is on the borderline: useful but unlikely to cover a real workflow by itself.
The core evaluation/probability function is present and well described, but there is no follow-up mechanism to apply the decision or inspect routing outcomes. The description implies integration with planning, yet the server stops at returning probabilities.
Maintenance
Related MCP Connectors
Jev-powered decisions, web search, PDF/web to Markdown, summarize. From $0.001, no API key.
Calibrated judgments for text: yes/no probabilities, picks from your options, or scores.
Typed-question decisions from Jev: classify, moderate, route models and guard tool calls.
Deterministic contextual decision arbitration and action routing for autonomous software. Takes current state, context, or intent plus caller-supplied candidate actions, state transitions, routes, refusals, escalations, tools, or models and returns a deterministic ordered candidate field. Also provides persistent machine representations for memory, retrieval, indexing, and downstream coherence measurement.
Related MCP Servers
- AlicenseBqualityCmaintenanceEnables coding agents to obtain probabilistic decisions from Jev AI via OpenRouter for classification, scoring, and validation, with tools like jev_check, jev_classify, jev_score, and jev_evaluate.53MIT
- AlicenseAqualityCmaintenanceEnables AI assistants to perform ultra-fast, calibrated decision tasks such as boolean evaluation, category selection, scoring, and batch decisions through TypeSafe AI's Jev model.462 npm1MIT
- AlicenseAqualityCmaintenanceEnables coding or reasoning agents to request structured judgments from TypeSafe's Jev model at decision points, including choices, scores, claim verification, and code reviews, with probabilities and confidence returned as data.513 npmMIT
- AlicenseBqualityCmaintenanceEnables AI agents to obtain typed judgments from TypeSafe's Jev System One models, including yes/no probabilities, multiple-choice selections with distributions, and rubric-based scores, directly usable in code.52AGPL 3.0