olx-india-mcp
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., "@olx-india-mcp search for used iPhones in Mumbai under 30000"
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.
OLX India MCP Server
An MCP (Model Context Protocol) server designed to searchclassified product listings and retrieve detailed specifications, images, and seller profiles from OLX India (olx.in).
This server allows AI assistants (like Claude, Cursor, etc.) to fetch real-time listings for cars, properties, mobiles, electronics, jobs, and services directly from OLX India.
Features
Search Listings: Find classified ads on OLX India with options to filter by query keywords, common Indian cities (Delhi, Mumbai, Bangalore, Pune, etc.), min/max price, sorting, and pagination.
Detailed Retrieval: Extract full item specifications, seller info, posting date, specifications/parameters (e.g. brand, model, KM driven, fuel type), description, and image gallery.
Robust Scraping: Employs curl-based request patterns to bypass JA3 TLS handshake blocks and load full page state objects.
Related MCP server: marktplaats-mcp
Tools
1. search_listings
Search for classified listings on OLX India.
Input Arguments:
query(string, required): The product keywords to search for (e.g."iphone 15 pro","honda city").location(string, optional): Target city or state. Supports common terms:"delhi","mumbai","bangalore","hyderabad","chennai","kolkata","pune", etc.min_price(number, optional): Minimum price filter in INR.max_price(number, optional): Maximum price filter in INR.sort_by(string, optional): Sort sorting. Enum:price-asc,price-desc,newest,relevance.page(number, optional): Page number to retrieve (starts at 1).
2. get_listing_details
Retrieve comprehensive details for a specific listing using its URL or ID.
Input Arguments:
url_or_id(string, required): The full OLX listing URL or the numeric listing ID.
Configuration & Usage
1. Using with Claude Desktop
Add the server to your Claude Desktop configuration file.
Windows path:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS path:
~/Library/Application Support/Claude/claude_desktop_config.json
Add the following under the mcpServers section:
Option A: Running via npm (npx)
This is the recommended approach for quick execution.
{
"mcpServers": {
"olx-india-mcp": {
"command": "npx",
"args": [
"-y",
"olx-india-mcp"
]
}
}
}Option B: Running from local cloned path
Use this if you have cloned the source code locally.
{
"mcpServers": {
"olx-india-mcp": {
"command": "node",
"args": [
"C:/path/to/olx-india-mcp/dist/index.js"
]
}
}
}(Make sure to use forward slashes / in paths on Windows in your JSON file).
2. Using with Cursor
To configure with Cursor:
Open Cursor Settings -> Features -> MCP.
Click + Add New MCP Server.
Name it
olx-india-mcp.Set the Type to
command.Enter the Command:
npx -y olx-india-mcp(ornode C:/path/to/olx-india-mcp/dist/index.jsfor local built path).
Local Development
Prerequisites
Node.js (v18 or higher recommended)
curlinstalled on your system (native on Windows 10/11, macOS, and most Linux distros)
Setup & Build
Clone the repository.
Install dependencies:
npm installBuild the TypeScript source code:
npm run buildRun locally (using stdio):
npm start
License
This project is licensed under the MIT License - see the LICENSE file for details.
Available Tools
2 toolsget_listing_detailsA
Retrieve comprehensive details, description, full attributes, images, and seller profile for a specific OLX listing using its URL or Listing ID.
Inputs: url_or_id (required).
search_listingsB
Search for classified product listings on OLX India with optional location, pricing, sorting, and page parameters.
Inputs: query (required), page, sort_by, location, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools serve clearly distinct purposes: one searches for listings with filters, the other retrieves detailed information about a specific listing. There is no ambiguity about which tool handles which task.
Both tools follow a consistent noun-phrase pattern with descriptive names (search_listings, get_listing_details). The pattern is logical and predictable, though a more uniform verb_noun structure could make it even more consistent.
With only 2 tools, the server feels extremely thin for a classifieds platform. A typical OLX workflow would require at least a handful more tools (e.g., filtering by category, browsing subcategories, location listing). Two tools is borderline under-minimal for the apparent scope.
The server covers search and detail retrieval, but lacks common operations expected from a classifieds platform such as browsing by category, managing saved/favorite listings, or posting listings. While search+detail is the read path, there are notable gaps in category discovery and navigation.
Maintenance
Related MCP Connectors
Search and browse global classifieds across 80 markets. No auth required for read-only access.
Search ~1.5M used cars for sale across India by city, brand, model, price and year.
Craigslist listings for AI agents: search by keyword, city, state and category; cars, rentals.
Find the best deals on Amazon, Flipkart and more Indian e-commerce stores via AI.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables searching and retrieving details from OLX classifieds across multiple domains (Portugal, Poland, Bulgaria, Romania, Ukraine) using browser automation.268 npm29MIT
- AlicenseAqualityCmaintenanceEnables AI assistants to search and view advertisements on Marktplaats.nl with extensive filtering options.521MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for OLX marketplace. Enables AI assistants to search listings, get offer details, track prices over time, and compare offers across OLX Poland and other supported countries.68 npm4MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to search Kleinanzeigen listings by keyword, category, location, price and seller type, with extra server-side filtering for title matches and required or excluded terms. It also retrieves full ad details, downloadable photos for visual inspection, category attributes, and seller reputation information.3MIT