jev-reflex
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-reflex Search Google Flights for one-way Zurich to London on Sept 20 and stop when results appear."
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-reflex
Claude thinks, Jev reacts. This is an MCP server that lets Claude hand a whole browser task to TypeSafe's Jev. Jev makes each click/type/select decision in about 100 ms. Claude stays in charge of planning the task and verifying the result.
you ──▶ Claude ── browse(url, goal) ──▶ jev-reflex ──▶ Chrome (background tab)
▲ │
│ │ loop until done:
│ │ read page → Jev picks action (~100 ms) → execute
│ ▼
└──── status · steps with probabilities · final page textWhy
Browser tools for LLM agents usually work one step at a time. The model looks at the page, picks a click, waits for the result, and looks again. Every one of those steps is a full round trip to a frontier model: several seconds and thousands of tokens per click. A 15-click form costs 15 of them.
Most of those steps don't require reasoning. "Which of these 40 elements is the Where to? field?" is a choice from a list, not an open question. Psychologists call this kind of fast judgement System 1. Slow, deliberate reasoning is System 2.
Jev is a System One model. It never generates free text. It gets a state and a fixed set of options, and it returns one of those options with calibrated probabilities. That makes it fast, cheap, and unable to invent an element that is not on the page.
jev-reflex splits the work between the two models:
Claude (System 2) | Jev (System 1) | |
Role | decides what to do | decides which element, now |
Calls per task | 1 | one per step |
Output | plans, goals, judgement | a typed choice from the element table |
Latency | seconds | ~100 ms (TypeSafe's figure) |
The browser loop comes from browser-use/jev-ultrafast. This project exposes it as an MCP tool. It also adds what an orchestrating LLM needs: a result it can verify, loop detection, a hard time limit, and a handoff when Jev gets stuck.
Related MCP server: strawmanus
How a run works
Claude calls
browsewith a URL, a goal that says when to stop, and the exact strings to type:goal="Find one-way flights from Zurich to London on 20 September 2026 for one adult. Stop when flight options are visible.",values=["Zurich", "London", "20 September 2026"].jev-reflex opens a background tab in your Chrome and reads the page in a single call. The result is a numbered table of every visible control:
[1] button Change ticket type · Round trip [2] combobox Where from? · San Francisco [3] combobox Where to? · emptyJev picks an operation and a target in one request:
CLICK [1],TYPE_TEXT [3],SELECT,SCROLL,WAIT,DONEorBLOCKED. Every choice comes with a probability.Claude supplies the text and Jev decides where it goes. For
TYPE_TEXT, Jev picks which of thevaluesbelongs in the selected field ("London" goes in Where to?). That is one more ~100 ms choice, with no text model and no generated text. If no value fits, the run stops and Claude takes over. If you leavevaluesout, a small text model you configure infers the value from the goal instead.The action is executed safely. Before input, the target is rechecked against the live page: it must still exist, be visible, and not be covered by another element. If the page changed, the decision is discarded and the loop observes again.
The loop repeats until Jev says
DONEorBLOCKED, the same page comes back a third time (looping), ormax_secondsruns out.Claude gets the result back. It contains the status, every step with its probability, and the final page text. If the run did not finish, it also contains the element table, so Claude can take over from where Jev stopped.
Measured
Task | Result | Time |
example.com → "Click 'Learn more'. Stop when the IANA example-domains page is open." |
| 1.96 s |
Wikipedia search for Gödel's incompleteness theorems, with |
| 3.39 s |
Google Flights, one-way ZRH→LON on 20 Sep 2026 for 1 adult, with |
| 13.0 s |
Google Flights ZRH→LON search (upstream demo, their measurements) | done | 7.1 s |
The first three rows were measured through this MCP server, end to end, on Windows 11 with a real Chrome. The last row is jev-ultrafast's own published figure. A handful of runs is not a benchmark. Run your own tasks before relying on it.
When to use it
Good fit: tasks inside one site with a clear finish line, for example searches, filters, form filling, navigating to a known page, or reaching a results view. Also any flow where Claude would otherwise spend a dozen tool calls on clicks.
Poor fit: open-ended research across many sites, tasks where reading and judging the content is the actual work (Claude should do that part), and anything that involves iframes, shadow DOM, canvas, file uploads or pop-up windows, which the upstream loop does not support.
Install
Requirements
Python 3.12+ and uv
Google Chrome with remote debugging enabled. Open
chrome://inspect/#remote-debuggingand turn it on, or runuvx browser-harness --doctorand follow its promptsA TypeSafe API key. Jev is in early access
Optional: an OpenAI-compatible text model key. You only need it if you want field values inferred from the goal instead of passed in
values
Claude Code
claude mcp add jev --scope user -e TYPESAFE_API_KEY=your-typesafe-key \
-- uvx --from git+https://github.com/MSalvalaggio/jev-reflex jev-reflexThat is all you need: Claude passes values, so no text model is involved. To enable the text-model fallback, also
add -e TEXT_MODEL_API_KEY=… -e TEXT_MODEL_BASE_URL=https://openrouter.ai/api/v1 -e TEXT_MODEL=inception/mercury-2.5 -e TEXT_MODEL_REASONING=none.
Start a new session, then ask something like "use jev to find one-way flights from Zurich to London on 20 September".
Claude Desktop and other MCP clients
{
"mcpServers": {
"jev": {
"command": "uvx",
"args": ["--from", "git+https://github.com/MSalvalaggio/jev-reflex", "jev-reflex"],
"env": { "TYPESAFE_API_KEY": "your-typesafe-key" }
}
}
}Configuration
Variable | Default | Notes |
| — | Required |
|
| |
| — | Optional fallback, used only when a goal types text and |
|
| Any OpenAI-compatible |
|
| |
| — | Set to |
How Claude decides to use it
Claude chooses tools on its own. The server gives it two signals:
Server instructions. Claude Code adds these to the system prompt. They tell Claude to use
browsebefore step-by-step browser tools for any interaction with a website, list the cases where it should not (reading a known URL, debugging a local dev server, visual checks, logins, payments), and describe what to do with each status, including falling back to another browser tool from the returnedurl.The tool description, which is what Claude sees when it searches for a tool to load.
If you have other browser tools installed and want to make the preference explicit, drop a rule into
~/.claude/rules/jev.md:
Use the jev MCP tool `browse` for any task that needs interacting with a live website (searching on a site,
forms, filters, dates, dropdowns, reaching a page through menus). Prefer it over step-by-step browser tools; if it
is deferred, load it with ToolSearch (`select:mcp__jev__browse`). Always give `goal` a stop condition and pass
every string to type in `values`. Never let it submit orders, payments, messages or deletions without asking.Tool reference
browse(url, goal, values=None, max_seconds=60)
{
"status": "done",
"elapsed_ms": 1956,
"url": "https://www.iana.org/help/example-domains",
"title": "Example Domains",
"page_text": "first 4000 characters of visible text",
"steps": [
{ "action": "Learn more", "kind": "click", "text": null,
"probability": 1.0, "confidence": 0.96, "page_changed": true }
]
}Status | Meaning | What Claude should do |
| Jev reports the goal is met | Check |
| Jev found no way forward, or the page stopped changing | Read |
| The same page was reached a third time | Usually means a missing stop condition. Add one |
|
| Split the goal into smaller ones |
| Model or provider failure, step budget reached, or no entry in | Read |
Every status except done includes elements, the indexed controls of the final page.
Writing good goals
Pass every string to type in
values, exactly as it should appear. Jev only decides which one goes in which field, so nothing can be typed that you didn't supply.State a stop condition. Without "stop when …", Jev keeps browsing until the run hits
looping.Keep one goal per site. For multi-site work, let Claude chain several
browsecalls.
Safety
It runs in your real Chrome profile, including your logged-in sessions. Only give it goals you would click through yourself. Turn remote debugging off when you are done: while it is on, any local program can control Chrome.
Model output never becomes code. Every action targets an element that was observed on the page and rechecked just before input. Nothing the models return is used as a selector, a coordinate or JavaScript.
Runs are bounded: by
max_seconds, by the 60-action budget of jev-ultrafast, and by loop detection.Jev can click any control on the page, including submit and buy buttons. Nothing restricts it to "safe" actions. Keep goals explicit about where to stop, and don't delegate anything you wouldn't want done unattended.
Development
uv sync
uv run pytest # offline, no API calls
uv run ruff check . && uv run ruff format --check .
uv run python scripts/smoke.py # live: a few paid Jev calls; needs TYPESAFE_API_KEY and ChromeThe whole server is one file of about 90 lines. The browser loop lives upstream and is pinned to a specific commit.
Credits
browser-use/jev-ultrafast (MIT): the browser loop, DOM snapshot and safe executor
TypeSafe: the Jev model
Browser Harness: the Chrome connection
This is an independent project. It is not affiliated with Browser Use, TypeSafe or Anthropic.
License
MIT
Available Tools
23 toolsbrowser_cdpB
Call a raw Chrome DevTools Protocol method. params are passed as kwargs.
Inputs: method (required), params.
browser_clickB
Click at screen coordinates (x, y). button is 'left'/'right'/'middle'.
Inputs: x (required), y (required), button, clicks.
browser_close_tabA
Close a tab. Without target, closes the active tab.
Inputs: target.
browser_current_tabA
Return the active tab's targetId, url and title.
Inputs: no named parameters.
browser_ensure_real_tabA
Switch to a real (non-internal) tab if the current one is chrome:// or stale.
Inputs: no named parameters.
browser_fillC
Fill an input matched by selector with text.
Inputs: text (required), selector (required), clear_first.
browser_gotoB
Navigate the current tab to url. Returns the navigation result.
Inputs: url (required).
browser_http_getA
HTTP GET url (browser-less). Returns the response body. Optional
headers dict for authentication or custom request headers.
Inputs: url (required), headers, timeout.
browser_jsA
Evaluate a JavaScript expression in the current tab (or an iframe target_id).
Inputs: expression (required), target_id.
browser_list_tabsA
List open page tabs.
Inputs: no named parameters.
browser_new_tabB
Open a new browser tab. Returns the new tab's targetId.
Inputs: url.
browser_page_infoA
Return current tab metadata: url, title, viewport and scroll sizes.
Inputs: no named parameters.
browser_pressC
Press a key. modifiers is a bitfield: 1=Alt, 2=Ctrl, 4=Meta, 8=Shift.
Inputs: key (required), modifiers.
browser_screenshotA
Capture a PNG screenshot. If path is omitted, a temp file is used.
Set max_dim to downscale results larger than that dimension.
Inputs: full, path, max_dim.
browser_scrollA
Scroll the wheel at (x, y) by dy vertical / dx horizontal pixels.
Inputs: x (required), y (required), dx, dy.
browser_start_recordingC
Start recording actions to a local directory.
Inputs: name, title.
browser_stop_recordingA
Stop the active recording and return its directory.
Inputs: no named parameters.
browser_switch_tabC
Switch to tab by targetId or URL substring. Returns the sessionId.
Inputs: target (required).
browser_typeC
Insert text into the focused element.
Inputs: text (required).
browser_upload_fileC
Set files on a file input matched by selector. path is the local file.
Inputs: path (required), selector (required).
browser_waitB
Wait for seconds.
Inputs: seconds.
browser_wait_for_elementA
Wait for an element matching selector to appear. Set visible=True to
also require it to be rendered.
Inputs: selector (required), timeout, visible.
browser_wait_for_loadC
Wait until the current tab's readyState is 'complete'.
Inputs: timeout.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 23 tools
Most tools map cleanly to distinct browser actions, but browser_current_tab and browser_page_info overlap on basic tab metadata, and browser_type vs browser_fill both handle text input. The descriptions help disambiguate, but an agent could plausibly misselect between these pairs.
All tools share the browser_ prefix and snake_case style, and the majority follow a clear verb_noun pattern (goto, click, close_tab, new_tab). However, a few names deviate with noun phrases or added prepositions like current_tab, page_info, ensure_real_tab, and wait_for_load, making the pattern mostly but not fully consistent.
At 23 tools, this is on the heavier side, but each tool serves a distinct browser automation capability—navigation, tabs, wait conditions, input, JS/CDP, upload, and recording. The count is justified for a browser control surface, though it slightly exceeds the typical well-scoped range.
The tool set covers most standard browser automation needs: navigation, tab management, interaction, waiting, screenshots, JS evaluation, raw CDP, file upload, and session recording. Minor gaps like explicit back/forward/reload, hover, or direct text extraction exist, but these are workable via browser_js or browser_cdp.
Related MCP Connectors
Autonomous cloud agent tasks: real browser + your tools, structured evidence-backed results.
Cloud browsers for AI agents: get past bot detection, sign in with MFA, run web tasks at scale.
Connect your agents to any website. The cheaper, faster and more reliable alternative to browser use
Cloud browsers for AI agents: saved logins, residential IPs, live human takeover, 57 browser tools.
Related MCP Servers
- AlicenseBqualityDmaintenanceA browser automation agent that enables Claude to interact with web browsers through the Model Context Protocol, allowing for actions like navigating websites, manipulating elements, and managing browser state.29MIT
- FlicenseNot gradedqualityCmaintenanceEnables Claude to directly control a persistent, real logged-in Chrome browser via 17 browser tools and 9 trading tools, with natural-language selectors, self-healing element resolution, and risk-limited trading operations.-
- AlicenseAqualityCmaintenanceEnables AI agents to delegate complex web browsing goals to a real Chrome instance driven by Jev, completing tasks end-to-end in ~300ms per decision and returning only the final result.1111 npm4MIT
- AlicenseNot gradedqualityBmaintenanceEnables Claude Code and Claude Desktop to control your own Chrome browser, with Jev deciding each click, keystroke, and scroll.5MIT