Mantis
Browser MCP server that gives agents numbered text pages instead of screenshots
- Pricing
- Open source
- Platforms
- CLI, Linux, macOS
- Runs
- Locally
- Version
- 0.1.14
- Listing updated
- 3 days ago
About Mantis
Mantis is an open-source MCP server for browser automation. It runs locally on your machine and is started by your AI client.
Mantis is a lean browser interface built on Playwright that presents web pages to AI agents as short, numbered text rather than screenshots or full accessibility trees. It runs as an MCP server for Claude Code, Codex, Cursor or a custom agent.
The project reports benchmark comparisons against an accessibility-tree approach on public sites, with fewer input tokens, fewer tool calls and less time in its tests. It can also attach to your own Chrome profile, and an ask_human tool handles login and bot walls where a display is available.
It suits developers building agents that read, navigate and fill forms on websites. The project labels itself a small v0.1.x beta.
Install
Run in a terminal
claude mcp add mantis -- npx -y mantis-browserAdd to claude_desktop_config.json
{
"mcpServers": {
"mantis": {
"command": "npx",
"args": [
"-y",
"mantis-browser"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mantis": {
"command": "npx",
"args": [
"-y",
"mantis-browser"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"mantis": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mantis-browser"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mantis": {
"command": "npx",
"args": [
"-y",
"mantis-browser"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mantis": {
"command": "npx",
"args": [
"-y",
"mantis-browser"
]
}
}
}Tools this server provides (1)
Taken from the project documentation; the running server may differ.
- ask_human
- Hands a login or bot wall to a person.
What it does
- Numbered text view
- Pages are described as short numbered text that agents can act on.
- Playwright based
- Built as a lean interface over Playwright.
- Use your Chrome
- Can attach to a dedicated Chrome profile with your sign-ins.
- Human handoff
- The ask_human tool covers logins and bot walls.
- Quick install
- Installs with an npx command and a claude mcp add line.
- Published benchmarks
- Results versus accessibility tree and screenshot approaches are documented.
Good for
- Let an agent read and summarise web pages
- Fill web forms through an agent
- Reduce token use in browsing agents
- Work in signed-in tabs of your own Chrome
- Try page reading from the command line
Pricing
Open source
Free, MIT license
Mantis FAQ
Which agents work with it?
Claude Code, Codex, Cursor or your own agent as an MCP server.
What are its limits?
No canvas input, and login or bot walls need ask_human, which needs a display.
What is the license?
MIT.
Is it production ready?
The project calls itself a small v0.1.x beta.
Is Mantis free?
Yes. Mantis is open source, so you can use and self-host it for free.
How do I add Mantis to Claude Code?
Run this command in your terminal: claude mcp add mantis -- npx -y mantis-browser
What are the best alternatives to Mantis?
The closest alternatives to Mantis are Browser Use, Scrapling MCP Server, Oya Browser, Auto-building agents and pour.
Alternatives to Mantis

Browser Use
MCP serverBrowser agents and cloud browsers for AI, with an MCP server for web tasks
- 7 tools
- Remote
- Freemium
- 121K GitHub stars
- Browser automation

Scrapling MCP Server
MCP serverMCP server for AI clients to scrape sites with HTTP and stealth browser sessions
Runs locally- 17 tools
- Open source
- 104K GitHub stars
- Web search and scraping

Oya Browser
MCP serverHIPAA-oriented agentic browser with replayable playbooks, reachable over MCP
- 32 tools
- Remote
- Freemium
- 349 GitHub stars
- Browser automation

Auto-building agents
MCP serverBuild and continue browser and Mac automation scripts for Super through Claude
- Remote
- Paid
- Browser automation

pour
MCP serverRun WCAG 2.2 accessibility audits and vision simulations on any URL from an agent
Runs locally- Open source
- Developer tools

AgentFarm
MCP serverLets your AI agent browse as you, in a real browser on your Mac
Not checked yet- Remote
- Freemium
- Browser automation