mcp-server-subito-scraper
This server lets you scrape and search Subito.it classified ads via Apify, manage scraped data, and validate the Apify account.
subito_search: Search Subito.it by keyword, category, region, price range, and shipping availability; sort results and limit item count.
subito_scrape_by_url: Scrape ads directly from a given Subito.it search URL.
subito_get_dataset_items: Retrieve previously scraped results from an Apify dataset with pagination.
apify_check_status: Validate the Apify API token and check account status.
Allows searching and scraping classified ads on Vinted (Italy and Europe) via an Apify Actor, enabling retrieval of listings from the platform.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-server-subito-scraper cerca iPhone 14 in Lombardia sotto 800โฌ"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Subito.it MCP Server (via Apify)
TypeScript-based MCP (Model Context Protocol) server for searching and scraping listings from Subito.it using the Apify Actor azzouzana/subito-scraper-pro-by-search-url.
Instantly executable with npx on any MCP-compatible client (Claude Desktop, Cursor, Gemini Antigravity, Windsurf, VS Code, etc.).
๐ Key Features
๐ Run with
npx, no global install: ready to use withnpx -y mcp-server-subito-scraper.๐ฎ๐น Full support for all Subito.it categories: Motors (cars, motorcycles), Real Estate (sale/rent), Electronics/IT, Phones, Furniture, Jobs, and General Marketplace.
๐ Smart search (
subito_search): Automatically generates URLs with filters for query, category, region, min/max price, and TuttoSubito shipping (shp=true).๐ Direct URL scraping (
subito_scrape_by_url): Paste any URL with complex filters applied directly from the site.๐ฆ Dataset retrieval (
subito_get_dataset_items): View and extract results from previously created Apify datasets.๐ Flexible Token Configuration: Via environment variable (
APIFY_TOKEN), command-line parameter (--token), or directly in the prompt/tool.
Related MCP server: OLX MCP Server
๐ Getting an Apify Token
Create a free account at Apify.com.
Go to Settings > Integrations > API Tokens or console.apify.com/settings/integrations.
Copy your Personal API Token (e.g.
apify_api_...).
๐ ๏ธ Configuration in MCP Clients
1. Claude Desktop
Add the configuration to the claude_desktop_config.json file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"subito-scraper": {
"command": "npx",
"args": ["-y", "mcp-server-subito-scraper"],
"env": {
"APIFY_TOKEN": "IL_TUO_TOKEN_APIFY_QUI"
}
}
}
}Alternatively, passing the token as a CLI argument:
{
"mcpServers": {
"subito-scraper": {
"command": "npx",
"args": ["-y", "mcp-server-subito-scraper", "--token", "IL_TUO_TOKEN_APIFY_QUI"]
}
}
}2. Cursor / Windsurf
In the client's MCP settings:
{
"subito-scraper": {
"command": "npx",
"args": ["-y", "mcp-server-subito-scraper"],
"env": {
"APIFY_TOKEN": "IL_TUO_TOKEN_APIFY_QUI"
}
}
}3. Gemini Antigravity / Agentic IDE
Add the MCP configuration block in the mcpServers section:
{
"mcpServers": {
"subito-scraper": {
"command": "npx",
"args": ["-y", "mcp-server-subito-scraper"],
"env": {
"APIFY_TOKEN": "IL_TUO_TOKEN_APIFY_QUI"
}
}
}
}๐งฐ Available Tools
1. subito_search
Automatically builds the Subito URL and runs the scraper.
Parameter | Type | Description | Default |
|
| Search text (e.g. | - |
|
| Category (e.g. |
|
|
| Italian region (e.g. |
|
|
| Minimum price in Euros | - |
|
| Maximum price in Euros | - |
|
| Filter only listings with TuttoSubito shipping |
|
|
| Sorting: |
|
|
| Maximum number of listings to extract |
|
|
| Maximum execution timeout in seconds |
|
|
| Apify token (overrides the environment one) | - |
2. subito_scrape_by_url
Scrapes from a ready-made direct search URL.
Parameter | Type | Description | Default |
|
| Full Subito.it search URL | - |
|
| Maximum number of listings to extract |
|
|
| Timeout in seconds |
|
|
| Custom Apify token | - |
3. subito_get_dataset_items
Retrieves extracted data from a previously saved Apify dataset.
Parameter | Type | Description | Default |
|
| Apify dataset ID | - |
|
| Number of items to read |
|
|
| Offset for pagination |
|
|
| Apify token | - |
4. apify_check_status
Checks that the Apify token is valid and displays account information.
๐ป Local Development and Compilation
If you want to clone and modify the server locally:
# 1. Clona il repository
git clone https://github.com/pindaroli/mcp-server-subito-scraper.git
cd mcp-server-subito-scraper
# 2. Installa le dipendenze
npm install
# 3. Compila il codice TypeScript
npm run build
# 4. Esegui in modalitร test
APIFY_TOKEN=tuo_token_qui npm startOr in development mode with hot reload:
APIFY_TOKEN=tuo_token_qui npm run dev๐ Publishing to NPM and GitHub
To publish the package and make it available to everyone via npx mcp-server-subito-scraper:
# Esegui il login a npm
npm login
# Pubblica il pacchetto
npm publish --access public๐ License
This project is distributed under the MIT license. See the LICENSE file for details.
Disclaimer: This MCP server is not officially affiliated with, sponsored, or endorsed by Subito.it S.r.l. All trademarks belong to their respective owners.
Available Tools
4 toolsapify_check_statusB
Checks the status of the Apify account and validates the API token
Inputs: token.
subito_get_dataset_itemsC
Fetches scraped items from a previously generated Apify dataset ID
Inputs: datasetId (required), limit, token, offset.
subito_scrape_by_urlB
Scrapes classified ads directly from a Subito.it search URL using Apify Actor (azzouzana/subito-scraper-pro-by-search-url)
Inputs: searchUrl (required), token, maxItems, timeoutSecs.
subito_searchB
Searches Subito.it for ads by keywords, category, region, price range, and shipping, then scrapes the results via Apify
Inputs: query (required), token, region, sortBy, +6 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
TDQS
Scored across 4 tools
Each tool targets a distinct aspect: scraping by URL vs. by search parameters, checking account status, and retrieving dataset items. There is slight potential confusion between subito_scrape_by_url and subito_search, but their descriptions clarify the difference (URL vs. keyword-based).
Tool names use a consistent verb_noun pattern with a domain prefix (subito_). Names are descriptive and follow a predictable structure, though subito_search could optionally be subito_search_by_keywords for perfect parallelism with subito_scrape_by_url.
Four tools are appropriate for a focused scraping server: two scraping methods, one status check, and one data retrieval tool. Each tool has a clear purpose and no unnecessary bloat.
The tool surface covers scraping, search, status checking, and data retrieval, but lacks ability to list or manage datasets (e.g., delete old datasets). An agent scraping multiple times may accumulate datasets without cleanup, which is a notable gap.
Maintenance
Related MCP Connectors
Jobs, ads, SEO, keywords, YouTube and AliExpress data for AI agents. Runs on Apify.
Extract data from any website with thousands of scrapers, crawlers, and automations on Apify Store โก
Extract emails and phones from any website via Apify.
Aurelix web data tools (jobs, leads, e-commerce, ads, SEO) for AI agents via Apify's MCP server.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI agents to search Reddit for posts, comments, and users or monitor for high-intent leads and brand mentions. It functions by delegating scraping tasks to high-performance Apify cloud actors.280 npm7MIT
- AlicenseAqualityBmaintenanceEnables searching and retrieving details from OLX classifieds across multiple domains (Portugal, Poland, Bulgaria, Romania, Ukraine) using browser automation.268 npm29MIT
- AlicenseNot gradedqualityDmaintenanceEnables web scraping, browser automation, and dataset management through Apify's actor platform.MIT
- AlicenseAqualityDmaintenanceEnables searching, viewing details, and filtering listings on Letgo.com by using Playwright to bypass Akamai anti-bot protection.61MIT