# PyScrappy [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/mldsveda/PyScrappy  
**GitHub Stars:** 265  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/pyscrappy

## Description
Web-scraping toolkit with 22 tools for structured web data as JSON for AI agents.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "pyscrappy": {
    "command": "uvx",
    "args": ["pyscrappy"]
  }
}
```

## Documentation

## What the PyScrappy MCP server does

The PyScrappy MCP server exposes PyScrappy's web-scraping library as callable tools for AI agents. Its generic scraper accepts a URL and can return extracted text, links, images, tables, and page metadata. Site-specific tools cover sources and use cases including Wikipedia, Yahoo Finance stock data, RSS and Atom news, GitHub, Hacker News, YouTube, books, weather, cryptocurrency, currency, dictionaries, image search, jobs, Amazon, Newegg, IKEA, SoundCloud, IMDB, Zomato, and Uber Eats.

The package also includes a local chat mode for Ollama models. That mode lets a tool-calling model use the same scraper set without an MCP host, although it is separate from the MCP transport itself.

## How it works

An MCP client sends a tool call to the local PyScrappy process. PyScrappy fetches the target site, applies the selected scraper, and returns structured data that the agent can use. The server exposes more than 20 tools, including `scrape_url`, `scrape_wikipedia`, `scrape_stock`, `scrape_news`, and `search_github`. The live tool inventory can be requested with `list_available_scrapers`.

The default transport is stdio, which suits local desktop and coding clients. Streamable HTTP is available with `--http`, while legacy SSE can be selected with `--sse`. The underlying library also supports JavaScript rendering through Playwright, CSS selectors, concurrent scraping, sitemap crawling, retries, per-domain rate limits, proxies, external scraping APIs, and optional TLS-fingerprint impersonation.

## Setup and configuration

Install the MCP dependencies with:

```sh
pip install 'pyscrappy[mcp]'
```

The MCP extra requires Python 3.10 or newer and installs the standalone `fastmcp` dependency. Start the local server with:

```sh
pyscrappy-mcp
```

The same stdio server can be launched with `python -m pyscrappy.mcp`. For remote transports, use `pyscrappy-mcp --http` or `pyscrappy-mcp --sse`.

Claude Code can register the command with `claude mcp add pyscrappy pyscrappy-mcp`. Claude Desktop can launch `pyscrappy-mcp` from its MCP configuration. If the desktop application cannot find the command, configure its absolute path because it may not inherit the shell's `PATH`.

## Tools and capabilities

The PyScrappy MCP server includes tools for general extraction and for supported websites and data categories. Results are intended for model use and can be represented by the library as Markdown or JSON; the core package also supports DataFrame output.

Useful capabilities include:

- Extracting page content and metadata from arbitrary URLs.
- Looking up stocks, news, GitHub content, movies, products, media, jobs, and reference data.
- Scraping multiple URLs concurrently or crawling a site's sitemap.
- Handling JavaScript-rendered pages when the browser extra is installed.
- Passing custom CSS selectors for targeted extraction.

## Limitations and notes

The MCP server is unavailable on Python 3.9 even though the core scraping library supports Python 3.9. Some sites may require a proxy or a scraping API, and Instagram, Twitter, and Spotify are described as blocked unless a proxy is used. The `lookup_movie` tool requires a free OMDb API key supplied as `OMDB_API_KEY` in the MCP client's environment configuration. Tool selection in the Ollama chat mode depends on whether the selected model supports tool calling and how well it chooses among the available scrapers.

_Full upstream README: https://allmcps.com/mcp/pyscrappy/readme_

