olx-india-mcp

olx-india-mcp

Enables AI assistants to search and retrieve detailed classified listings, including specifications, images, and seller info, from OLX India.

Category
Visit Server

README

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.

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.json
  • macOS 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:

  1. Open Cursor Settings -> Features -> MCP.
  2. Click + Add New MCP Server.
  3. Name it olx-india-mcp.
  4. Set the Type to command.
  5. Enter the Command: npx -y olx-india-mcp (or node C:/path/to/olx-india-mcp/dist/index.js for local built path).

Local Development

Prerequisites

  • Node.js (v18 or higher recommended)
  • curl installed on your system (native on Windows 10/11, macOS, and most Linux distros)

Setup & Build

  1. Clone the repository.
  2. Install dependencies:
    npm install
    
  3. Build the TypeScript source code:
    npm run build
    
  4. Run locally (using stdio):
    npm start
    

License

This project is licensed under the MIT License - see the LICENSE file for details.

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
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

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