Skip to main content
Glama
KhaledDev

yet-another-web-scraper-mcp

by KhaledDev

Yet another web scraper MCP

A minimal MCP server that lets an LLM drive a real Chromium browser to scrape websites, collect structured rows, and export them to CSV.

Setup

uv sync
uv run playwright install chromium

Related MCP server: Ruishu MCP

Running

uv run main.py

This starts the MCP server over stdio. Point your MCP client (e.g. Claude Desktop / Claude Code) at uv run --directory <this folder> main.py.

No need to clone this repo. The npm package still runs the Python implementation under the hood via uv (which it will tell you how to install if it's missing), but gives a familiar one-line install/run command that works the same on Windows, macOS, and Linux:

npx -y yet-another-web-scraper-mcp

Add it to your MCP client config, e.g. Claude Desktop's claude_desktop_config.json:

{
  "mcpServers": {
    "web-scraper": {
      "command": "npx",
      "args": ["-y", "yet-another-web-scraper-mcp"]
    }
  }
}

On first run, npm install triggers a postinstall step that runs uv sync and downloads the Chromium browser for Playwright. This can take a minute the very first time.

Requires uv and Python 3.13+ to be resolvable on the machine; npm alone cannot provide the Python runtime.

Adding it to CLI coding agents

Claude Code

claude mcp add web-scraper -- npx -y yet-another-web-scraper-mcp

Codex CLI: add to ~/.codex/config.toml:

[mcp_servers.web-scraper]
command = "npx"
args = ["-y", "yet-another-web-scraper-mcp"]

Gemini CLI: add to ~/.gemini/settings.json (or a project's .gemini/settings.json):

{
  "mcpServers": {
    "web-scraper": {
      "command": "npx",
      "args": ["-y", "yet-another-web-scraper-mcp"]
    }
  }
}

Cursor: add to .cursor/mcp.json (project-level) or ~/.cursor/mcp.json (global):

{
  "mcpServers": {
    "web-scraper": {
      "command": "npx",
      "args": ["-y", "yet-another-web-scraper-mcp"]
    }
  }
}

Windsurf: same mcpServers JSON shape as Cursor above, in Windsurf's MCP config panel or ~/.codeium/windsurf/mcp_config.json.

Any other MCP-compatible client that takes a raw command/args pair (stdio transport) can point at the same npx -y yet-another-web-scraper-mcp command; the JSON snippets above are all equivalent to that one line.

Tools

  • open_browser(headless=True) / close_browser(): start/stop the browser.

  • navigate(url): go to a URL, returns cleaned page content.

  • click(selector): click a CSS-selected element (e.g. a "next page" button), returns the resulting cleaned content.

  • get_page_content(max_length): re-read the current page's HTML, with <script> and <svg> tags stripped out since they're noise for an LLM.

  • get_page_links(): list {text, href} for links on the page.

  • add_record(record): append one scraped row (dict of column -> value).

  • get_records(): review everything collected so far.

  • export_csv(filename): write the collected rows to a CSV via pandas.

Typical flow: open_browser -> navigate -> get_page_content / get_page_links -> click to page through results -> add_record per item -> export_csv when done -> close_browser.

Install Server
A
license - permissive license
A
quality
A
maintenance

Maintenance

Maintainers
Response time
0dRelease cycle
2Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    An MCP server that enables LLM applications to control web browsers via Browserbase, supporting features like web navigation, screenshots, cookie management, and persistent contexts.
    17
    5,372
    Apache 2.0
  • F
    license
    -
    quality
    A
    maintenance
    An MCP server that bridges LLMs with dynamic real-world data by leveraging Chrome DevTools Protocol to intercept and reconstruct network traffic, enabling AI agents to extract high-quality structured data from complex web environments.
    85
  • A
    license
    -
    quality
    C
    maintenance
    An MCP server that provides browser automation capabilities, enabling LLMs to control a web browser for navigation, interaction, and data extraction.
    190
    11
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    MCP server for web scraping and browser automation, enabling AI agents to extract clean, token-efficient content from web pages.
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Managed LinkedIn MCP server for AI agents: search, connect, message and enrich on accounts you own.

  • SEO MCP server: crawl your site, find AI-visibility gaps, and ship the fix from your coding agent.

  • MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/KhaledDev/yet-another-web-scraper-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server