What does Browser JavaScript Evaluator do?
It allows you to execute JavaScript code in a browser from Python via MCP. A web server sends code to a connected browser using SSE, and the browser returns results.
@matdmiller
Basic information
This is a reference design for a MCP server that hosts a web page that connects back to the server via sse and allows Claude to execute javascript on the page.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp_py_sse_browser_control": {
"command": "python",
"args": [
"web_server.py"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Browser JavaScript Evaluator is an MCP (Model Control Protocol) server that lets you execute arbitrary JavaScript code in a browser from Python. It uses a web server with SSE (Server-Sent Events) and a REST API to relay code to a connected browser and return results.
Add the server to your Claude Desktop configuration using uv pointing to the repository directory and the browser_server.py script. After launching Claude, open a browser to http://127.0.0.1:8000 to connect. The server provides two tools: execute_javascript (run any JavaScript) and add_numbers (add two numbers via browser execution).
It allows you to execute JavaScript code in a browser from Python via MCP. A web server sends code to a connected browser using SSE, and the browser returns results.
Add the server to your Claude config with the `uv` command pointing to the repository, then launch Claude. Open a browser at http://127.0.0.1:8000 to connect. Alternatively, run `python web_server.py` to start only the web server.
Two tools: `execute_javascript` (runs any JavaScript) and `add_numbers` (adds two numbers using JavaScript).
Yes. The server can execute arbitrary JavaScript in your browser, which is potentially dangerous. Use at your own risk and be aware of the implications.
The server runs with Python and uses the `uv` package manager. A browser must be open and connected to the web server (default at port 8000) for code execution to work.
MCP server paired with a browser extension that enables AI agents to control the user's browser.

Model Context Protocol Servers
This MCP server provides browser automation capabilities through Puppeteer, allowing interaction with both new browser instances and existing Chrome windows.
Playwright MCP server

Parse allows your agent to access thousands of APIs instantly. You can use Parse to build an API for any action on any website and edit any previously existing API in our catalogue.
Comments