Browser MCP Server
Queries the arXiv API for academic papers, letting agents search for and retrieve research paper results through the web_search tool's papers source.
Provides web search via Brave Search — using the official Brave Search API when an API key is configured, otherwise the free headless Brave SERP — returning search results to the agent as part of a chained web_search tool.
Provides web search through headless Google as a fallback in the web_search chain, allowing agents to retrieve search results when Brave is unavailable (subject to Google's rate limiting/CAPTCHA).
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Browser MCP Server
A Playwright-powered MCP (Model Context Protocol) server that gives AI agents a real headless browser — web search, page reading, clicks, form filling and screenshots — over MCP (stdio by default).
Ships with an agent-ready skill (skills/browser-mcp/SKILL.md) so agents know when and how to use it.
Install (one command)
./scripts/setup.shThis creates .venv, installs the package + Chromium, installs the skill into any detected agent skills directory (OpenCode, Claude Code), and prints ready-to-paste MCP config snippets for your agent.
Prefer to do it by hand?
python3 -m venv .venv
source .venv/bin/activate
pip install -e .
playwright install chromium # one-time; cache at ~/.cache/ms-playwrightRelated MCP server: agent-browser
Add it to your agent
After install, the browser-mcp binary is at <project>/.venv/bin/browser-mcp.
Or skip a venv entirely: pipx install . puts browser-mcp on your PATH.
Agent | Command / config |
OpenCode | Add to |
Claude Code |
|
Claude Desktop |
|
Cursor / VS Code |
|
Any MCP client | Point it at the |
You can also install directly from GitHub: pip install git+https://github.com/amansahani/browser-mcp.git (repo is public).
Add the skill
The skill tells agents when to load the browser tools and how to use them well.
# automatic (if the agent dir exists) — what scripts/setup.sh does:
mkdir -p ~/.config/opencode/skills/browser-mcp && cp skills/browser-mcp/SKILL.md ~/.config/opencode/skills/browser-mcp/
mkdir -p ~/.claude/skills/browser-mcp && cp skills/browser-mcp/SKILL.md ~/.claude/skills/browser-mcp/Or copy skills/browser-mcp/ into whatever skills directory your agent uses — it's a plain Markdown file with frontmatter (name, description).
Tools
Tool | Description |
| Search: Brave (API if key set in |
| Open a URL, page content as Markdown (~15k chars) |
| Click a CSS selector |
| Type into a form field by CSS selector |
| Viewport PNG as base64 |
| All visible text on the current page |
| Accessibility tree (token-efficient structured view) |
| Arbitrary JavaScript in page context |
| History back |
| Current URL + title |
Why no Google/Bing/DDG scrape? Many networks' egress is bot-flagged — Bing serves spam/ads and DuckDuckGo returns HTTP 202 + CAPTCHA there (IP-reputation based, independent of UA).
web_searchchains Brave Search first — via the official API when~/.browser-mcp/brave_api_key(or$BRAVE_API_KEY, mode 600) exists, otherwise via the free headless SERP (one "Verify" click per browser session, done by the page's own JS) — then Google headless (intermittent; trips "unusual traffic" if hit repeatedly), then Marginalia (independent index), plus arXiv's API and OpenAlex for academic papers (no keys). Don't run search in a tight loop.
Architecture
Transport: stdio (default) or
--transport sse/--transport streamable-http(see--help)Browser: headless Chromium via Playwright; one shared browser + page across all tool calls
Content format: HTML → Markdown for agents; pages truncate at ~15k chars
Development
pip install -e .
python test_server.py # smoke test — lists registered tools
python server.py --help # CLI: --transport stdio|sse|streamable-http [--host H] [--port N]License
MIT — see LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Web scraping, browser automation, screenshots and AI data extraction for AI agents via MCP.
Control a real browser from AI agents: navigate, click, type, screenshot, read the page.
Stealth web browser for agents: search, fetch, click, download and type in persistent MCP sessions.
Official Browserless MCP server: browser automation, scraping, screenshots and PDFs for AI agents.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceHeadless browser automation for LLM agents via REST API or MCP tools. Enables navigating pages, reading structured content, clicking elements, filling forms, and executing JavaScript.-
- AlicenseNot gradedqualityCmaintenanceProvides a headless Chromium browser through MCP, enabling AI agents to browse JavaScript-rendered pages, search the web, capture screenshots, extract tables and data, and run stateful multi-step interactions like clicking, typing, and form submission.2,439,036 npm1MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to control a real browser via MCP tools for web navigation, interaction, page inspection, tabs, forms, files, sessions, and browser automation.MIT
- AlicenseBqualityCmaintenanceEnables an LLM to control a hosted headless Chromium browser over HTTP, navigating pages, clicking, typing, and reading structured accessibility snapshots so any MCP client can perform browser automation without local installation.2310,489,594 npmApache 2.0