mcp-server-subito-scraper

mcp-server-subito-scraper

Enables searching and scraping Subito.it classified ads via Apify, with support for categories, regions, price filters, and direct URL scraping.

Category
Visit Server

README

Oli II Hands Searcher MCP Server

License: MIT Node.js Model Context Protocol

Monorepo TypeScript basato su NPM Workspaces per lo sviluppo, test e deployment di molteplici server MCP (Model Context Protocol).


๐Ÿ“ Struttura del Repository

oli-II-Hands-searcher-mcp-server/
โ”œโ”€โ”€ package.json                 # Configurazione root e script globali (NPM Workspaces)
โ”œโ”€โ”€ tsconfig.base.json           # Configurazione TypeScript condivisa
โ”œโ”€โ”€ mcp_config.json              # Configurazione client MCP con tutti i server registrati
โ”œโ”€โ”€ .gitignore
โ”œโ”€โ”€ README.md                    # Questo file
โ”‚
โ””โ”€โ”€ packages/                    # Directory contenente i singoli server MCP
    โ”œโ”€โ”€ shared-mcp-utils/        # Utility condivise, prompt e regole hardware
    โ”œโ”€โ”€ subito-scraper/          # Server MCP per scraping Subito.it (via Apify)
    โ””โ”€โ”€ vinted-scraper/          # Server MCP per scraping Vinted (via Apify)

๐Ÿ“ฆ Server MCP Disponibili

Server Directory Descrizione
mcp-server-subito-scraper packages/subito-scraper Ricerca e scraping di annunci su Subito.it tramite Apify Actor.
mcp-server-vinted-scraper packages/vinted-scraper Ricerca e scraping di annunci su Vinted (Italia ed Europa) tramite Apify Actor.
shared-mcp-utils packages/shared-mcp-utils Prompting specializzato e moduli di regole per la validazione hardware.

๐Ÿš€ Guida Rapida

1. Installazione Dipendenze

Installa le dipendenze per tutti i workspace con un unico comando:

npm install

2. Compilazione

Compila tutti i server MCP nel monorepo:

npm run build

Per compilare solo un server specifico:

npm run build:subito
# oppure:
npm run build -w mcp-server-subito-scraper

3. Test

Esegui i test su tutti i server:

npm test

Esegui i test per un server specifico:

npm run test:subito
# Test di integrazione MCP con connessione Stdio:
npm run test:mcp -w mcp-server-subito-scraper

โž• Come Aggiungere un Nuovo Server MCP

Aggiungere un nuovo server MCP al monorepo รจ semplicissimo:

  1. Crea la cartella del nuovo server:

    mkdir -p packages/mio-nuovo-server/src packages/mio-nuovo-server/test
    
  2. Crea il package.json in packages/mio-nuovo-server/package.json:

    {
      "name": "mcp-server-mio-nuovo-server",
      "version": "1.0.0",
      "type": "module",
      "main": "dist/index.js",
      "types": "dist/index.d.ts",
      "bin": {
        "mcp-server-mio-nuovo-server": "./dist/index.js"
      },
      "scripts": {
        "build": "tsc && chmod +x dist/index.js",
        "watch": "tsc --watch",
        "test": "tsx test/index.test.ts",
        "dev": "tsx src/index.ts",
        "start": "node dist/index.js"
      },
      "dependencies": {
        "@modelcontextprotocol/sdk": "^1.12.0",
        "dotenv": "^16.4.7",
        "zod": "^3.24.2"
      }
    }
    
  3. Crea il tsconfig.json in packages/mio-nuovo-server/tsconfig.json:

    {
      "extends": "../../tsconfig.base.json",
      "compilerOptions": {
        "outDir": "./dist",
        "rootDir": "./src"
      },
      "include": ["src/**/*"],
      "exclude": ["node_modules", "dist"]
    }
    
  4. Installa e Compila:

    npm install
    npm run build
    
  5. Aggiungi la configurazione in mcp_config.json.


๐Ÿ› ๏ธ Configurazione Client MCP (Claude Desktop / Antigravity / Cursor)

Usa la configurazione aggregata mcp_config.json per registrare i server nei tuoi client:

{
  "mcpServers": {
    "subito-scraper": {
      "command": "node",
      "args": [
        "/Users/olindo/prj/oli-II-Hands-searcher-mcp-server/packages/subito-scraper/dist/index.js"
      ],
      "env": {
        "APIFY_TOKEN": "il_tuo_token_apify",
        "HARDWARE_RULES_DIR": "/Users/olindo/prj/oli-II-Hands-searcher-mcp-server/packages/shared-mcp-utils/dist/rules"
      }
    },
    "vinted-scraper": {
      "command": "node",
      "args": [
        "/Users/olindo/prj/oli-II-Hands-searcher-mcp-server/packages/vinted-scraper/dist/index.js"
      ],
      "env": {
        "APIFY_TOKEN": "il_tuo_token_apify",
        "HARDWARE_RULES_DIR": "/Users/olindo/prj/oli-II-Hands-searcher-mcp-server/packages/shared-mcp-utils/dist/rules"
      }
    }
  }
}

๐Ÿ“„ Licenza

MIT ยฉ Olindo

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured