npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

mcp-server-subito

v1.0.1

Published

MCP server for searching and browsing listings on subito.it. For testing and educational purposes only. Use responsibly and in compliance with subito.it Terms of Service.

Readme

mcp-server-subito

npm version npm downloads License: AGPL v3 Node.js

An MCP (Model Context Protocol) server for searching and browsing listings on subito.it, Italy's largest classified ads marketplace.

For testing and educational purposes only. See Legal and Ethical Considerations before use.

Features

  • Search listings with filters (keywords, category, region, price, seller type)
  • Retrieve full listing details (description, images, advertiser info, structured features)
  • Compare multiple listings side by side
  • Find comparable listings from a reference ad
  • Market analysis via facets (price distribution, top categories, regions)
  • robots.txt compliance by default
  • Built-in rate limiting

Screenshot

Installation

Local AI Agents

Add the following to your claude_desktop_config.json or other config files:

{
  "mcpServers": {
    "subito": {
      "command": "npx",
      "args": ["-y", "mcp-server-subito"]
    }
  }
}

With --ignore-robots-txt enabled (required for multi-page scans):

{
  "mcpServers": {
    "subito": {
      "command": "npx",
      "args": ["-y", "mcp-server-subito", "--ignore-robots-txt"]
    }
  }
}

Cursor

Go to Cursor Settings → Tools & Integrations → New MCP Server and use the same configuration as above.

Tools

search_listings

Search listings on subito.it with optional filters.

| Parameter | Type | Description | | --------------- | ------- | ------------------------------------------------------------ | | query | string | Search keywords (e.g. iphone, bicicletta) | | category | number | Category ID — use list_categories to browse | | region | number | Region ID — use list_regions to browse | | province | number | Province ID for more specific location filtering | | minPrice | number | Minimum price in euros | | maxPrice | number | Maximum price in euros | | sort | enum | relevance, date_desc, price_asc, price_desc | | startPage | number | Start page (default: 1) | | maxPages | number | Pages to scan, 1–50 (requires --ignore-robots-txt for > 1) | | sellerType | enum | private or professional | | includeFacets | boolean | Add price/category/region aggregations to the response |

get_listing_details

Retrieve full details of a single listing by URL.

| Parameter | Type | Description | | --------- | ------ | -------------------------- | | url | string | Full subito.it listing URL |

Returns title, description, price, location, images, advertiser info, and structured features.

compare_listings

Fetch 2–10 listings and return a normalized comparison table across price, location, seller type, brand, model, year, condition, and image count.

| Parameter | Type | Description | | --------- | -------- | ------------------------------ | | urls | string[] | 2 to 10 subito.it listing URLs |

find_comparable_listings

Given a reference listing URL, automatically derives a search query and returns the most structurally similar active listings with explicit matching signals.

| Parameter | Type | Description | | ------------ | ------ | ------------------------------------------------------ | | listingUrl | string | Reference listing URL | | limit | number | Max results to return (default: 10, max: 20) | | maxPages | number | Pages to scan (requires --ignore-robots-txt for > 1) |

list_categories

Returns the full list of subito.it categories with their IDs.

list_regions

Returns all Italian regions and provinces with their IDs for use in search filters.

Configuration

| Flag | Default | Description | | ------------------------ | ------- | ---------------------------------------------------------------------------------- | | --ignore-robots-txt | off | Disables robots.txt enforcement. Required to scan multiple pages per search. | | --allow-unknown-robots | off | If robots.txt is unreachable, proceed instead of blocking the request (fail-open). |

Development

# Install dependencies
npm install

# Build
npm run build

# Run locally
node build/index.js

# Watch mode
npm run dev

# Tests
npm test

Legal and Ethical Considerations

This tool is intended for personal, testing, and educational use only.

By using this server you agree to:

  • Respect subito.it's Terms of Service. Automated access may violate their ToS. You are solely responsible for your use.
  • Respect robots.txt. By default, this server enforces robots.txt directives. The --ignore-robots-txt flag bypasses this check — use it only if you have a legitimate reason and understand the implications.
  • Do not use for commercial scraping or bulk data harvesting. This server is not designed or intended for large-scale data collection.
  • Do not use to spam or harass advertisers beyond normal platform interactions.
  • Rate limit your requests. The server includes built-in rate limiting, but avoid running aggressive scans that could impact subito.it's infrastructure.
  • Do not redistribute scraped data in ways that violate subito.it's intellectual property rights.

The author assumes no liability for misuse of this tool.

License

AGPL v3 © Lorenzo Braghetto