Skip to content

Repository files navigation

@ainative/browser-mcp

AINative Browser Agent MCP Server. Gives AI agents browser automation capabilities — act on pages, extract structured data, validate content, run multi-step tasks, and enrich agent memory from the web.

Auto-detects ZeroLocal (localhost:8000) or AINative Cloud.

Install

npx @ainative/browser-mcp

Or install globally:

npm install -g @ainative/browser-mcp

Configure in Claude Code

{
  "mcpServers": {
    "browser": {
      "command": "npx",
      "args": ["@ainative/browser-mcp"],
      "env": {
        "AINATIVE_API_KEY": "ak_your_key_here"
      }
    }
  }
}

Tools

Tool Description Credits
browser_act Perform an action on a web page (click, type, navigate) 50
browser_extract Extract structured data from a page 75
browser_validate Validate content or state on a page 25
browser_task Run a multi-step automation task 200
browser_extract_to_table Extract data and store in ZeroDB table 100
browser_enrich_memory Extract content and store in agent memory 100

Authentication

Set one of the following:

# API key (recommended)
AINATIVE_API_KEY=ak_your_key_here

# OR username/password
AINATIVE_USERNAME=you@example.com
AINATIVE_PASSWORD=your_password

Get your API key from ainative.studio/dashboard.

ZeroLocal (Local-First)

The server auto-detects ZeroLocal running on localhost:8000. If ZeroLocal is running, it is used automatically — no configuration needed. Otherwise it falls back to AINative Cloud.

To run ZeroLocal:

pip install zerodb-local
zerodb serve

Examples

Extract product data:

{
  "tool": "browser_extract",
  "arguments": {
    "url": "https://example.com/products",
    "extract_goal": "Extract all product names and prices"
  }
}

Perform an action:

{
  "tool": "browser_act",
  "arguments": {
    "url": "https://example.com",
    "instruction": "Click the sign in button",
    "max_steps": 5
  }
}

Store page content in agent memory:

{
  "tool": "browser_enrich_memory",
  "arguments": {
    "url": "https://example.com/blog/post",
    "extract_goal": "Extract key facts about the product",
    "memory_type": "semantic",
    "project_id": "your-project-id"
  }
}

Links

About

AI-powered browser automation MCP server for AI agents — 6 tools: web interaction, structured extraction, validation, multi-step tasks, memory enrichment.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages